Home
last modified time | relevance | path

Searched refs:tm_mday (Results 1 – 25 of 36) sorted by relevance

12

/glibc-2.36/time/
Dgetdate.c65 tm.tm_mday = 1; in first_wday()
191 tp->tm_year = tp->tm_mon = tp->tm_mday = tp->tm_wday = INT_MIN; in __getdate_r()
227 && tp->tm_mon == INT_MIN && tp->tm_mday == INT_MIN) in __getdate_r()
231 tp->tm_mday = tm.tm_mday + (tp->tm_wday - tm.tm_wday + 7) % 7; in __getdate_r()
239 if (tp->tm_mon >= 0 && tp->tm_mon <= 11 && tp->tm_mday == INT_MIN) in __getdate_r()
243 tp->tm_mday = first_wday (tp->tm_year, tp->tm_mon, tp->tm_wday); in __getdate_r()
269 && tp->tm_mday == INT_MIN && tp->tm_wday == INT_MIN) in __getdate_r()
272 tp->tm_mday = tm.tm_mday + ((tp->tm_hour - tm.tm_hour) < 0 ? 1 : 0); in __getdate_r()
286 tp->tm_mday)) in __getdate_r()
Dtst-mktime3.c9 { .tm_sec = -1, .tm_mday = 1, .tm_year = 104 },
10 { .tm_sec = 65, .tm_min = 59, .tm_hour = 23, .tm_mday = 31,
15 { .tm_sec = 59, .tm_min = 59, .tm_hour = 23, .tm_mday = 31,
17 { .tm_sec = 5, .tm_mday = 1, .tm_year = 102, .tm_wday = 2 }
42 CHECK (tm_mday) in do_test()
Dtst-gmtime.c33 TEST_COMPARE (tmg->tm_mday, 1); in do_test()
49 TEST_COMPARE (tmg->tm_mday, 1); in do_test()
64 TEST_COMPARE (tmg->tm_mday, 19); in do_test()
80 TEST_COMPARE (tmg->tm_mday, 19); in do_test()
97 TEST_COMPARE (tmg->tm_mday, 19); in do_test()
113 TEST_COMPARE (tmg->tm_mday, 19); in do_test()
Dtst-mktime2.c66 tm.tm_mday = 5; in spring_forward_gap()
105 tm.tm_mday = 0; in irix_6_4_bug()
112 TEST_COMPARE (tm.tm_mday, 31); in irix_6_4_bug()
120 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; in bigtime_test()
128 TEST_COMPARE (lt->tm_mday, tm.tm_mday); in bigtime_test()
Dtst-getdate.c128 TEST_COMPARE (tests[i].tm.tm_mday, tm->tm_mday); in do_test()
140 TEST_COMPARE (tests[i].tm.tm_mday, tms.tm_mday); in do_test()
Dtst-timegm.c32 .tm_mday = 1, in do_test_func()
49 .tm_mday = 19, in do_test_func()
69 .tm_mday = 19, in do_test_func()
Dtst-mktime4.c27 .tm_mday = 1,
39 .tm_mday = 19,
49 .tm_mday = 7,
Dbug-mktime4.c12 && t->tm_hour == u->tm_hour && t->tm_mday == u->tm_mday in equal_tm()
39 struct tm tm0 = { .tm_year = INT_MIN, .tm_mday = 1, .tm_wday = -1 }; in do_test()
Dtst-strptime.c184 tm.tm_wday, tm.tm_yday, tm.tm_mon, tm.tm_mday); in do_test()
204 if (tm.tm_mday != day_tests[i].mday) in do_test()
207 day_tests[i].input, tm.tm_mday, day_tests[i].mday); in do_test()
Dstrptime_l.c223 + tm->tm_mday - 1); in day_of_the_week()
232 + (tm->tm_mday - 1)); in day_of_the_year()
522 tm->tm_mday = val; in __strptime_internal()
1071 tm->tm_mday = val; in __strptime_internal()
1196 tm->tm_mday = in __strptime_internal()
1213 int save_mday = tm->tm_mday; in __strptime_internal()
1217 tm->tm_mday = 1; in __strptime_internal()
1221 tm->tm_mday = save_mday; in __strptime_internal()
1239 tm->tm_mday = in __strptime_internal()
Dtst-strptime3.c30 || tm.tm_mday != 12 || tm.tm_mon != 1 || tm.tm_year != 107 in do_test()
44 || tm.tm_mday != 8 || tm.tm_mon != 1 || tm.tm_year != 107 in do_test()
Dtest_time.c52 tbuf.tm_mday = 31; in main()
105 loctime->tm_mday = 12; in main()
Dtst-strftime3.c455 tm->tm_mday, in tm_to_printed()
484 tm.tm_mday = d->d; in do_test()
Dtst-mktime.c16 time_str.tm_mday = 4; in do_test()
Dasctime.c61 tp->tm_mday, tp->tm_hour, tp->tm_min, in asctime_internal()
Dofftime.c84 tp->tm_mday = days + 1; in __offtime()
Dtst-ftime_l.c31 tm.tm_mday = 1; in do_test()
Dtst-posixtz.c53 tmp->tm_year + 1900, tmp->tm_mon + 1, tmp->tm_mday, in do_test()
Dbug-getdate1.c61 printf ("Day of month: %d\n", res->tm_mday); in process_getdate_on()
Dstrftime_l.c941 DO_NUMBER (2, tp->tm_mday); in libc_hidden_def()
947 DO_NUMBER_SPACEPAD (2, tp->tm_mday); in libc_hidden_def()
1393 | (ltm.tm_mday ^ tm.tm_mday) in libc_hidden_def()
Dtst-strftime.c124 .tm_mday = 1, in do_test()
/glibc-2.36/resolv/
Dns_date.c59 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs()
77 result += (time.tm_mday - 1) * SECS_PER_DAY; /*%< Days */ in ns_datetosecs()
/glibc-2.36/timezone/
Dtst-timezone.c132 tmBuf.tm_mday, tmBuf.tm_mon, tmBuf.tm_year, in do_test()
155 tmBuf.tm_mday, tmBuf.tm_mon, tmBuf.tm_year, in do_test()
Dtest-tz.c30 tm.tm_mday = 24; in main()
/glibc-2.36/time/bits/types/
Dstruct_tm.h12 int tm_mday; /* Day. [1-31] */ member

12