Searched refs:DAYSPERWEEK (Results 1 – 5 of 5) sorted by relevance
17 #define DAYSPERWEEK 7 macro104 if ((res->tm_wday = ((EPOCH_WDAY + days) % DAYSPERWEEK)) < 0)105 res->tm_wday += DAYSPERWEEK;
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()1524 tmp->tm_wday += DAYSPERWEEK; in timesub()
120 #define DAYSPERWEEK 7 macro
90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
2007 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()