Home
last modified time | relevance | path

Searched refs:ParseTime (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dformat_test.cc142 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 …]
Dformat.cc91 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()
Dformat_benchmark.cc59 benchmark::DoNotOptimize(absl::ParseTime(fmt, when, lax, &t, &err)); in BM_Format_ParseTime()
Dcivil_time.cc60 if (ParseTime(StrCat("%Y", fmt), norm, utc, &t, nullptr)) { in ParseYearAnd()
Dtime.h1368 bool ParseTime(absl::string_view format, absl::string_view input, Time* time,
1378 bool ParseTime(absl::string_view format, absl::string_view input, TimeZone tz,
/third_party/protobuf/src/google/protobuf/stubs/
Dtime_test.cc235 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()
Dtime.h71 bool PROTOBUF_EXPORT ParseTime(const string& value, int64* seconds,
Dtime.cc285 bool ParseTime(const string& value, int64* seconds, int32* nanos) { in ParseTime() function
/third_party/protobuf/src/google/protobuf/util/
Dtime_util.cc121 bool ParseTime(const std::string& value, int64* seconds, int32* nanos) { in ParseTime() function
122 return ::google::protobuf::internal::ParseTime(value, seconds, nanos); in ParseTime()
162 if (!ParseTime(value, &seconds, &nanos)) { in FromString()
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc1009 if (!::google::protobuf::internal::ParseTime(value.ToString(), &seconds, in RenderTimestamp()
/third_party/protobuf/
Dlibprotobuf_lite.map407 …"google::protobuf::internal::ParseTime(std::__h::basic_string<char, std::__h::char_traits<char>, s…
436 …"google::protobuf::internal::ParseTime(std::__cxx11::basic_string<char, std::char_traits<char>, st…
495 …"google::protobuf::internal::ParseTime(std::__1::basic_string<char, std::__1::char_traits<char>, s…
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_x64_rel.def594 …?ParseTime@absl@@YA_NVstring_view@1@0PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@__1@std@@V?$a…
595 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@_…
Dsymbols_arm64_rel.def589 …?ParseTime@absl@@YA_NVstring_view@1@0PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@__1@std@@V?$a…
590 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@_…
Dsymbols_x86_rel.def591 …?ParseTime@absl@@YA_NVstring_view@1@0PAVTime@1@PAV?$basic_string@DU?$char_traits@D@__1@std@@V?$all…
592 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PAVTime@1@PAV?$basic_string@DU?$char_traits@D@__1…
Dsymbols_x64_rel_asan.def607 …?ParseTime@absl@@YA_NVstring_view@1@0PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@__1@std@@V?$a…
608 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@_…
Dsymbols_x86_dbg.def2251 …?ParseTime@absl@@YA_NVstring_view@1@0PAVTime@1@PAV?$basic_string@DU?$char_traits@D@__1@std@@V?$all…
2252 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PAVTime@1@PAV?$basic_string@DU?$char_traits@D@__1…
Dsymbols_x64_dbg.def2257 …?ParseTime@absl@@YA_NVstring_view@1@0PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@__1@std@@V?$a…
2258 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@_…
Dsymbols_arm64_dbg.def2255 …?ParseTime@absl@@YA_NVstring_view@1@0PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@__1@std@@V?$a…
2256 …?ParseTime@absl@@YA_NVstring_view@1@0VTimeZone@1@PEAVTime@1@PEAV?$basic_string@DU?$char_traits@D@_…