Lines Matching refs:tm_wday
21 int val = (tm->tm_yday + 7U - (tm->tm_wday + 6U) % 7) / 7;
24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2)
31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7;
38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7;
55 if (tm->tm_wday > 6U)
57 item = ABDAY_1 + tm->tm_wday;
60 if (tm->tm_wday > 6U)
62 item = DAY_1 + tm->tm_wday;
151 val = tm->tm_wday ? tm->tm_wday : 7;
155 val = (tm->tm_yday + 7U - tm->tm_wday) / 7;
158 val = (tm->tm_yday + 7U - (tm->tm_wday + 6U) % 7) / 7;
164 val = tm->tm_wday;