a_time 619 lib/common/iso8601.c crm_time_parse(const char *time_str, crm_time_t * a_time) a_time 623 lib/common/iso8601.c crm_time_t *dt = a_time; a_time 626 lib/common/iso8601.c if (a_time == NULL) { a_time 1177 lib/common/iso8601.c crm_time_add_seconds(crm_time_t * a_time, int extra) a_time 1182 lib/common/iso8601.c crm_trace("Adding %d seconds to %d (max=%d)", extra, a_time->seconds, seconds); a_time 1184 lib/common/iso8601.c a_time->seconds += extra; a_time 1185 lib/common/iso8601.c while (a_time->seconds >= seconds) { a_time 1186 lib/common/iso8601.c a_time->seconds -= seconds; a_time 1190 lib/common/iso8601.c while (a_time->seconds < 0) { a_time 1191 lib/common/iso8601.c a_time->seconds += seconds; a_time 1194 lib/common/iso8601.c crm_time_add_days(a_time, days); a_time 1198 lib/common/iso8601.c crm_time_add_days(crm_time_t * a_time, int extra) a_time 1201 lib/common/iso8601.c int ydays = crm_time_leapyear(a_time->years) ? 366 : 365; a_time 1203 lib/common/iso8601.c crm_trace("Adding %d days to %.4d-%.3d", extra, a_time->years, a_time->days); a_time 1205 lib/common/iso8601.c a_time->days += extra; a_time 1206 lib/common/iso8601.c while (a_time->days > ydays) { a_time 1207 lib/common/iso8601.c a_time->years++; a_time 1208 lib/common/iso8601.c a_time->days -= ydays; a_time 1209 lib/common/iso8601.c ydays = crm_time_leapyear(a_time->years) ? 366 : 365; a_time 1212 lib/common/iso8601.c if(a_time->duration) { a_time 1216 lib/common/iso8601.c while (a_time->days < lower_bound) { a_time 1217 lib/common/iso8601.c a_time->years--; a_time 1218 lib/common/iso8601.c a_time->days += crm_time_leapyear(a_time->years) ? 366 : 365; a_time 1223 lib/common/iso8601.c crm_time_add_months(crm_time_t * a_time, int extra) a_time 1228 lib/common/iso8601.c crm_time_get_gregorian(a_time, &y, &m, &d); a_time 1257 lib/common/iso8601.c a_time->years = y; a_time 1258 lib/common/iso8601.c a_time->days = get_ordinal_days(y, m, d); a_time 1260 lib/common/iso8601.c crm_time_get_gregorian(a_time, &y, &m, &d); a_time 1265 lib/common/iso8601.c crm_time_add_minutes(crm_time_t * a_time, int extra) a_time 1267 lib/common/iso8601.c crm_time_add_seconds(a_time, extra * 60); a_time 1271 lib/common/iso8601.c crm_time_add_hours(crm_time_t * a_time, int extra) a_time 1273 lib/common/iso8601.c crm_time_add_seconds(a_time, extra * 60 * 60); a_time 1277 lib/common/iso8601.c crm_time_add_weeks(crm_time_t * a_time, int extra) a_time 1279 lib/common/iso8601.c crm_time_add_days(a_time, extra * 7); a_time 1283 lib/common/iso8601.c crm_time_add_years(crm_time_t * a_time, int extra) a_time 1285 lib/common/iso8601.c a_time->years += extra; a_time 2244 tools/crm_mon.c time_t a_time = time(NULL); a_time 2245 tools/crm_mon.c char *since_epoch = ctime(&a_time); a_time 2247 tools/crm_mon.c if ((a_time == (time_t) -1) || (since_epoch == NULL)) {