m 86 include/crm/common/iso8601.h int crm_time_get_timeofday(crm_time_t * dt, uint32_t * h, uint32_t * m, uint32_t * s); m 87 include/crm/common/iso8601.h int crm_time_get_timezone(crm_time_t * dt, uint32_t * h, uint32_t * m); m 88 include/crm/common/iso8601.h int crm_time_get_gregorian(crm_time_t * dt, uint32_t * y, uint32_t * m, uint32_t * d); m 202 lib/common/iso8601.c get_ordinal_days(uint32_t y, uint32_t m, uint32_t d) m 206 lib/common/iso8601.c for (lpc = 1; lpc < m; lpc++) { m 230 lib/common/iso8601.c crm_time_get_sec(int sec, uint * h, uint * m, uint * s) m 249 lib/common/iso8601.c *m = minutes; m 256 lib/common/iso8601.c crm_time_get_timeofday(crm_time_t * dt, uint * h, uint * m, uint * s) m 258 lib/common/iso8601.c return crm_time_get_sec(dt->seconds, h, m, s); m 262 lib/common/iso8601.c crm_time_get_timezone(crm_time_t * dt, uint * h, uint * m) m 266 lib/common/iso8601.c return crm_time_get_sec(dt->seconds, h, m, &s); m 312 lib/common/iso8601.c crm_time_get_gregorian(crm_time_t * dt, uint * y, uint * m, uint * d) m 337 lib/common/iso8601.c *m = months; m 430 lib/common/iso8601.c uint h = 0, m = 0, s = 0; m 434 lib/common/iso8601.c crm_time_get_sec(dt->seconds, &h, &m, &s); m 454 lib/common/iso8601.c if(m) { m 455 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u minute%s ", m, m>1?"s":""); m 500 lib/common/iso8601.c uint y, m, d; m 502 lib/common/iso8601.c if (crm_time_get_gregorian(dt, &y, &m, &d)) { m 503 lib/common/iso8601.c snprintf(date_s, 33, "%.4u-%.2u-%.2u", y, m, d); m 509 lib/common/iso8601.c uint h, m, s; m 516 lib/common/iso8601.c if (crm_time_get_timeofday(dt, &h, &m, &s)) { m 517 lib/common/iso8601.c snprintf(time_s, 33, "%.2u:%.2u:%.2u", h, m, s); m 521 lib/common/iso8601.c crm_time_get_sec(dt->offset, &h, &m, &s); m 530 lib/common/iso8601.c snprintf(offset_s, 24, " %c%.2u:%.2u", dt->offset < 0 ? '-' : '+', h, m); m 621 lib/common/iso8601.c uint h, m, s; m 645 lib/common/iso8601.c crm_time_get_sec(dt->offset, &h, &m, &s); m 646 lib/common/iso8601.c crm_trace("Got tz: %c%2.d:%.2d", dt->offset < 0 ? '-' : '+', h, m); m 1226 lib/common/iso8601.c uint32_t y, m, d, dmax; m 1228 lib/common/iso8601.c crm_time_get_gregorian(a_time, &y, &m, &d); m 1229 lib/common/iso8601.c crm_trace("Adding %d months to %.4d-%.2d-%.2d", extra, y, m, d); m 1233 lib/common/iso8601.c m++; m 1234 lib/common/iso8601.c if (m == 13) { m 1235 lib/common/iso8601.c m = 1; m 1241 lib/common/iso8601.c m--; m 1242 lib/common/iso8601.c if (m == 0) { m 1243 lib/common/iso8601.c m = 12; m 1249 lib/common/iso8601.c dmax = crm_time_days_in_month(m, y); m 1255 lib/common/iso8601.c crm_trace("Calculated %.4d-%.2d-%.2d", y, m, d); m 1258 lib/common/iso8601.c a_time->days = get_ordinal_days(y, m, d); m 1260 lib/common/iso8601.c crm_time_get_gregorian(a_time, &y, &m, &d); m 1261 lib/common/iso8601.c crm_trace("Got %.4d-%.2d-%.2d", y, m, d); m 554 lib/pengine/rules.c uint32_t h, m, s, y, d, w; m 558 lib/pengine/rules.c crm_time_get_timeofday(now, &h, &m, &s); m 561 lib/pengine/rules.c cron_check("minutes", m); m 564 lib/pengine/rules.c crm_time_get_gregorian(now, &y, &m, &d); m 567 lib/pengine/rules.c cron_check("months", m); m 958 lib/services/services.c #define lsb_meta_helper_free_value(m) \ m 960 lib/services/services.c if ((m) != NULL) { \ m 961 lib/services/services.c xmlFree(m); \ m 962 lib/services/services.c (m) = NULL; \