Home
last modified time | relevance | path

Searched refs:tm_wday (Results 1 – 14 of 14) sorted by relevance

/haiku/src/system/libroot/posix/musl/time/
H A Dstrftime.c21 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 Dasctime_r.c11 __nl_langinfo_l(ABDAY_1+tm->tm_wday, C_LOCALE), in __asctime_r()
H A Dstrptime.c36 dest = &tm->tm_wday;
146 dest = &tm->tm_wday;
H A D__secs_to_tm.c74 tm->tm_wday = wday; in __secs_to_tm()
/haiku/src/apps/poorman/libhttpd/
H A Dtdate_parse.c228 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 Dlocale_test.cpp1808 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 Dfssh_time.h45 int tm_wday; /* days since Sunday (0 to 6, Sunday = 0, ...) */ member
/haiku/src/kits/network/libnetservices/
H A DHttpTime.cpp160 expirationTm.tm_wday = fDate.Date().DayOfWeek() % 7; in ToString()
/haiku/headers/posix/
H A Dtime.h63 int tm_wday; /* days since Sunday (0 to 6, Sunday = 0, ...) */ member
/haiku/src/kits/network/libnetservices2/
H A DHttpTime.cpp164 expirationTm.tm_wday = fDate.Date().DayOfWeek() % 7; in ToString()
/haiku/src/system/libroot/add-ons/icu/
H A DICUTimeConversion.cpp242 tmOut->tm_wday = calendar.get(UCAL_DAY_OF_WEEK, icuStatus) - 1; in _FillTmValues()
/haiku/src/bin/unzip/
H A Dtimezone.c536 _tmbuf.tm_wday = (days + EPOCH_WDAY) % 7;
788 tm->tm_wday = ((unsigned)days + EPOCH_WDAY) % 7;
/haiku/src/kits/support/
H A DDateTime.cpp963 tm_struct.tm_wday = day == 7 ? 0 : day; in ShortDayName()
/haiku/src/system/libroot/os/
H A Dparsedate.cpp736 tm.tm_mday += element.value - tm.tm_wday; in computeRelativeUnit()