Lines Matching refs:wday
2043 register int wday = rp->r_wday; in stringrule() local
2050 wday -= wdayoff; in stringrule()
2060 wday -= wdayoff; in stringrule()
2065 if (wday < 0) in stringrule()
2066 wday += DAYSPERWEEK; in stringrule()
2068 rp->r_month + 1, week, wday); in stringrule()
3021 register zic_t wday; in rpytime() local
3024 wday = EPOCH_WDAY; in rpytime()
3029 wday = (wday + dayoff) % LDAYSPERWEEK; in rpytime()
3031 wday -= ((-dayoff) % LDAYSPERWEEK); in rpytime()
3032 if (wday < 0) in rpytime()
3033 wday += LDAYSPERWEEK; in rpytime()
3035 while (wday != rp->r_wday) in rpytime()
3038 if (++wday >= LDAYSPERWEEK) in rpytime()
3039 wday = 0; in rpytime()
3043 if (--wday < 0) in rpytime()
3044 wday = LDAYSPERWEEK - 1; in rpytime()