Searched refs:tm_wday (Results 1 – 14 of 14) sorted by relevance
/haiku/src/system/libroot/posix/musl/time/ |
H A D | strftime.c | 21 int val = (tm->tm_yday + 7U - (tm->tm_wday+6U)%7) / 7; in week_num() 24 if ((tm->tm_wday + 371U - tm->tm_yday - 2) % 7 <= 2) in week_num() 32 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 40 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 56 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1() 57 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1() 60 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1() 61 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1() 141 val = tm->tm_wday ? tm->tm_wday : 7; in __strftime_fmt_1() 145 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() [all …]
|
H A D | asctime_r.c | 11 __nl_langinfo_l(ABDAY_1+tm->tm_wday, C_LOCALE), in __asctime_r()
|
H A D | strptime.c | 36 dest = &tm->tm_wday; 146 dest = &tm->tm_wday;
|
H A D | __secs_to_tm.c | 74 tm->tm_wday = wday; in __secs_to_tm()
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | tdate_parse.c | 228 long tm_mon, tm_wday; in tdate_parse() local 303 scan_wday( str_wday, &tm_wday ) && in tdate_parse() 306 tm.tm_wday = tm_wday; in tdate_parse() 319 scan_wday( str_wday, &tm_wday ) && in tdate_parse() 322 tm.tm_wday = tm_wday; in tdate_parse() 335 scan_wday( str_wday, &tm_wday ) && in tdate_parse() 338 tm.tm_wday = tm_wday; in tdate_parse()
|
/haiku/src/tests/system/libroot/posix/ |
H A D | locale_test.cpp | 1808 if (now.tm_wday != expected.tm_wday) { in test_localtime() 1810 now.tm_wday, expected.tm_wday); in test_localtime() 1883 if (now.tm_wday != expected.tm_wday) { in test_gmtime() 1885 now.tm_wday, expected.tm_wday); in test_gmtime() 1928 if (tm.tm_wday != expectedWeekDay) { in test_mktime() 1930 tm.tm_wday, expectedWeekDay); in test_mktime() 1956 gtm.tm_wday = -1; in test_timeconversions() 1965 gtmplus2.tm_wday = -1; in test_timeconversions() 1974 gtmminus2.tm_wday = -1; in test_timeconversions() 1983 btm.tm_wday = -1; in test_timeconversions() [all …]
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_time.h | 45 int tm_wday; /* days since Sunday (0 to 6, Sunday = 0, ...) */ member
|
/haiku/src/kits/network/libnetservices/ |
H A D | HttpTime.cpp | 160 expirationTm.tm_wday = fDate.Date().DayOfWeek() % 7; in ToString()
|
/haiku/headers/posix/ |
H A D | time.h | 63 int tm_wday; /* days since Sunday (0 to 6, Sunday = 0, ...) */ member
|
/haiku/src/kits/network/libnetservices2/ |
H A D | HttpTime.cpp | 164 expirationTm.tm_wday = fDate.Date().DayOfWeek() % 7; in ToString()
|
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUTimeConversion.cpp | 242 tmOut->tm_wday = calendar.get(UCAL_DAY_OF_WEEK, icuStatus) - 1; in _FillTmValues()
|
/haiku/src/bin/unzip/ |
H A D | timezone.c | 536 _tmbuf.tm_wday = (days + EPOCH_WDAY) % 7; 788 tm->tm_wday = ((unsigned)days + EPOCH_WDAY) % 7;
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 963 tm_struct.tm_wday = day == 7 ? 0 : day; in ShortDayName()
|
/haiku/src/system/libroot/os/ |
H A D | parsedate.cpp | 736 tm.tm_mday += element.value - tm.tm_wday; in computeRelativeUnit()
|