Searched refs:days (Results 1 – 5 of 5) sorted by relevance
92 set_tm_wday (long days, struct tm *tim_p) in set_tm_wday() argument94 if ((tim_p->tm_wday = (days + 4) % 7) < 0) in set_tm_wday()188 long days = 0; in mktime_utc() local199 days += tim_p->tm_mday - 1; in mktime_utc()200 days += _DAYS_BEFORE_MONTH[tim_p->tm_mon]; in mktime_utc()202 days++; in mktime_utc()205 tim_p->tm_yday = days; in mktime_utc()214 days += _DAYS_IN_YEAR (year); in mktime_utc()219 days -= _DAYS_IN_YEAR (year); in mktime_utc()220 days -= _DAYS_IN_YEAR (year); in mktime_utc()[all …]
17 int days, year_days, years; in __tzcalc_limits() local38 days = year_days + tz->__tzrule[i].d + in __tzcalc_limits()41 --days; in __tzcalc_limits()44 days = year_days + tz->__tzrule[i].d; in __tzcalc_limits()51 days = year_days; in __tzcalc_limits()54 days += ip[j-1]; in __tzcalc_limits()56 m_wday = (EPOCH_WDAY + days) % DAYSPERWEEK; in __tzcalc_limits()66 days += m_day; in __tzcalc_limits()70 tz->__tzrule[i].change = (time_t) days * SECSPERDAY + in __tzcalc_limits()
68 long days, rem; in gmtime_r() local74 days = lcltime / SECSPERDAY + EPOCH_ADJUSTMENT_DAYS; in gmtime_r()79 --days; in gmtime_r()89 if ((weekday = ((ADJUSTED_EPOCH_WDAY + days) % DAYSPERWEEK)) < 0) in gmtime_r()96 era = (days >= 0 ? days : days - (DAYS_PER_ERA - 1)) / DAYS_PER_ERA; in gmtime_r()97 eraday = days - era * DAYS_PER_ERA; /* [0, 146096] */ in gmtime_r()
58 Number of days elapsed since last January 1, between 0 and 365 inclusive.
121 having been written before C99 was released. One of these days we'll get