Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 25 of 754) sorted by relevance

12345678910>>...31

/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #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 …]
Dtime_zone_lookup_test.cc636 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/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #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 …]
Dtime_zone_lookup_test.cc636 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/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #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 …]
Dtime_zone_lookup_test.cc636 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/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #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 …]
Dtime_zone_lookup_test.cc636 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/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #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 …]
Dtime_zone_lookup_test.cc635 time_zone tz; in LoadZone() local
636 load_time_zone(name, &tz); in LoadZone()
637 return tz; in LoadZone()
642 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
644 time_zone::absolute_lookup al = tz.lookup(tp); \
661 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
662 std::string version = tz.version(); in VersionCmp()
679 time_zone tz; in TEST() local
680 if (load_time_zone(zone, &tz)) { in TEST()
681 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #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 …]
Dtime_zone_lookup_test.cc635 time_zone tz; in LoadZone() local
636 load_time_zone(name, &tz); in LoadZone()
637 return tz; in LoadZone()
642 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
644 time_zone::absolute_lookup al = tz.lookup(tp); \
661 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
662 std::string version = tz.version(); in VersionCmp()
679 time_zone tz; in TEST() local
680 if (load_time_zone(zone, &tz)) { in TEST()
681 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/python/dateutil/dateutil/test/
Dtest_tz.py30 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/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dtime_zone_test.cc26 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/
Dtime_zone_test.cc26 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 …]
Dformat_test.cc30 void TestFormatSpecifier(absl::Time t, absl::TimeZone tz, in TestFormatSpecifier() argument
32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier()
33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier()
34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier()
36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier()
44 absl::TimeZone tz = absl::UTCTimeZone(); in TEST() local
48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST()
49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
51 EXPECT_EQ("xxx", absl::FormatTime("xxx", t, tz)); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/time/
Dtime_zone_test.cc26 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 …]
Dformat_test.cc30 void TestFormatSpecifier(absl::Time t, absl::TimeZone tz, in TestFormatSpecifier() argument
32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier()
33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier()
34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier()
36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier()
44 absl::TimeZone tz = absl::UTCTimeZone(); in TEST() local
48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST()
49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
51 EXPECT_EQ("xxx", absl::FormatTime("xxx", t, tz)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime_zone_test.cc26 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 …]
Dformat_test.cc30 void TestFormatSpecifier(absl::Time t, absl::TimeZone tz, in TestFormatSpecifier() argument
32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier()
33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier()
34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier()
36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier()
44 absl::TimeZone tz = absl::UTCTimeZone(); in TEST() local
48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST()
49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
51 EXPECT_EQ("xxx", absl::FormatTime("xxx", t, tz)); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/
Dtime_zone_test.cc26 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 …]
Dformat_test.cc30 void TestFormatSpecifier(absl::Time t, absl::TimeZone tz, in TestFormatSpecifier() argument
32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier()
33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier()
34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier()
36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier()
44 absl::TimeZone tz = absl::UTCTimeZone(); in TEST() local
48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST()
49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
51 EXPECT_EQ("xxx", absl::FormatTime("xxx", t, tz)); in TEST()
[all …]
/external/abseil-cpp/absl/time/
Dtime_zone_test.cc26 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 …]
Dformat_test.cc30 void TestFormatSpecifier(absl::Time t, absl::TimeZone tz, in TestFormatSpecifier() argument
32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier()
33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier()
34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier()
36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier()
44 absl::TimeZone tz = absl::UTCTimeZone(); in TEST() local
48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST()
49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST()
51 EXPECT_EQ("xxx", absl::FormatTime("xxx", t, tz)); in TEST()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Dset-tz.c30 struct timezone tz; in set_tz() local
32 tz.tz_minuteswest = min; in set_tz()
33 tz.tz_dsttime = dst; in set_tz()
35 return settimeofday(0, &tz); in set_tz()
40 struct timezone tz; in get_tz_min() local
43 memset(&tz, 0, sizeof(tz)); in get_tz_min()
44 gettimeofday(&tv, &tz); in get_tz_min()
45 return tz.tz_minuteswest; in get_tz_min()
50 struct timezone tz; in get_tz_dst() local
53 memset(&tz, 0, sizeof(tz)); in get_tz_dst()
[all …]

12345678910>>...31