Searched refs:CivilYear (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | civil_time_test.cc | 42 absl::CivilYear y; in TEST() 121 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3, 4, 5))); in TEST() 123 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3, 4))); in TEST() 125 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3))); in TEST() 127 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2))); in TEST() 129 absl::FormatCivilTime(absl::CivilYear(2015, 1))); in TEST() 131 absl::FormatCivilTime(absl::CivilYear(2015))); in TEST() 173 EXPECT_EQ(absl::CivilYear(kYearMax), in TEST() 174 absl::CivilYear::max()); in TEST() 188 EXPECT_EQ(absl::CivilYear(kYearMin), in TEST() [all …]
|
D | civil_time.h | 333 using CivilYear = variable 461 std::string FormatCivilTime(CivilYear c); 492 bool ParseCivilTime(absl::string_view s, CivilYear* c); 512 bool ParseLenientCivilTime(absl::string_view s, CivilYear* c); 526 std::ostream& operator<<(std::ostream& os, CivilYear y);
|
D | civil_time.cc | 93 if (ParseAs<CivilYear>(s, c)) return true; in ParseLenient() 109 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() 126 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() 145 bool ParseLenientCivilTime(string_view s, CivilYear* c) { in ParseLenientCivilTime() 151 std::ostream& operator<<(std::ostream& os, CivilYear y) { in operator <<()
|
D | civil_time_benchmark.cc | 103 BM_CivilTimeAbslHash<absl::CivilYear>(state); in BM_CivilYearAbslHash()
|
D | time.h | 1140 inline CivilYear ToCivilYear(Time t, TimeZone tz) { in ToCivilYear() 1141 return CivilYear(tz.At(t).cs); in ToCivilYear()
|
D | time_test.cc | 1170 t = absl::FromCivil(absl::CivilYear(cs), utc); in TEST()
|
/third_party/abseil-cpp/absl/time/ |
D | civil_time_test.cc | 42 absl::CivilYear y; in TEST() 121 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3, 4, 5))); in TEST() 123 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3, 4))); in TEST() 125 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3))); in TEST() 127 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2))); in TEST() 129 absl::FormatCivilTime(absl::CivilYear(2015, 1))); in TEST() 131 absl::FormatCivilTime(absl::CivilYear(2015))); in TEST() 173 EXPECT_EQ(absl::CivilYear(kYearMax), in TEST() 174 absl::CivilYear::max()); in TEST() 188 EXPECT_EQ(absl::CivilYear(kYearMin), in TEST() [all …]
|
D | civil_time.h | 333 using CivilYear = variable 461 std::string FormatCivilTime(CivilYear c); 492 bool ParseCivilTime(absl::string_view s, CivilYear* c); 512 bool ParseLenientCivilTime(absl::string_view s, CivilYear* c); 526 std::ostream& operator<<(std::ostream& os, CivilYear y);
|
D | civil_time.cc | 95 if (ParseAs<CivilYear>(s, c)) return true; in ParseLenient() 111 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() 128 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() 147 bool ParseLenientCivilTime(string_view s, CivilYear* c) { in ParseLenientCivilTime() 153 std::ostream& operator<<(std::ostream& os, CivilYear y) { in operator <<()
|
D | civil_time_benchmark.cc | 103 BM_CivilTimeAbslHash<absl::CivilYear>(state); in BM_CivilYearAbslHash()
|
D | time.h | 1091 inline CivilYear ToCivilYear(Time t, TimeZone tz) { in ToCivilYear() 1092 return CivilYear(tz.At(t).cs); in ToCivilYear()
|
D | time_test.cc | 1166 t = absl::FromCivil(absl::CivilYear(cs), utc); in TEST()
|