Home
last modified time | relevance | path

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

/time/
A 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 …]
A 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()
A 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()
A Dtst-mktime4.c26 .tm_mon = 0,
38 .tm_mon = 0,
48 .tm_mon = 1,
A 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()
A Dasctime.c59 (tp->tm_mon < 0 || tp->tm_mon >= 12 in asctime_internal()
60 ? "???" : ab_month_name (tp->tm_mon)), in asctime_internal()
A 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()
A 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()
A 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()
A Dtest_time.c51 tbuf.tm_mon = 0; in main()
80 tbuf.tm_mon = 0; in main()
104 loctime->tm_mon = 8; in main()
A Dbug-mktime4.c13 && t->tm_mon == u->tm_mon && t->tm_year == u->tm_year in equal_tm()
A 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()
A 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()
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()
1089 DO_NUMBER (2, tp->tm_mon + 1); in libc_hidden_def()
[all …]
A Dtst-mktime.c15 time_str.tm_mon = 7 - 1; in do_test()
A 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()
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()
1214 int save_mon = tm->tm_mon; in __strptime_internal()
1218 tm->tm_mon = 0; in __strptime_internal()
1223 tm->tm_mon = save_mon; in __strptime_internal()
[all …]
A Dofftime.c83 tp->tm_mon = y; in __offtime()
A Dtst-ftime_l.c30 tm.tm_mon = 2; in do_test()
A Dtst-posixtz.c53 tmp->tm_year + 1900, tmp->tm_mon + 1, tmp->tm_mday, in do_test()
A Dbug-getdate1.c62 printf ("Month of year: %d\n", res->tm_mon); in process_getdate_on()
A Dtst-strftime3.c454 tm->tm_mon + 1, in tm_to_printed()
483 tm.tm_mon = d->m; in do_test()
A Dtst-strftime2.c173 ttm.tm_mon = dates[k].m - 1; in do_test()
A Dera.c150 const int32_t tdate[3] = { tp->tm_year, tp->tm_mon, tp->tm_mday }; in _nl_get_era_entry()
A Dmktime.c339 int mon = tp->tm_mon; in __mktime_internal()
/time/bits/types/
A Dstruct_tm.h13 int tm_mon; /* Month. [0-11] */ member

Completed in 22 milliseconds