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()
31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num()
38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num()
54 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1()
55 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1()
58 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1()
59 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1()
139 val = tm->tm_wday ? tm->tm_wday : 7; in __strftime_fmt_1()
143 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1()
146 val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in __strftime_fmt_1()
152 val = tm->tm_wday; in __strftime_fmt_1()