Home
last modified time | relevance | path

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

/time/
A Dofftime.c31 __time64_t days, rem, y; in __offtime() local
34 days = t / SECS_PER_DAY; in __offtime()
40 --days; in __offtime()
45 ++days; in __offtime()
52 tp->tm_wday = (4 + days) % 7; in __offtime()
60 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in __offtime()
63 __time64_t yg = y + days / 365 - (days % 365 < 0); in __offtime()
66 days -= ((yg - y) * 365 in __offtime()
78 tp->tm_yday = days; in __offtime()
82 days -= ip[y]; in __offtime()
[all …]
A Dstrftime_l.c371 int days = (365 * years + intervening_leap_days in tm_diff() local
373 return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) in tm_diff()
1218 int days = iso_week_days (tp->tm_yday, tp->tm_wday); in libc_hidden_def() local
1220 if (days < 0) in libc_hidden_def()
1224 days = iso_week_days (tp->tm_yday + (365 + __isleap (year)), in libc_hidden_def()
1235 days = d; in libc_hidden_def()
1248 DO_NUMBER (2, days / 7 + 1); in libc_hidden_def()
A Dmktime.c222 long_int days = 365 * years + yday1 - yday0 + intervening_leap_days; in ydhms_diff() local
223 long_int hours = 24 * days + hour1 - hour0; in ydhms_diff()

Completed in 8 milliseconds