Lines Matching refs:tm_wday
21 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num()
24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num()
32 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num()
40 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num()
56 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1()
57 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1()
60 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1()
61 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1()
141 val = tm->tm_wday ? tm->tm_wday : 7; in __strftime_fmt_1()
145 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1()
148 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
154 val = tm->tm_wday; in __strftime_fmt_1()