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 341 lib/common/iso8601.c if (utc->days > 0) { days 342 lib/common/iso8601.c in_seconds += DAY_SECONDS * (long long) (utc->days - 1); days 362 lib/common/iso8601.c int days = dt->days; days 365 lib/common/iso8601.c for (months = 1; months <= 12 && days > 0; months++) { days 368 lib/common/iso8601.c if (mdays >= days) { days 371 lib/common/iso8601.c days -= mdays; days 385 lib/common/iso8601.c *d = days; days 386 lib/common/iso8601.c crm_trace("%.4d-%.3d -> %.4d-%.2d-%.2d", dt->years, dt->days, dt->years, months, days); days 394 lib/common/iso8601.c *d = dt->days; days 410 lib/common/iso8601.c CRM_CHECK(dt->days > 0, return FALSE); days 413 lib/common/iso8601.c h = dt->days + jan1 - 1; days 417 lib/common/iso8601.c if (dt->days <= (8 - jan1) && jan1 > 4) { days 431 lib/common/iso8601.c if ((dmax - dt->days) < correction) { days 432 lib/common/iso8601.c crm_trace("year++, jan1=%d, i=%d vs. %d", jan1, dmax - dt->days, correction); days 440 lib/common/iso8601.c int j = dt->days + (7 - *d) + (jan1 - 1); days 449 lib/common/iso8601.c crm_trace("Converted %.4d-%.3d to %.4d-W%.2d-%d", dt->years, dt->days, *y, *w, *d); days 468 lib/common/iso8601.c if (dt->days) { days 470 lib/common/iso8601.c dt->days, pcmk__plural_s(dt->days)); days 794 lib/common/iso8601.c dt->days = 1; days 818 lib/common/iso8601.c dt->days = get_ordinal_days(year, month, day); days 820 lib/common/iso8601.c year, dt->days, date_str); days 836 lib/common/iso8601.c dt->days = day; days 1047 lib/common/iso8601.c diff->days += an_int * 7; days 1050 lib/common/iso8601.c diff->days += an_int; days 1203 lib/common/iso8601.c target->days = source->days; days 1223 lib/common/iso8601.c target->days = 0; days 1235 lib/common/iso8601.c target->days = 1 + source->tm_yday; days 1294 lib/common/iso8601.c crm_time_add_days(answer, utc->days); days 1328 lib/common/iso8601.c crm_time_add_days(answer, -utc->days); days 1356 lib/common/iso8601.c crm_time_add_days(answer, -utc->days); days 1374 lib/common/iso8601.c && (dt->days > 0) && (dt->days <= year_days(dt->years)) days 1406 lib/common/iso8601.c do_cmp_field(t1, t2, days); days 1424 lib/common/iso8601.c int days = 0; days 1429 lib/common/iso8601.c days = a_time->seconds / DAY_SECONDS; days 1435 lib/common/iso8601.c --days; days 1438 lib/common/iso8601.c crm_time_add_days(a_time, days); days 1447 lib/common/iso8601.c crm_trace("Adding %d days to %.4d-%.3d", extra, a_time->years, a_time->days); days 1449 lib/common/iso8601.c a_time->days += extra; days 1450 lib/common/iso8601.c while (a_time->days > ydays) { days 1452 lib/common/iso8601.c a_time->days -= ydays; days 1460 lib/common/iso8601.c while (a_time->days < lower_bound) { days 1462 lib/common/iso8601.c a_time->days += crm_time_leapyear(a_time->years) ? 366 : 365; days 1502 lib/common/iso8601.c a_time->days = get_ordinal_days(y, m, d); days 1537 lib/common/iso8601.c .tm_mday = source->days, days 1571 lib/common/iso8601.c .days = dt->days, days 1588 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))