Searched refs:DAYSPERWEEK (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/tzcode/ |
D | strftime.c | 51 const char * wday[DAYSPERWEEK]; 52 const char * weekday[DAYSPERWEEK]; 214 t->tm_wday >= DAYSPERWEEK) ? 220 t->tm_wday >= DAYSPERWEEK) ? 424 pt = _conv((t->tm_yday + DAYSPERWEEK - 425 t->tm_wday) / DAYSPERWEEK, 438 DAYSPERWEEK : t->tm_wday, "%d", pt, ptlim); 485 DAYSPERWEEK) - 3; 491 (len % DAYSPERWEEK); 493 top += DAYSPERWEEK; [all …]
|
D | tzfile.h | 131 #define DAYSPERWEEK 7 macro
|
D | asctime.c | 94 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK)
|
D | localtime.c | 797 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); 881 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); 964 dow += DAYSPERWEEK; 973 d += DAYSPERWEEK; 975 if (d + DAYSPERWEEK >= 978 d += DAYSPERWEEK; 1651 ((y - EPOCH_YEAR) % DAYSPERWEEK) * 1652 (DAYSPERNYEAR % DAYSPERWEEK) + 1656 tmp->tm_wday %= DAYSPERWEEK; 1658 tmp->tm_wday += DAYSPERWEEK;
|