Home
last modified time | relevance | path

Searched refs:days (Results 1 – 5 of 5) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dmktime.c92 set_tm_wday (long days, struct tm *tim_p) in set_tm_wday() argument
94 if ((tim_p->tm_wday = (days + 4) % 7) < 0) in set_tm_wday()
188 long days = 0; in mktime_utc() local
199 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 …]
Dtzcalc_limits.c17 int days, year_days, years; in __tzcalc_limits() local
38 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()
Dgmtime_r.c68 long days, rem; in gmtime_r() local
74 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()
Dtime.tex58 Number of days elapsed since last January 1, between 0 and 365 inclusive.
/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dmath.tex121 having been written before C99 was released. One of these days we'll get