Searched refs:DAYSPERWEEK (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 44 const wchar_t * wday[DAYSPERWEEK]; 45 const wchar_t * weekday[DAYSPERWEEK]; 155 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 161 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 308 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() 309 t->tm_wday) / DAYSPERWEEK, in _fmt() 320 DAYSPERWEEK : t->tm_wday, in _fmt() 367 bot = ((yday + 11 - wday) % DAYSPERWEEK) - 3; in _fmt() 371 top = bot - (len % DAYSPERWEEK); in _fmt() 373 top += DAYSPERWEEK; in _fmt() [all …]
|
/bionic/libc/tzcode/ |
D | strftime.c | 59 const char * wday[DAYSPERWEEK]; 60 const char * weekday[DAYSPERWEEK]; 206 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 212 t->tm_wday >= DAYSPERWEEK) ? in _fmt() 377 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt() 378 t->tm_wday) / DAYSPERWEEK, in _fmt() 389 DAYSPERWEEK : t->tm_wday, in _fmt() 437 DAYSPERWEEK) - 3; in _fmt() 443 (len % DAYSPERWEEK); in _fmt() 445 top += DAYSPERWEEK; in _fmt() [all …]
|
D | tzfile.h | 120 #define DAYSPERWEEK 7 macro
|
D | asctime.c | 90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
|
D | localtime.c | 817 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs() 897 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule() 973 dow += DAYSPERWEEK; in transtime() 982 d += DAYSPERWEEK; in transtime() 984 if (d + DAYSPERWEEK >= in transtime() 987 d += DAYSPERWEEK; in transtime() 1679 ((y - EPOCH_YEAR) % DAYSPERWEEK) * in timesub() 1680 (DAYSPERNYEAR % DAYSPERWEEK) + in timesub() 1684 tmp->tm_wday %= DAYSPERWEEK; in timesub() 1686 tmp->tm_wday += DAYSPERWEEK; in timesub()
|