days 35 include/crm/common/iso8601_internal.h int days; days 73 lib/common/iso8601.c int days; // Ordinal day of year (date/time) or number of days (duration) days 93 lib/common/iso8601.c utc->days = dt->days; days 145 lib/common/iso8601.c return (t != NULL) && (t->years || t->months || t->days || t->seconds days 363 lib/common/iso8601.c if (utc->days > 0) { days 364 lib/common/iso8601.c in_seconds += DAY_SECONDS * (long long) (utc->days - 1); days 384 lib/common/iso8601.c int days = dt->days; days 387 lib/common/iso8601.c for (months = 1; months <= 12 && days > 0; months++) { days 390 lib/common/iso8601.c if (mdays >= days) { days 393 lib/common/iso8601.c days -= mdays; days 407 lib/common/iso8601.c *d = days; days 408 lib/common/iso8601.c crm_trace("%.4d-%.3d -> %.4d-%.2d-%.2d", dt->years, dt->days, dt->years, months, days); days 416 lib/common/iso8601.c *d = dt->days; days 432 lib/common/iso8601.c CRM_CHECK(dt->days > 0, return FALSE); days 435 lib/common/iso8601.c h = dt->days + jan1 - 1; days 439 lib/common/iso8601.c if (dt->days <= (8 - jan1) && jan1 > 4) { days 453 lib/common/iso8601.c if ((dmax - dt->days) < correction) { days 454 lib/common/iso8601.c crm_trace("year++, jan1=%d, i=%d vs. %d", jan1, dmax - dt->days, correction); days 462 lib/common/iso8601.c int j = dt->days + (7 - *d) + (jan1 - 1); days 472 lib/common/iso8601.c dt->years, dt->days, *y, *w, *d); days 521 lib/common/iso8601.c if (dt->days) { days 523 lib/common/iso8601.c dt->days, pcmk__plural_s(dt->days)); days 925 lib/common/iso8601.c dt->days = 1; days 958 lib/common/iso8601.c dt->days = get_ordinal_days(year, month, day); days 960 lib/common/iso8601.c "from date string '%s'", year, dt->days, date_str); days 982 lib/common/iso8601.c dt->days = day; days 1193 lib/common/iso8601.c result = diff->days + an_int * 7LL; days 1201 lib/common/iso8601.c diff->days = (int) result; days 1206 lib/common/iso8601.c result = diff->days + (long long) an_int; days 1214 lib/common/iso8601.c diff->days = (int) result; days 1391 lib/common/iso8601.c target->days = source->days; days 1411 lib/common/iso8601.c target->days = 0; days 1424 lib/common/iso8601.c target->days = 1 + source->tm_yday; days 1517 lib/common/iso8601.c crm_time_add_days(answer, utc->days); days 1672 lib/common/iso8601.c crm_time_add_days(answer, -utc->days); days 1700 lib/common/iso8601.c crm_time_add_days(answer, -utc->days); days 1718 lib/common/iso8601.c && (dt->days > 0) && (dt->days <= year_days(dt->years)) days 1750 lib/common/iso8601.c do_cmp_field(t1, t2, days); days 1768 lib/common/iso8601.c int days = extra / DAY_SECONDS; days 1773 lib/common/iso8601.c extra, days, pcmk__plural_s(days), a_time->seconds); days 1779 lib/common/iso8601.c ++days; days 1783 lib/common/iso8601.c --days; days 1787 lib/common/iso8601.c crm_time_add_days(a_time, days); days 1803 lib/common/iso8601.c crm_trace("Adding %d days to %.4d-%.3d", extra, a_time->years, a_time->days); days 1806 lib/common/iso8601.c while ((a_time->days + (long long) extra) > ydays(a_time)) { days 1808 lib/common/iso8601.c a_time->days = ydays(a_time); // Clip to latest we can handle days 1817 lib/common/iso8601.c while ((a_time->days + (long long) extra) < min_days) { days 1819 lib/common/iso8601.c a_time->days = 1; // Clip to earliest we can handle (no BCE) days 1826 lib/common/iso8601.c a_time->days += extra; days 1866 lib/common/iso8601.c a_time->days = get_ordinal_days(y, m, d); days 1909 lib/common/iso8601.c .tm_mday = source->days, days 1944 lib/common/iso8601.c .days = dt->days, days 1961 lib/common/iso8601.c .days = hr_dt->days, days 20 lib/common/tests/iso8601/crm_time_add_days_test.c assert_add_days(const char *orig_date_time, int days, days 29 lib/common/tests/iso8601/crm_time_add_days_test.c crm_time_add_days(orig, 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))