/external/angle/third_party/abseil-cpp/absl/time/ |
D | format_test.cc | 142 TEST(ParseTime, Basics) { in TEST() argument 147 EXPECT_TRUE(absl::ParseTime("", "", &t, &err)) << err; in TEST() 149 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 150 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 151 EXPECT_TRUE(absl::ParseTime("x", "x", &t, &err)) << err; in TEST() 152 EXPECT_TRUE(absl::ParseTime("xxx", "xxx", &t, &err)) << err; in TEST() 154 EXPECT_TRUE(absl::ParseTime("%Y-%m-%d %H:%M:%S %z", in TEST() 162 TEST(ParseTime, NullErrorString) { in TEST() argument 164 EXPECT_FALSE(absl::ParseTime("%Q", "invalid format", &t, nullptr)); in TEST() 165 EXPECT_FALSE(absl::ParseTime("%H", "12 trailing data", &t, nullptr)); in TEST() [all …]
|
D | format.cc | 91 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 98 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 145 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in AbslParseFlag() 152 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in ParseFlag()
|
D | format_benchmark.cc | 59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
|
/external/openscreen/third_party/abseil/src/absl/time/ |
D | format_test.cc | 142 TEST(ParseTime, Basics) { in TEST() argument 147 EXPECT_TRUE(absl::ParseTime("", "", &t, &err)) << err; in TEST() 149 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 150 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 151 EXPECT_TRUE(absl::ParseTime("x", "x", &t, &err)) << err; in TEST() 152 EXPECT_TRUE(absl::ParseTime("xxx", "xxx", &t, &err)) << err; in TEST() 154 EXPECT_TRUE(absl::ParseTime("%Y-%m-%d %H:%M:%S %z", in TEST() 162 TEST(ParseTime, NullErrorString) { in TEST() argument 164 EXPECT_FALSE(absl::ParseTime("%Q", "invalid format", &t, nullptr)); in TEST() 165 EXPECT_FALSE(absl::ParseTime("%H", "12 trailing data", &t, nullptr)); in TEST() [all …]
|
D | format.cc | 91 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 98 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 145 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in AbslParseFlag() 152 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in ParseFlag()
|
D | format_benchmark.cc | 59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
|
D | civil_time.cc | 62 if (ParseTime(StrCat("%Y", fmt), norm, utc, &t, nullptr)) { in ParseYearAnd()
|
/external/webrtc/third_party/abseil-cpp/absl/time/ |
D | format_test.cc | 142 TEST(ParseTime, Basics) { in TEST() argument 147 EXPECT_TRUE(absl::ParseTime("", "", &t, &err)) << err; in TEST() 149 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 150 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 151 EXPECT_TRUE(absl::ParseTime("x", "x", &t, &err)) << err; in TEST() 152 EXPECT_TRUE(absl::ParseTime("xxx", "xxx", &t, &err)) << err; in TEST() 154 EXPECT_TRUE(absl::ParseTime("%Y-%m-%d %H:%M:%S %z", in TEST() 162 TEST(ParseTime, NullErrorString) { in TEST() argument 164 EXPECT_FALSE(absl::ParseTime("%Q", "invalid format", &t, nullptr)); in TEST() 165 EXPECT_FALSE(absl::ParseTime("%H", "12 trailing data", &t, nullptr)); in TEST() [all …]
|
D | format.cc | 91 bool ParseTime(const std::string& format, const std::string& input, in ParseTime() function 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 98 bool ParseTime(const std::string& format, const std::string& input, in ParseTime() function 137 return absl::ParseTime(RFC3339_full, std::string(text), absl::UTCTimeZone(), in AbslParseFlag() 145 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in ParseFlag()
|
D | format_benchmark.cc | 59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
|
/external/abseil-cpp/absl/time/ |
D | format_test.cc | 142 TEST(ParseTime, Basics) { in TEST() argument 147 EXPECT_TRUE(absl::ParseTime("", "", &t, &err)) << err; in TEST() 149 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 150 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 151 EXPECT_TRUE(absl::ParseTime("x", "x", &t, &err)) << err; in TEST() 152 EXPECT_TRUE(absl::ParseTime("xxx", "xxx", &t, &err)) << err; in TEST() 154 EXPECT_TRUE(absl::ParseTime("%Y-%m-%d %H:%M:%S %z", in TEST() 162 TEST(ParseTime, NullErrorString) { in TEST() argument 164 EXPECT_FALSE(absl::ParseTime("%Q", "invalid format", &t, nullptr)); in TEST() 165 EXPECT_FALSE(absl::ParseTime("%H", "12 trailing data", &t, nullptr)); in TEST() [all …]
|
D | format.cc | 91 bool ParseTime(const std::string& format, const std::string& input, in ParseTime() function 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 98 bool ParseTime(const std::string& format, const std::string& input, in ParseTime() function 137 return absl::ParseTime(RFC3339_full, std::string(text), absl::UTCTimeZone(), in AbslParseFlag() 145 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in ParseFlag()
|
D | format_benchmark.cc | 59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
|
/external/libtextclassifier/abseil-cpp/absl/time/ |
D | format_test.cc | 142 TEST(ParseTime, Basics) { in TEST() argument 147 EXPECT_TRUE(absl::ParseTime("", "", &t, &err)) << err; in TEST() 149 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 150 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 151 EXPECT_TRUE(absl::ParseTime("x", "x", &t, &err)) << err; in TEST() 152 EXPECT_TRUE(absl::ParseTime("xxx", "xxx", &t, &err)) << err; in TEST() 154 EXPECT_TRUE(absl::ParseTime("%Y-%m-%d %H:%M:%S %z", in TEST() 162 TEST(ParseTime, NullErrorString) { in TEST() argument 164 EXPECT_FALSE(absl::ParseTime("%Q", "invalid format", &t, nullptr)); in TEST() 165 EXPECT_FALSE(absl::ParseTime("%H", "12 trailing data", &t, nullptr)); in TEST() [all …]
|
D | format.cc | 91 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 98 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 145 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in AbslParseFlag() 152 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in ParseFlag()
|
D | format_benchmark.cc | 59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
D | format_test.cc | 142 TEST(ParseTime, Basics) { in TEST() argument 147 EXPECT_TRUE(absl::ParseTime("", "", &t, &err)) << err; in TEST() 149 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 150 EXPECT_TRUE(absl::ParseTime(" ", " ", &t, &err)) << err; in TEST() 151 EXPECT_TRUE(absl::ParseTime("x", "x", &t, &err)) << err; in TEST() 152 EXPECT_TRUE(absl::ParseTime("xxx", "xxx", &t, &err)) << err; in TEST() 154 EXPECT_TRUE(absl::ParseTime("%Y-%m-%d %H:%M:%S %z", in TEST() 162 TEST(ParseTime, NullErrorString) { in TEST() argument 164 EXPECT_FALSE(absl::ParseTime("%Q", "invalid format", &t, nullptr)); in TEST() 165 EXPECT_FALSE(absl::ParseTime("%H", "12 trailing data", &t, nullptr)); in TEST() [all …]
|
D | format.cc | 91 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 93 return absl::ParseTime(format, input, absl::UTCTimeZone(), time, err); in ParseTime() 98 bool ParseTime(absl::string_view format, absl::string_view input, in ParseTime() function 145 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in AbslParseFlag() 152 return absl::ParseTime(RFC3339_full, text, absl::UTCTimeZone(), t, error); in ParseFlag()
|
D | format_benchmark.cc | 59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
|
D | civil_time.cc | 62 if (ParseTime(StrCat("%Y", fmt), norm, utc, &t, nullptr)) { in ParseYearAnd()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | time_test.cc | 235 ASSERT_TRUE(ParseTime("0001-01-01T00:00:00Z", &seconds, &nanos)); in TEST() 237 ASSERT_TRUE(ParseTime("9999-12-31T23:59:59.999999999Z", &seconds, &nanos)); in TEST() 241 ASSERT_TRUE(ParseTime("1970-01-01T00:00:00-08:00", &seconds, &nanos)); in TEST() 243 ASSERT_TRUE(ParseTime("1970-01-01T00:00:00+08:00", &seconds, &nanos)); in TEST() 247 ASSERT_TRUE(ParseTime("1970-01-01T00:00:00.01Z", &seconds, &nanos)); in TEST() 249 ASSERT_TRUE(ParseTime("1970-01-01T00:00:00.00001-08:00", &seconds, &nanos)); in TEST() 251 ASSERT_TRUE(ParseTime("1970-01-01T00:00:00.00000001+08:00", &seconds, &nanos)); in TEST() 254 ASSERT_TRUE(ParseTime("1970-01-01T00:00:00.0123456789Z", &seconds, &nanos)); in TEST()
|
D | time.h | 71 bool PROTOBUF_EXPORT ParseTime(const string& value, int64* seconds,
|
/external/libwebm/webvtt/ |
D | webvttparser.cc | 319 int e = ParseTime(line, &idx, start_time); in ParseTimingsLine() 339 e = ParseTime(line, &idx, stop_time); in ParseTimingsLine() 350 int Parser::ParseTime(const std::string& line, std::string::size_type* idx_ptr, in ParseTime() function in libwebvtt::Parser
|
D | webvttparser.h | 131 static int ParseTime(const std::string& line, std::string::size_type* off,
|
/external/protobuf/src/google/protobuf/util/ |
D | time_util.cc | 122 bool ParseTime(const std::string& value, int64* seconds, int32* nanos) { in ParseTime() function 123 return ::google::protobuf::internal::ParseTime(value, seconds, nanos); in ParseTime() 163 if (!ParseTime(value, &seconds, &nanos)) { in FromString()
|