days 33 include/crm/common/iso8601_internal.h int days; days 53 lib/common/iso8601.c int days; // Ordinal day of year (date/time) or number of days (duration) days 73 lib/common/iso8601.c utc->days = dt->days; days 135 lib/common/iso8601.c return (t != NULL) && (t->years || t->months || t->days || t->seconds days 339 lib/common/iso8601.c if (utc->days > 0) { days 340 lib/common/iso8601.c in_seconds += DAY_SECONDS * (long long) (utc->days - 1); days 359 lib/common/iso8601.c int days = dt->days; days 362 lib/common/iso8601.c for (months = 1; months <= 12 && days > 0; months++) { days 365 lib/common/iso8601.c if (mdays >= days) { days 368 lib/common/iso8601.c days -= mdays; days 382 lib/common/iso8601.c *d = days; days 383 lib/common/iso8601.c crm_trace("%.4d-%.3d -> %.4d-%.2d-%.2d", dt->years, dt->days, dt->years, months, days); days 391 lib/common/iso8601.c *d = dt->days; days 406 lib/common/iso8601.c CRM_CHECK(dt->days > 0, return FALSE); days 409 lib/common/iso8601.c h = dt->days + jan1 - 1; days 413 lib/common/iso8601.c if (dt->days <= (8 - jan1) && jan1 > 4) { days 427 lib/common/iso8601.c if ((dmax - dt->days) < correction) { days 428 lib/common/iso8601.c crm_trace("year++, jan1=%d, i=%d vs. %d", jan1, dmax - dt->days, correction); days 436 lib/common/iso8601.c int j = dt->days + (7 - *d) + (jan1 - 1); days 445 lib/common/iso8601.c crm_trace("Converted %.4d-%.3d to %.4d-W%.2d-%d", dt->years, dt->days, *y, *w, *d); days 464 lib/common/iso8601.c if (dt->days) { days 466 lib/common/iso8601.c dt->days, pcmk__plural_s(dt->days)); days 790 lib/common/iso8601.c dt->days = 1; days 814 lib/common/iso8601.c dt->days = get_ordinal_days(year, month, day); days 816 lib/common/iso8601.c year, dt->days, date_str); days 832 lib/common/iso8601.c dt->days = day; days 1043 lib/common/iso8601.c diff->days += an_int * 7; days 1046 lib/common/iso8601.c diff->days += an_int; days 1199 lib/common/iso8601.c target->days = source->days; days 1219 lib/common/iso8601.c target->days = 0; days 1231 lib/common/iso8601.c target->days = 1 + source->tm_yday; days 1290 lib/common/iso8601.c crm_time_add_days(answer, utc->days); days 1324 lib/common/iso8601.c crm_time_add_days(answer, -utc->days); days 1352 lib/common/iso8601.c crm_time_add_days(answer, -utc->days); days 1369 lib/common/iso8601.c && (dt->days > 0) && (dt->days <= year_days(dt->years)) days 1401 lib/common/iso8601.c do_cmp_field(t1, t2, days); days 1419 lib/common/iso8601.c int days = 0; days 1424 lib/common/iso8601.c days = a_time->seconds / DAY_SECONDS; days 1430 lib/common/iso8601.c --days; days 1433 lib/common/iso8601.c crm_time_add_days(a_time, days); days 1442 lib/common/iso8601.c crm_trace("Adding %d days to %.4d-%.3d", extra, a_time->years, a_time->days); days 1444 lib/common/iso8601.c a_time->days += extra; days 1445 lib/common/iso8601.c while (a_time->days > ydays) { days 1447 lib/common/iso8601.c a_time->days -= ydays; days 1455 lib/common/iso8601.c while (a_time->days < lower_bound) { days 1457 lib/common/iso8601.c a_time->days += crm_time_leapyear(a_time->years) ? 366 : 365; days 1497 lib/common/iso8601.c a_time->days = get_ordinal_days(y, m, d); days 1532 lib/common/iso8601.c .tm_mday = source->days, days 1566 lib/common/iso8601.c .days = dt->days, days 1583 lib/common/iso8601.c .days = hr_dt->days, days 222 maint/gnulib/lib/mktime.c long_int days = 365 * years + yday1 - yday0 + intervening_leap_days; days 223 maint/gnulib/lib/mktime.c long_int hours = 24 * days + hour1 - hour0; days 421 maint/gnulib/lib/nl_langinfo.c static char const days[][sizeof "Wednesday"] = { days 427 maint/gnulib/lib/nl_langinfo.c return (char *) days[item - DAY_1]; days 352 maint/gnulib/lib/nstrftime.c int days = (365 * years + intervening_leap_days days 354 maint/gnulib/lib/nstrftime.c return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) days 1265 maint/gnulib/lib/nstrftime.c int days = iso_week_days (tp->tm_yday, tp->tm_wday); days 1267 maint/gnulib/lib/nstrftime.c if (days < 0) days 1271 maint/gnulib/lib/nstrftime.c days = iso_week_days (tp->tm_yday + (365 + __isleap (year - 1)), days 1282 maint/gnulib/lib/nstrftime.c days = d; days 1305 maint/gnulib/lib/nstrftime.c DO_NUMBER (2, days / 7 + 1); days 1337 maint/gnulib/lib/parse-datetime.y int days = (365 * years + intervening_leap_days days 1339 maint/gnulib/lib/parse-datetime.y return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) days 88 maint/gnulib/tests/test-parse-datetime.c long int days = (365 * years + intervening_leap_days days 90 maint/gnulib/tests/test-parse-datetime.c return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour))