/glibc-2.36/time/ |
D | getdate.c | 68 return (1 + (wday - tm.tm_wday + 7) % 7); in first_wday() 191 tp->tm_year = tp->tm_mon = tp->tm_mday = tp->tm_wday = INT_MIN; in __getdate_r() 226 if (tp->tm_wday >= 0 && tp->tm_wday <= 6 && tp->tm_year == INT_MIN in __getdate_r() 231 tp->tm_mday = tm.tm_mday + (tp->tm_wday - tm.tm_wday + 7) % 7; 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()
|
D | bug-mktime4.c | 14 && t->tm_wday == u->tm_wday && t->tm_yday == u->tm_yday in equal_tm() 39 struct tm tm0 = { .tm_year = INT_MIN, .tm_mday = 1, .tm_wday = -1 }; in do_test() 44 bool mktime_failed = tm.tm_wday == tm0.tm_wday; in do_test()
|
D | tst-gmtime.c | 36 TEST_COMPARE (tmg->tm_wday, 4); in do_test() 52 TEST_COMPARE (tmg->tm_wday, 4); in do_test() 67 TEST_COMPARE (tmg->tm_wday, 2); in do_test() 83 TEST_COMPARE (tmg->tm_wday, 2); in do_test() 100 TEST_COMPARE (tmg->tm_wday, 2); in do_test() 116 TEST_COMPARE (tmg->tm_wday, 2); in do_test()
|
D | tst-strptime.c | 123 buf, tm.tm_wday, tm.tm_yday); in test_tm() 130 if (tm.tm_wday != tm_tests[i].wday) in test_tm() 133 tm_tests[i].input, tm.tm_wday, tm_tests[i].wday); in test_tm() 184 tm.tm_wday, tm.tm_yday, tm.tm_mon, tm.tm_mday); in do_test() 186 if (tm.tm_wday != day_tests[i].wday) in do_test() 189 day_tests[i].input, tm.tm_wday, day_tests[i].wday); in do_test()
|
D | strftime_l.c | 485 ((const CHAR_T *) (tp->tm_wday < 0 || tp->tm_wday > 6 \ in libc_hidden_def() 486 ? "?" : _NL_CURRENT (LC_TIME, NLW(ABDAY_1) + tp->tm_wday))) in libc_hidden_def() 488 ((const CHAR_T *) (tp->tm_wday < 0 || tp->tm_wday > 6 \ in libc_hidden_def() 489 ? "?" : _NL_CURRENT (LC_TIME, NLW(DAY_1) + tp->tm_wday))) in libc_hidden_def() 512 # define f_wkday (tp->tm_wday < 0 || tp->tm_wday > 6 \ in libc_hidden_def() 513 ? "?" : weekday_name[tp->tm_wday]) in libc_hidden_def() 1203 DO_NUMBER (1, (tp->tm_wday - 1 + 7) % 7 + 1); in libc_hidden_def() 1209 DO_NUMBER (2, (tp->tm_yday - tp->tm_wday + 7) / 7); in libc_hidden_def() 1218 int days = iso_week_days (tp->tm_yday, tp->tm_wday); in libc_hidden_def() 1225 tp->tm_wday); in libc_hidden_def() [all …]
|
D | tst-timegm.c | 35 .tm_wday = 4, in do_test_func() 52 .tm_wday = 2, in do_test_func() 72 .tm_wday = 2, in do_test_func()
|
D | tst-mktime3.c | 16 .tm_mon = 11, .tm_year = 103, .tm_wday = 3, .tm_yday = 364 }, 17 { .tm_sec = 5, .tm_mday = 1, .tm_year = 102, .tm_wday = 2 } 45 CHECK (tm_wday) in do_test()
|
D | tst-strftime3.c | 436 if (0 <= tm->tm_wday && tm->tm_wday <= 6) in tm_to_printed() 437 wn = weekday_name[tm->tm_wday]; in tm_to_printed() 441 sprintf (temp, "%d", tm->tm_wday); in tm_to_printed() 485 tm.tm_wday = d->w; in do_test()
|
D | asctime.c | 57 (tp->tm_wday < 0 || tp->tm_wday >= 7 in asctime_internal() 58 ? "???" : ab_day_name (tp->tm_wday)), in asctime_internal()
|
D | offtime.c | 52 tp->tm_wday = (4 + days) % 7; in __offtime() 53 if (tp->tm_wday < 0) in __offtime() 54 tp->tm_wday += 7; in __offtime()
|
D | tst-strptime3.c | 31 || tm.tm_wday != 1 || tm.tm_yday != 42) in do_test() 45 || tm.tm_wday != 4 || tm.tm_yday != 38) in do_test()
|
D | strptime_l.c | 224 tm->tm_wday = ((wday % 7) + 7) % 7; in day_of_the_week() 391 tm->tm_wday = cnt_longest; in __strptime_internal() 714 tm->tm_wday = val % 7; in __strptime_internal() 748 tm->tm_wday = val; in __strptime_internal() 1124 tm->tm_wday = val; in __strptime_internal() 1212 int save_wday = tm->tm_wday; in __strptime_internal() 1226 tm->tm_yday = ((7 - (tm->tm_wday - w_offset)) % 7 in __strptime_internal() 1244 tm->tm_wday = save_wday; in __strptime_internal()
|
D | tst-mktime2.c | 133 TEST_COMPARE (lt->tm_wday, tm.tm_wday); in bigtime_test()
|
D | tst-mktime4.c | 31 .tm_wday = 4,
|
D | bug-getdate1.c | 64 printf ("Day of week: %d\n", res->tm_wday); in process_getdate_on()
|
/glibc-2.36/timezone/ |
D | tst-timezone.c | 133 tmBuf.tm_wday, tmBuf.tm_yday, tmBuf.tm_isdst); in do_test() 156 tmBuf.tm_wday, tmBuf.tm_yday, tmBuf.tm_isdst); in do_test()
|
D | zdump.c | 1093 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= in dumptime() 1096 else wn = wday_name[timeptr->tm_wday]; in dumptime()
|
/glibc-2.36/time/bits/types/ |
D | struct_tm.h | 15 int tm_wday; /* Day of week. [0-6] */ member
|
/glibc-2.36/conform/data/ |
D | time.h-data | 28 element {struct tm} int tm_wday
|
/glibc-2.36/manual/ |
D | time.texi | 1002 @item int tm_wday 1223 @code{tm_wday}, @code{tm_yday}, @code{tm_gmtoff}, and @code{tm_zone} 2250 directly initialized. Exceptions are the @code{tm_wday} and 2376 date. If the current weekday is greater than or equal to the @code{tm_wday}
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.2 | 1755 Protect against tm_wday and tm_mon being out of bounds; use "???"
|
D | ChangeLog.9 | 1537 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
|