/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
D | get_weekday_wide.pass.cpp | 46 assert(t.tm_wday == 0); in main() 55 assert(t.tm_wday == 0); in main() 64 assert(t.tm_wday == 0); in main() 73 assert(t.tm_wday == 0); in main() 82 assert(t.tm_wday == 0); in main() 91 assert(t.tm_wday == 1); in main() 100 assert(t.tm_wday == 1); in main() 109 assert(t.tm_wday == 0); in main() 118 assert(t.tm_wday == 1); in main() 127 assert(t.tm_wday == 1); in main() [all …]
|
D | get_weekday.pass.cpp | 46 assert(t.tm_wday == 0); in main() 55 assert(t.tm_wday == 0); in main() 64 assert(t.tm_wday == 0); in main() 73 assert(t.tm_wday == 0); in main() 82 assert(t.tm_wday == 0); in main() 91 assert(t.tm_wday == 1); in main() 100 assert(t.tm_wday == 1); in main() 109 assert(t.tm_wday == 0); in main() 118 assert(t.tm_wday == 1); in main() 127 assert(t.tm_wday == 1); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
D | get_weekday.pass.cpp | 46 assert(t.tm_wday == 0); in main() 55 assert(t.tm_wday == 0); in main() 64 assert(t.tm_wday == 0); in main() 73 assert(t.tm_wday == 0); in main() 82 assert(t.tm_wday == 0); in main() 91 assert(t.tm_wday == 1); in main() 100 assert(t.tm_wday == 1); in main() 109 assert(t.tm_wday == 0); in main() 118 assert(t.tm_wday == 1); in main() 127 assert(t.tm_wday == 1); in main() [all …]
|
D | get_weekday_wide.pass.cpp | 48 assert(t.tm_wday == 0); in main() 57 assert(t.tm_wday == 0); in main() 66 assert(t.tm_wday == 0); in main() 75 assert(t.tm_wday == 0); in main() 84 assert(t.tm_wday == 0); in main() 93 assert(t.tm_wday == 1); in main() 102 assert(t.tm_wday == 1); in main() 111 assert(t.tm_wday == 0); in main() 120 assert(t.tm_wday == 1); in main() 129 assert(t.tm_wday == 1); in main() [all …]
|
/external/musl/src/time/ |
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() 31 int dec31 = (tm->tm_wday + 7U - tm->tm_yday - 1) % 7; in week_num() 38 int jan1 = (tm->tm_wday + 371U - tm->tm_yday) % 7; in week_num() 54 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1() 55 item = ABDAY_1 + tm->tm_wday; in __strftime_fmt_1() 58 if (tm->tm_wday > 6U) goto string; in __strftime_fmt_1() 59 item = DAY_1 + tm->tm_wday; in __strftime_fmt_1() 139 val = tm->tm_wday ? tm->tm_wday : 7; in __strftime_fmt_1() 143 val = (tm->tm_yday + 7U - tm->tm_wday) / 7; in __strftime_fmt_1() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/ |
D | get_weekday.pass.cpp | 56 assert(t.tm_wday == 1); in main() 66 assert(t.tm_wday == 1); in main() 78 assert(t.tm_wday == 1); in main() 88 assert(t.tm_wday == 1); in main()
|
D | get_weekday_wide.pass.cpp | 56 assert(t.tm_wday == 1); in main() 66 assert(t.tm_wday == 1); in main() 76 assert(t.tm_wday == 1); in main() 86 assert(t.tm_wday == 1); in main()
|
D | get_one.pass.cpp | 64 assert(t.tm_wday == 6); in main() 92 assert(t.tm_wday == 6); in main() 127 assert(t.tm_wday == 6); in main() 156 assert(t.tm_wday == 6); in main()
|
D | get_one_wide.pass.cpp | 64 assert(t.tm_wday == 6); in main() 92 assert(t.tm_wday == 6); in main() 126 assert(t.tm_wday == 6); in main() 157 assert(t.tm_wday == 6); in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/localization/locale.categories/category.time/locale.time.get.byname/ |
D | get_weekday.pass.cpp | 53 assert(t.tm_wday == 1); in main() 63 assert(t.tm_wday == 1); in main() 81 assert(t.tm_wday == 1); in main() 91 assert(t.tm_wday == 1); in main()
|
D | get_weekday_wide.pass.cpp | 55 assert(t.tm_wday == 1); in main() 65 assert(t.tm_wday == 1); in main() 79 assert(t.tm_wday == 1); in main() 89 assert(t.tm_wday == 1); in main()
|
/external/cronet/third_party/icu/source/tools/tzcode/ |
D | asctime.c | 90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r() 92 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | asctime.c | 90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r() 92 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/ |
D | 1-1.c | 79 if ((tm_ptr->tm_wday >= 0) && (tm_ptr->tm_wday <= 6)) { in main() 80 printf("wday %02d\n", tm_ptr->tm_wday); in main()
|
/external/rust/crates/chrono/src/sys/ |
D | unix.rs | 37 tm.tm_wday = rust_tm.tm_wday; in rust_tm_to_tm() 49 rust_tm.tm_wday = tm.tm_wday; in tm_to_rust_tm()
|
/external/python/cpython2/Modules/ |
D | timemodule.c | 262 SET(6, (p->tm_wday + 6) % 7); /* Want Monday == 0 */ in tmtotuple() 361 &p->tm_wday, in gettmarg() 386 p->tm_wday = (p->tm_wday + 1) % 7; in gettmarg() 448 if (buf->tm_wday < 0) { in checktm() 535 if (buf.tm_wday < 0) { in time_strftime() 649 wday_name[timeptr->tm_wday], in _asctime() 733 buf.tm_wday = -1; /* sentinel; original value ignored */ in time_mktime() 737 if (tt == (time_t)(-1) && buf.tm_wday == -1) { in time_mktime()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/__chrono/ |
D | convert_to_tm.h | 67 __result.tm_wday = static_cast<unsigned>(__weekday.c_encoding()); in __convert_to_tm() 121 __result.tm_wday = __value.c_encoding(); in __convert_to_tm() 123 __result.tm_wday = __value.weekday().c_encoding(); in __convert_to_tm() 130 __result.tm_wday = __value.weekday_indexed().weekday().c_encoding(); in __convert_to_tm()
|
/external/cronet/base/third_party/nspr/ |
D | prtime.cc | 243 time->tm_wday--; in ApplySecOffset() 244 if (time->tm_wday < 0) in ApplySecOffset() 245 time->tm_wday = 6; in ApplySecOffset() 261 time->tm_wday++; in ApplySecOffset() 262 if (time->tm_wday > 6) in ApplySecOffset() 263 time->tm_wday = 0; in ApplySecOffset() 360 time->tm_wday = (numDays + 4) % 7; in PR_NormalizeTime() 361 if (time->tm_wday < 0) { in PR_NormalizeTime() 362 time->tm_wday += 7; in PR_NormalizeTime() 1086 result->tm_wday = static_cast<PRInt8>(((int)dotw) - ((int)TT_SUN)); in PR_ParseTimeString()
|
/external/libchrome/base/third_party/nspr/ |
D | prtime.cc | 240 time->tm_wday--; in ApplySecOffset() 241 if (time->tm_wday < 0) in ApplySecOffset() 242 time->tm_wday = 6; in ApplySecOffset() 258 time->tm_wday++; in ApplySecOffset() 259 if (time->tm_wday > 6) in ApplySecOffset() 260 time->tm_wday = 0; in ApplySecOffset() 357 time->tm_wday = (numDays + 4) % 7; in PR_NormalizeTime() 358 if (time->tm_wday < 0) { in PR_NormalizeTime() 359 time->tm_wday += 7; in PR_NormalizeTime() 1083 result->tm_wday = static_cast<PRInt8>(((int)dotw) - ((int)TT_SUN)); in PR_ParseTimeString()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/ |
D | 1-1.c | 42 time_ptr.tm_wday = WEEKDAY; in main() 53 wday_name[time_ptr.tm_wday], in main()
|
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 92 weekday FromTmWday(int tm_wday) { in FromTmWday() argument 93 switch (tm_wday) { in FromTmWday() 129 tm.tm_wday = ToTmWday(get_weekday(al.cs)); in ToTM() 411 bp = Format64(ep, 0, tm.tm_wday ? tm.tm_wday : 7); in format() 419 bp = Format64(ep, 0, tm.tm_wday); in format() 662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek() 714 tm.tm_wday = 4; // Thu in parse() 781 data = ParseInt(data, 0, 1, 7, &tm.tm_wday); in parse() 782 if (data != nullptr) tm.tm_wday %= 7; in parse() 785 data = ParseInt(data, 0, 0, 6, &tm.tm_wday); in parse()
|
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 92 weekday FromTmWday(int tm_wday) { in FromTmWday() argument 93 switch (tm_wday) { in FromTmWday() 129 tm.tm_wday = ToTmWday(get_weekday(al.cs)); in ToTM() 411 bp = Format64(ep, 0, tm.tm_wday ? tm.tm_wday : 7); in format() 419 bp = Format64(ep, 0, tm.tm_wday); in format() 662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek() 714 tm.tm_wday = 4; // Thu in parse() 781 data = ParseInt(data, 0, 1, 7, &tm.tm_wday); in parse() 782 if (data != nullptr) tm.tm_wday %= 7; in parse() 785 data = ParseInt(data, 0, 0, 6, &tm.tm_wday); in parse()
|
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 92 weekday FromTmWday(int tm_wday) { in FromTmWday() argument 93 switch (tm_wday) { in FromTmWday() 129 tm.tm_wday = ToTmWday(get_weekday(al.cs)); in ToTM() 411 bp = Format64(ep, 0, tm.tm_wday ? tm.tm_wday : 7); in format() 419 bp = Format64(ep, 0, tm.tm_wday); in format() 662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek() 714 tm.tm_wday = 4; // Thu in parse() 781 data = ParseInt(data, 0, 1, 7, &tm.tm_wday); in parse() 782 if (data != nullptr) tm.tm_wday %= 7; in parse() 785 data = ParseInt(data, 0, 0, 6, &tm.tm_wday); in parse()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 92 weekday FromTmWday(int tm_wday) { in FromTmWday() argument 93 switch (tm_wday) { in FromTmWday() 129 tm.tm_wday = ToTmWday(get_weekday(al.cs)); in ToTM() 411 bp = Format64(ep, 0, tm.tm_wday ? tm.tm_wday : 7); in format() 419 bp = Format64(ep, 0, tm.tm_wday); in format() 662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek() 714 tm.tm_wday = 4; // Thu in parse() 781 data = ParseInt(data, 0, 1, 7, &tm.tm_wday); in parse() 782 if (data != nullptr) tm.tm_wday %= 7; in parse() 785 data = ParseInt(data, 0, 0, 6, &tm.tm_wday); in parse()
|
/external/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 92 weekday FromTmWday(int tm_wday) { in FromTmWday() argument 93 switch (tm_wday) { in FromTmWday() 129 tm.tm_wday = ToTmWday(get_weekday(al.cs)); in ToTM() 411 bp = Format64(ep, 0, tm.tm_wday ? tm.tm_wday : 7); in format() 419 bp = Format64(ep, 0, tm.tm_wday); in format() 662 cd = next_weekday(cd - 1, FromTmWday(tm->tm_wday)) + (week_num * 7); in FromWeek() 714 tm.tm_wday = 4; // Thu in parse() 781 data = ParseInt(data, 0, 1, 7, &tm.tm_wday); in parse() 782 if (data != nullptr) tm.tm_wday %= 7; in parse() 785 data = ParseInt(data, 0, 0, 6, &tm.tm_wday); in parse()
|