Home
last modified time | relevance | path

Searched refs:DAYSPERWEEK (Results 1 – 19 of 19) sorted by relevance

/third_party/tzdata/
Dstrftime.c49 const char * wday[DAYSPERWEEK];
50 const char * weekday[DAYSPERWEEK];
176 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
182 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
353 pt = _conv((t->tm_yday + DAYSPERWEEK - in _fmt()
354 t->tm_wday) / DAYSPERWEEK, in _fmt()
365 DAYSPERWEEK : t->tm_wday, in _fmt()
413 DAYSPERWEEK) - 3; in _fmt()
419 (len % DAYSPERWEEK); in _fmt()
421 top += DAYSPERWEEK; in _fmt()
[all …]
Dasctime.c88 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
Dlocaltime.c872 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs()
952 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule()
1028 dow += DAYSPERWEEK; in transtime()
1037 d += DAYSPERWEEK; in transtime()
1039 if (d + DAYSPERWEEK >= in transtime()
1042 d += DAYSPERWEEK; in transtime()
1725 ((y - EPOCH_YEAR) % DAYSPERWEEK) * in timesub()
1726 (DAYSPERNYEAR % DAYSPERWEEK) + in timesub()
1730 tmp->tm_wday %= DAYSPERWEEK; in timesub()
1732 tmp->tm_wday += DAYSPERWEEK; in timesub()
Dzic.c2372 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset()
2410 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule()
2415 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule()
2420 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule()
2425 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule()
2429 wday += DAYSPERWEEK; in stringrule()
3315 #define LDAYSPERWEEK ((zic_t) DAYSPERWEEK) in rpytime()
Dprivate.h717 #define DAYSPERWEEK 7 macro
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
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/
Dtzdst.h46 #define DAYSPERWEEK 7 macro
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dtzfile.h120 #define DAYSPERWEEK 7 macro
Dasctime.c90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
Dlocaltime.c725 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()
1524 tmp->tm_wday += DAYSPERWEEK; in timesub()
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()
/third_party/icu/icu4c/source/tools/tzcode/
Dtzfile.h120 #define DAYSPERWEEK 7 macro
Dasctime.c90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
Dlocaltime.c725 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()
1524 tmp->tm_wday += DAYSPERWEEK; in timesub()
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()
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/
Dtzfile.h120 #define DAYSPERWEEK 7 macro
Dasctime.c90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
Dlocaltime.c725 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()
1524 tmp->tm_wday += DAYSPERWEEK; in timesub()
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()