/external/cronet/tot/third_party/libc++/src/test/std/time/time.syn/ |
D | formatter.local_info.pass.cpp | 45 namespace tz = std::chrono; in test_no_chrono_specs() 56 tz::local_info{tz::local_info::unique, in test_no_chrono_specs() 57 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}, in test_no_chrono_specs() 58 tz::sys_info{}}); in test_no_chrono_specs() 64 tz::local_info{ in test_no_chrono_specs() 65 tz::local_info::nonexistent, in test_no_chrono_specs() 66 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test_no_chrono_specs() 67 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test_no_chrono_specs() 71 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test_no_chrono_specs() 72 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test_no_chrono_specs() [all …]
|
/external/cronet/stable/third_party/libc++/src/test/libcxx/time/time.zone/time.zone.info/time.zone.info.local/ |
D | ostream.pass.cpp | 54 namespace tz = std::chrono; in test() 59 tz::local_info{tz::local_info::unique, in test() 60 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}, in test() 61 tz::sys_info{}}); in test() 66 tz::local_info{ in test() 67 tz::local_info::nonexistent, in test() 68 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() 69 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test() 73 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() 74 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test() [all …]
|
/external/cronet/tot/third_party/libc++/src/test/libcxx/time/time.zone/time.zone.info/time.zone.info.local/ |
D | ostream.pass.cpp | 54 namespace tz = std::chrono; in test() 59 tz::local_info{tz::local_info::unique, in test() 60 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}, in test() 61 tz::sys_info{}}); in test() 66 tz::local_info{ in test() 67 tz::local_info::nonexistent, in test() 68 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() 69 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test() 73 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test() 74 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test() [all …]
|
/external/cronet/stable/third_party/libc++/src/test/std/time/time.syn/ |
D | formatter.local_info.pass.cpp | 45 namespace tz = std::chrono; in test_no_chrono_specs() 56 tz::local_info{tz::local_info::unique, in test_no_chrono_specs() 57 tz::sys_info{tz::sys_seconds::min(), tz::sys_seconds::max(), 0s, 0min, "TZ"}, in test_no_chrono_specs() 58 tz::sys_info{}}); in test_no_chrono_specs() 64 tz::local_info{ in test_no_chrono_specs() 65 tz::local_info::nonexistent, in test_no_chrono_specs() 66 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test_no_chrono_specs() 67 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test_no_chrono_specs() 71 tz::sys_info{static_cast<tz::sys_days>(tz::year_month_day{1970y, tz::January, 1d}), in test_no_chrono_specs() 72 static_cast<tz::sys_days>(tz::year_month_day{2038y, tz::December, 31d}), in test_no_chrono_specs() [all …]
|
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/ |
D | time_zone_format_test.cc | 37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 39 time_zone::absolute_lookup al = tz.lookup(tp); \ 60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 131 time_zone tz = utc_time_zone(); in TEST() local 135 EXPECT_EQ("", format("", tp, tz)); in TEST() 136 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST() [all …]
|
D | time_zone_lookup_test.cc | 636 time_zone tz; in LoadZone() local 637 load_time_zone(name, &tz); in LoadZone() 638 return tz; in LoadZone() 643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 645 time_zone::absolute_lookup al = tz.lookup(tp); \ 662 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 663 std::string version = tz.version(); in VersionCmp() 680 time_zone tz; in TEST() local 681 if (load_time_zone(zone, &tz)) { in TEST() 682 EXPECT_EQ(zone, tz.name()); in TEST() [all …]
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format_test.cc | 42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 44 time_zone::absolute_lookup al = tz.lookup(tp); \ 65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 67 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 68 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 69 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 70 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 136 time_zone tz = utc_time_zone(); in TEST() local 140 EXPECT_EQ("", format("", tp, tz)); in TEST() 141 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST() [all …]
|
D | time_zone_lookup_test.cc | 643 time_zone tz; in LoadZone() local 644 load_time_zone(name, &tz); in LoadZone() 645 return tz; in LoadZone() 650 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 652 time_zone::absolute_lookup al = tz.lookup(tp); \ 669 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 670 std::string version = tz.version(); in VersionCmp() 687 time_zone tz; in TEST() local 688 if (load_time_zone(zone, &tz)) { in TEST() 689 EXPECT_EQ(zone, tz.name()); in TEST() [all …]
|
/external/cronet/tot/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format_test.cc | 42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 44 time_zone::absolute_lookup al = tz.lookup(tp); \ 65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 142 time_zone tz = utc_time_zone(); in TEST() local 146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST() 147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST() [all …]
|
D | time_zone_lookup_test.cc | 532 time_zone tz; in LoadZone() local 533 load_time_zone(name, &tz); in LoadZone() 534 return tz; in LoadZone() 539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 541 time_zone::absolute_lookup al = tz.lookup(tp); \ 558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 559 std::string version = tz.version(); in VersionCmp() 576 time_zone tz; in TEST() local 577 if (load_time_zone(zone, &tz)) { in TEST() 578 EXPECT_EQ(zone, tz.name()); in TEST() [all …]
|
/external/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format_test.cc | 42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 44 time_zone::absolute_lookup al = tz.lookup(tp); \ 65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 142 time_zone tz = utc_time_zone(); in TEST() local 146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST() 147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST() [all …]
|
D | time_zone_lookup_test.cc | 532 time_zone tz; in LoadZone() local 533 load_time_zone(name, &tz); in LoadZone() 534 return tz; in LoadZone() 539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 541 time_zone::absolute_lookup al = tz.lookup(tp); \ 558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 559 std::string version = tz.version(); in VersionCmp() 576 time_zone tz; in TEST() local 577 if (load_time_zone(zone, &tz)) { in TEST() 578 EXPECT_EQ(zone, tz.name()); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format_test.cc | 42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 44 time_zone::absolute_lookup al = tz.lookup(tp); \ 65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 142 time_zone tz = utc_time_zone(); in TEST() local 146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST() 147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST() [all …]
|
D | time_zone_lookup_test.cc | 532 time_zone tz; in LoadZone() local 533 load_time_zone(name, &tz); in LoadZone() 534 return tz; in LoadZone() 539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 541 time_zone::absolute_lookup al = tz.lookup(tp); \ 558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 559 std::string version = tz.version(); in VersionCmp() 576 time_zone tz; in TEST() local 577 if (load_time_zone(zone, &tz)) { in TEST() 578 EXPECT_EQ(zone, tz.name()); in TEST() [all …]
|
/external/cronet/stable/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format_test.cc | 42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 44 time_zone::absolute_lookup al = tz.lookup(tp); \ 65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 142 time_zone tz = utc_time_zone(); in TEST() local 146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST() 147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST() [all …]
|
D | time_zone_lookup_test.cc | 532 time_zone tz; in LoadZone() local 533 load_time_zone(name, &tz); in LoadZone() 534 return tz; in LoadZone() 539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument 541 time_zone::absolute_lookup al = tz.lookup(tp); \ 558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 559 std::string version = tz.version(); in VersionCmp() 576 time_zone tz; in TEST() local 577 if (load_time_zone(zone, &tz)) { in TEST() 578 EXPECT_EQ(zone, tz.name()); in TEST() [all …]
|
/external/cronet/tot/third_party/libc++/src/test/std/time/time.zone/time.zone.timezone/time.zone.members/ |
D | get_info.sys_time.pass.cpp | 120 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_gmt() local 129 tz->get_info(std::chrono::sys_seconds::min())); in test_gmt() 137 tz->get_info(std::chrono::sys_seconds(std::chrono::seconds{0}))); in test_gmt() 146 tz->get_info(std::chrono::sys_seconds::max() - std::chrono::seconds{1})); // max is not valid in test_gmt() 152 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_durations() local 162 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::nanoseconds>{})); in test_durations() 163 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::microseconds>{})); in test_durations() 164 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::milliseconds>{})); in test_durations() 165 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::seconds>{})); in test_durations() 166 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::minutes>{})); in test_durations() [all …]
|
/external/cronet/stable/third_party/libc++/src/test/std/time/time.zone/time.zone.timezone/time.zone.members/ |
D | get_info.sys_time.pass.cpp | 120 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_gmt() local 129 tz->get_info(std::chrono::sys_seconds::min())); in test_gmt() 137 tz->get_info(std::chrono::sys_seconds(std::chrono::seconds{0}))); in test_gmt() 146 tz->get_info(std::chrono::sys_seconds::max() - std::chrono::seconds{1})); // max is not valid in test_gmt() 152 const std::chrono::time_zone* tz = std::chrono::locate_zone("GMT"); in test_durations() local 162 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::nanoseconds>{})); in test_durations() 163 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::microseconds>{})); in test_durations() 164 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::milliseconds>{})); in test_durations() 165 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::seconds>{})); in test_durations() 166 assert_equal(expected, tz->get_info(std::chrono::sys_time<std::chrono::minutes>{})); in test_durations() [all …]
|
/external/python/dateutil/dateutil/test/ |
D | test_tz.py | 30 from dateutil import tz as tz unknown 201 t0_u = datetime(2012, 3, 31, 15, 30, tzinfo=tz.tzutc()) # AEST 202 t1_u = datetime(2012, 3, 31, 16, 30, tzinfo=tz.tzutc()) # AEDT 223 t0_u = datetime(2012, 10, 6, 15, 30, tzinfo=tz.tzutc()) # AEST 224 t1_u = datetime(2012, 10, 6, 16, 30, tzinfo=tz.tzutc()) # AEDT 245 t0_u = datetime(2011, 11, 6, 5, 30, tzinfo=tz.tzutc()) 246 t1_u = datetime(2011, 11, 6, 6, 30, tzinfo=tz.tzutc()) 268 t0_u = datetime(2011, 3, 13, 6, 30, tzinfo=tz.tzutc()) 269 t1_u = datetime(2011, 3, 13, 7, 30, tzinfo=tz.tzutc()) 289 UTC = tz.tzutc() [all …]
|
/external/openscreen/third_party/abseil/src/absl/time/ |
D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() local 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, absl::TimeZone(cz)); in TEST() [all …]
|
/external/cronet/tot/third_party/abseil-cpp/absl/time/ |
D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() local 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, absl::TimeZone(cz)); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/time/ |
D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() local 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, absl::TimeZone(cz)); in TEST() [all …]
|
/external/cronet/stable/third_party/abseil-cpp/absl/time/ |
D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() local 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, absl::TimeZone(cz)); in TEST() [all …]
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() local 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, absl::TimeZone(cz)); in TEST() [all …]
|
/external/abseil-cpp/absl/time/ |
D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() local 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, absl::TimeZone(cz)); in TEST() [all …]
|