Home
last modified time | relevance | path

Searched refs:DAYSPERWEEK (Results 1 - 15 of 15) sorted by relevance

/third_party/tzdata/
H A Dstrftime.c49 const char * wday[DAYSPERWEEK];
50 const char * weekday[DAYSPERWEEK];
178 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
184 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
357 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt()
358 t->tm_wday) / DAYSPERWEEK, in _fmt()
369 DAYSPERWEEK : t->tm_wday, in _fmt()
417 DAYSPERWEEK) - 3; in _fmt()
423 (len % DAYSPERWEEK); in _fmt()
425 top += DAYSPERWEEK; in _fmt()
[all...]
H A Dasctime.c82 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
H A Dlocaltime.c884 ** 'HOURSPERDAY * DAYSPERWEEK - 1' allows quasi-POSIX rules like in getsecs()
889 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs()
970 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule()
1045 dow += DAYSPERWEEK; in transtime()
1054 d += DAYSPERWEEK; in transtime()
1056 if (d + DAYSPERWEEK >= in transtime()
1059 d += DAYSPERWEEK; in transtime()
1797 + ((tmp->tm_year % DAYSPERWEEK) in timesub()
1798 * (DAYSPERNYEAR % DAYSPERWEEK)) in timesub()
1802 tmp->tm_wday %= DAYSPERWEEK; in timesub()
[all...]
H A Dzic.c2889 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset()
2927 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule()
2932 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule()
2937 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule()
2942 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule()
2946 wday += DAYSPERWEEK; in stringrule()
3849 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime()
3850 % DAYSPERWEEK); in rpytime()
3854 if (++wday >= DAYSPERWEEK) in rpytime()
[all...]
H A Dprivate.h961 DAYSPERWEEK = 7, enumerator
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dtzdst.c353 firstWeekDay = DAYSPERWEEK - (days - (DAYSPERWEEK - FIRST_DAY)) % DAYSPERWEEK; in DstGetDayOfMonth()
356 firstWeekDay = 1 + (days - FIRST_DAY) % DAYSPERWEEK; in DstGetDayOfMonth()
362 firstMdayOfTargetWday = 1 + (DAYSPERWEEK + wday - firstWeekDay) % DAYSPERWEEK; in DstGetDayOfMonth()
367 targetMdayOfTargetWday = firstMdayOfTargetWday + (mweek - 1) * DAYSPERWEEK; in DstGetDayOfMonth()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dtzdst.h46 #define DAYSPERWEEK 7 macro
/third_party/icu/icu4c/source/tools/tzcode/
H A Dtzfile.h120 #define DAYSPERWEEK 7 macro
H A Dasctime.c90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
H A Dlocaltime.c722 ** `HOURSPERDAY * DAYSPERWEEK - 1' allows quasi-Posix rules like in getsecs()
727 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs()
807 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule()
883 dow += DAYSPERWEEK; in transtime()
892 d += DAYSPERWEEK; in transtime()
894 if (d + DAYSPERWEEK >= in transtime()
897 d += DAYSPERWEEK; in transtime()
1519 ((y - EPOCH_YEAR) % DAYSPERWEEK) * in timesub()
1520 (DAYSPERNYEAR % DAYSPERWEEK) + in timesub()
1524 tmp->tm_wday %= DAYSPERWEEK; in timesub()
[all...]
H A Dzic.c2008 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset()
2048 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule()
2053 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule()
2058 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule()
2063 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule()
2067 wday += DAYSPERWEEK; in stringrule()
3024 #define LDAYSPERWEEK ((zic_t) DAYSPERWEEK) in rpytime()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dtzfile.h120 #define DAYSPERWEEK 7 macro
H A Dasctime.c90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
H A Dlocaltime.c720 ** `HOURSPERDAY * DAYSPERWEEK - 1' allows quasi-Posix rules like in getsecs()
725 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs()
805 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule()
881 dow += DAYSPERWEEK; in transtime()
890 d += DAYSPERWEEK; in transtime()
892 if (d + DAYSPERWEEK >= in transtime()
895 d += DAYSPERWEEK; in transtime()
1517 ((y - EPOCH_YEAR) % DAYSPERWEEK) * in timesub()
1518 (DAYSPERNYEAR % DAYSPERWEEK) + in timesub()
1522 tmp->tm_wday %= DAYSPERWEEK; in timesub()
[all...]
H A Dzic.c2007 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset()
2047 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule()
2052 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule()
2057 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule()
2062 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule()
2066 wday += DAYSPERWEEK; in stringrule()
3023 #define LDAYSPERWEEK ((zic_t) DAYSPERWEEK) in rpytime()

Completed in 25 milliseconds