Lines Matching refs:tm_mday
58 if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst)
61 tm->tm_mday = 2;
100 tm->tm_mday -= (23 - n) / 24;
105 tm->tm_mday += n / 24;
122 while (tm->tm_mday < -365)
125 tm->tm_mday += 365 + LEAP(tm);
127 while (tm->tm_mday > 365)
129 tm->tm_mday -= 365 + LEAP(tm);
132 while (tm->tm_mday < 1)
139 tm->tm_mday += DAYS(tm);
141 while (tm->tm_mday > (n = DAYS(tm)))
143 tm->tm_mday -= n;
160 if ((tm->tm_mday += w) > DAYS(tm))
161 tm->tm_mday -= 7;
164 tm->tm_yday = tm_data.sum[tm->tm_mon] + (tm->tm_mon > 1 && LEAP(tm)) + tm->tm_mday - 1;