Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 25 of 37) sorted by relevance

12

/glibc-2.36/time/
Dgetdate.c64 tm.tm_mon = mon; 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()
230 tp->tm_mon = tm.tm_mon; in __getdate_r()
239 if (tp->tm_mon >= 0 && tp->tm_mon <= 11 && tp->tm_mday == INT_MIN) in __getdate_r()
242 tp->tm_year = tm.tm_year + (((tp->tm_mon - tm.tm_mon) < 0) ? 1 : 0); in __getdate_r()
243 tp->tm_mday = first_wday (tp->tm_year, tp->tm_mon, tp->tm_wday); in __getdate_r()
268 && tp->tm_mon == INT_MIN in __getdate_r()
271 tp->tm_mon = tm.tm_mon; in __getdate_r()
279 if (tp->tm_mon == INT_MIN) in __getdate_r()
[all …]
Dtst-gmtime.c34 TEST_COMPARE (tmg->tm_mon, 0); in do_test()
50 TEST_COMPARE (tmg->tm_mon, 0); in do_test()
65 TEST_COMPARE (tmg->tm_mon, 0); in do_test()
81 TEST_COMPARE (tmg->tm_mon, 0); in do_test()
98 TEST_COMPARE (tmg->tm_mon, 0); in do_test()
114 TEST_COMPARE (tmg->tm_mon, 0); in do_test()
Dtst-mktime2.c65 tm.tm_mon = 3; in spring_forward_gap()
104 tm.tm_mon = 3; in irix_6_4_bug()
111 TEST_COMPARE (tm.tm_mon, 2); 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()
127 TEST_COMPARE (lt->tm_mon, tm.tm_mon); in bigtime_test()
Dstrftime_l.c491 ((const CHAR_T *) (tp->tm_mon < 0 || tp->tm_mon > 11 \ in libc_hidden_def()
492 ? "?" : _NL_CURRENT (LC_TIME, NLW(ABMON_1) + tp->tm_mon))) in libc_hidden_def()
494 ((const CHAR_T *) (tp->tm_mon < 0 || tp->tm_mon > 11 \ in libc_hidden_def()
495 ? "?" : _NL_CURRENT (LC_TIME, NLW(MON_1) + tp->tm_mon))) in libc_hidden_def()
497 ((const CHAR_T *) (tp->tm_mon < 0 || tp->tm_mon > 11 \ in libc_hidden_def()
498 ? "?" : _NL_CURRENT (LC_TIME, NLW(ABALTMON_1) + tp->tm_mon))) in libc_hidden_def()
500 ((const CHAR_T *) (tp->tm_mon < 0 || tp->tm_mon > 11 \ in libc_hidden_def()
501 ? "?" : _NL_CURRENT (LC_TIME, NLW(ALTMON_1) + tp->tm_mon))) in libc_hidden_def()
514 # define f_month (tp->tm_mon < 0 || tp->tm_mon > 11 \ in libc_hidden_def()
515 ? "?" : month_name[tp->tm_mon]) in libc_hidden_def()
[all …]
Dtst-getdate.c126 TEST_COMPARE (tests[i].tm.tm_mon, tm->tm_mon); in do_test()
138 TEST_COMPARE (tests[i].tm.tm_mon, tms.tm_mon); in do_test()
Dtst-timegm.c33 .tm_mon = 0, in do_test_func()
50 .tm_mon = 0, in do_test_func()
70 .tm_mon = 0, in do_test_func()
Dstrptime_l.c216 int corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2); in day_of_the_week()
222 + __mon_yday[0][tm->tm_mon] in day_of_the_week()
231 tm->tm_yday = (__mon_yday[__isleap (1900 + tm->tm_year)][tm->tm_mon] in day_of_the_year()
480 tm->tm_mon = cnt_longest; in __strptime_internal()
584 tm->tm_mon = val - 1; in __strptime_internal()
1092 tm->tm_mon = val - 1; in __strptime_internal()
1194 tm->tm_mon = t_mon - 1; in __strptime_internal()
1203 if (s.have_mon || (unsigned) tm->tm_mon <= 11) in __strptime_internal()
1207 if (s.want_xday && !s.have_yday && (s.have_mon || (unsigned) tm->tm_mon <= 11)) in __strptime_internal()
1214 int save_mon = tm->tm_mon; in __strptime_internal()
[all …]
Dtst-mktime3.c11 .tm_mon = 11, .tm_year = 101 }
16 .tm_mon = 11, .tm_year = 103, .tm_wday = 3, .tm_yday = 364 },
43 CHECK (tm_mon) in do_test()
Dtst-mktime4.c26 .tm_mon = 0,
38 .tm_mon = 0,
48 .tm_mon = 1,
Dasctime.c59 (tp->tm_mon < 0 || tp->tm_mon >= 12 in asctime_internal()
60 ? "???" : ab_month_name (tp->tm_mon)), in asctime_internal()
Dtest_time.c51 tbuf.tm_mon = 0; in main()
80 tbuf.tm_mon = 0; in main()
104 loctime->tm_mon = 8; in main()
Dtst-strptime.c184 tm.tm_wday, tm.tm_yday, tm.tm_mon, tm.tm_mday); in do_test()
198 if (tm.tm_mon != day_tests[i].mon) in do_test()
201 day_tests[i].input, tm.tm_mon, day_tests[i].mon); in do_test()
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()
Dbug-mktime4.c13 && t->tm_mon == u->tm_mon && t->tm_year == u->tm_year in equal_tm()
Dtst-strftime3.c454 tm->tm_mon + 1, in tm_to_printed()
483 tm.tm_mon = d->m; in do_test()
Dtst-mktime.c15 time_str.tm_mon = 7 - 1; in do_test()
Dofftime.c83 tp->tm_mon = y; in __offtime()
Dtst-ftime_l.c30 tm.tm_mon = 2; in do_test()
Dtst-posixtz.c53 tmp->tm_year + 1900, tmp->tm_mon + 1, tmp->tm_mday, in do_test()
Dbug-getdate1.c62 printf ("Month of year: %d\n", res->tm_mon); in process_getdate_on()
/glibc-2.36/resolv/
Dns_date.c58 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; in ns_datetosecs()
80 for (i = 0; i < time.tm_mon; i++) in ns_datetosecs()
83 if (time.tm_mon > 1 && isleap(1900+time.tm_year)) 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.c29 tm.tm_mon = 4; in main()
Dzdump.c304 fprintf(stderr, " mon=%d", tmp->tm_mon); in my_localtime_rz()
1097 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= in dumptime()
1100 else mn = mon_name[timeptr->tm_mon]; in dumptime()
/glibc-2.36/time/bits/types/
Dstruct_tm.h13 int tm_mon; /* Month. [0-11] */ member

12