/glibc-2.36/time/ |
D | getdate.c | 64 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 …]
|
D | tst-gmtime.c | 34 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()
|
D | tst-mktime2.c | 65 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()
|
D | strftime_l.c | 491 ((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 …]
|
D | tst-getdate.c | 126 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()
|
D | tst-timegm.c | 33 .tm_mon = 0, in do_test_func() 50 .tm_mon = 0, in do_test_func() 70 .tm_mon = 0, in do_test_func()
|
D | strptime_l.c | 216 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 …]
|
D | tst-mktime3.c | 11 .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()
|
D | tst-mktime4.c | 26 .tm_mon = 0, 38 .tm_mon = 0, 48 .tm_mon = 1,
|
D | asctime.c | 59 (tp->tm_mon < 0 || tp->tm_mon >= 12 in asctime_internal() 60 ? "???" : ab_month_name (tp->tm_mon)), in asctime_internal()
|
D | test_time.c | 51 tbuf.tm_mon = 0; in main() 80 tbuf.tm_mon = 0; in main() 104 loctime->tm_mon = 8; in main()
|
D | tst-strptime.c | 184 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()
|
D | tst-strptime3.c | 30 || 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()
|
D | bug-mktime4.c | 13 && t->tm_mon == u->tm_mon && t->tm_year == u->tm_year in equal_tm()
|
D | tst-strftime3.c | 454 tm->tm_mon + 1, in tm_to_printed() 483 tm.tm_mon = d->m; in do_test()
|
D | tst-mktime.c | 15 time_str.tm_mon = 7 - 1; in do_test()
|
D | offtime.c | 83 tp->tm_mon = y; in __offtime()
|
D | tst-ftime_l.c | 30 tm.tm_mon = 2; in do_test()
|
D | tst-posixtz.c | 53 tmp->tm_year + 1900, tmp->tm_mon + 1, tmp->tm_mday, in do_test()
|
D | bug-getdate1.c | 62 printf ("Month of year: %d\n", res->tm_mon); in process_getdate_on()
|
/glibc-2.36/resolv/ |
D | ns_date.c | 58 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/ |
D | tst-timezone.c | 132 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()
|
D | test-tz.c | 29 tm.tm_mon = 4; in main()
|
D | zdump.c | 304 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/ |
D | struct_tm.h | 13 int tm_mon; /* Month. [0-11] */ member
|