Home
last modified time | relevance | path

Searched refs:wday (Results 1 – 25 of 32) sorted by relevance

12

/third_party/musl/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
32 wday = (3+days)%7; in __secs_to_tm()
33 if (wday < 0) wday += 7; in __secs_to_tm()
74 tm->tm_wday = wday; in __secs_to_tm()
D__tz.c348 int wday = (int)((t + 4*86400) % (7*86400)) / 86400; in rule_to_secs() local
349 int days = d - wday; in rule_to_secs()
/third_party/musl/porting/uniproton/kernel/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
32 wday = (3+days)%7; in __secs_to_tm()
33 if (wday < 0) wday += 7; in __secs_to_tm()
74 tm->tm_wday = wday; in __secs_to_tm()
D__tz.c143 int wday = (int)((t + 4*86400) % (7*86400)) / 86400; in rule_to_secs() local
144 int days = d - wday; in rule_to_secs()
/third_party/musl/porting/liteos_a/kernel/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
32 wday = (3+days)%7; in __secs_to_tm()
33 if (wday < 0) wday += 7; in __secs_to_tm()
74 tm->tm_wday = wday; in __secs_to_tm()
D__tz.c137 int wday = (int)((t + 4*86400) % (7*86400)) / 86400; in rule_to_secs() local
138 int days = d - wday; in rule_to_secs()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
32 wday = (3+days)%7; in __secs_to_tm()
33 if (wday < 0) wday += 7; in __secs_to_tm()
74 tm->tm_wday = wday; in __secs_to_tm()
D__tz.c143 int wday = (int)((t + 4*86400) % (7*86400)) / 86400; in rule_to_secs() local
144 int days = d - wday; in rule_to_secs()
/third_party/toybox/toys/posix/
Dcal.c29 int wday, mday, start, len, line; in calstrings() local
53 for (wday=0; wday<7; wday++) { in calstrings()
55 if (!mday ? wday==start : mday<len) { in calstrings()
/third_party/musl/porting/linux/user/src/time/
Dstrptime.c306 int wday = 0; in strptime() local
309 wday *= __STRPTIME_NUMBER_BASE; in strptime()
310 wday += *s++ - '0'; in strptime()
312 … } while ((wday * __STRPTIME_NUMBER_BASE < __STRPTIME_DAYS_IN_WEEK) && rulim && isdigit(*s)); in strptime()
313 if (wday < 1 || wday > __STRPTIME_DAYS_IN_WEEK) { in strptime()
316 tm->tm_wday = wday % __STRPTIME_DAYS_IN_WEEK; in strptime()
D__tz.c433 int wday = (int)((t + 4*86400) % (7*86400)) / 86400; in rule_to_secs() local
434 int days = d - wday; in rule_to_secs()
/third_party/tzdata/
Dstrftime.c49 const char * wday[DAYSPERWEEK]; member
185 "?" : Locale->wday[t->tm_wday], in _fmt()
396 int wday; in _fmt() local
402 wday = t->tm_wday; in _fmt()
415 bot = ((yday + 11 - wday) % in _fmt()
Dzic.c2889 register int wday = rp->r_wday; in stringrule() local
2896 wday -= wdayoff; in stringrule()
2906 wday -= wdayoff; in stringrule()
2911 if (wday < 0) in stringrule()
2912 wday += DAYSPERWEEK; in stringrule()
2914 rp->r_month + 1, week, wday); in stringrule()
3818 zic_t wday = ((EPOCH_WDAY + dayoff % DAYSPERWEEK + DAYSPERWEEK) in rpytime() local
3820 while (wday != rp->r_wday) in rpytime()
3823 if (++wday >= DAYSPERWEEK) in rpytime()
3824 wday = 0; in rpytime()
[all …]
/third_party/curl/tests/
Dserverhelp.pm79 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
85 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/third_party/icu/icu4c/source/tools/tzcode/
Dzic.c2044 register int wday = rp->r_wday; in stringrule() local
2051 wday -= wdayoff; in stringrule()
2061 wday -= wdayoff; in stringrule()
2066 if (wday < 0) in stringrule()
2067 wday += DAYSPERWEEK; in stringrule()
2069 rp->r_month + 1, week, wday); in stringrule()
3022 register zic_t wday; in rpytime() local
3025 wday = EPOCH_WDAY; in rpytime()
3030 wday = (wday + dayoff) % LDAYSPERWEEK; in rpytime()
3032 wday -= ((-dayoff) % LDAYSPERWEEK); in rpytime()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c2043 register int wday = rp->r_wday; in stringrule() local
2050 wday -= wdayoff; in stringrule()
2060 wday -= wdayoff; in stringrule()
2065 if (wday < 0) in stringrule()
2066 wday += DAYSPERWEEK; in stringrule()
2068 rp->r_month + 1, week, wday); in stringrule()
3021 register zic_t wday; in rpytime() local
3024 wday = EPOCH_WDAY; in rpytime()
3029 wday = (wday + dayoff) % LDAYSPERWEEK; in rpytime()
3031 wday -= ((-dayoff) % LDAYSPERWEEK); in rpytime()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1157 int wday; local
1158 for (wday = 0; wday < ICAL_DOW_NAMES.length; wday++) {
1159 if (value.equals(ICAL_DOW_NAMES[wday])) {
1163 if (wday < ICAL_DOW_NAMES.length) {
1165 dayOfWeek = wday + 1;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DVTimeZone.java1128 int wday; local
1129 for (wday = 0; wday < ICAL_DOW_NAMES.length; wday++) {
1130 if (value.equals(ICAL_DOW_NAMES[wday])) {
1134 if (wday < ICAL_DOW_NAMES.length) {
1136 dayOfWeek = wday + 1;
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dtzdst.c329 STATIC INT32 DstGetDayOfMonth(INT32 year, INT32 month, INT32 mweek, INT32 wday) in DstGetDayOfMonth() argument
362 firstMdayOfTargetWday = 1 + (DAYSPERWEEK + wday - firstWeekDay) % DAYSPERWEEK; in DstGetDayOfMonth()
/third_party/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/node/deps/icu-small/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/skia/third_party/externals/icu/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/icu/icu4c/source/i18n/
Dvtzone.cpp461 int32_t wday; in parseRRULE() local
462 for (wday = 0; wday < 7; wday++) { in parseRRULE()
463 if (value.compare(ICAL_DOW_NAMES[wday], 2) == 0) { in parseRRULE()
467 if (wday < 7) { in parseRRULE()
469 dow = wday + 1; in parseRRULE()
/third_party/node/deps/icu-small/source/i18n/
Dvtzone.cpp461 int32_t wday; in parseRRULE() local
462 for (wday = 0; wday < 7; wday++) { in parseRRULE()
463 if (value.compare(ICAL_DOW_NAMES[wday], 2) == 0) { in parseRRULE()
467 if (wday < 7) { in parseRRULE()
469 dow = wday + 1; in parseRRULE()
/third_party/skia/third_party/externals/icu/source/i18n/
Dvtzone.cpp469 int32_t wday; in parseRRULE() local
470 for (wday = 0; wday < 7; wday++) { in parseRRULE()
471 if (value.compare(ICAL_DOW_NAMES[wday], 2) == 0) { in parseRRULE()
475 if (wday < 7) { in parseRRULE()
477 dow = wday + 1; in parseRRULE()

12