Home
last modified time | relevance | path

Searched refs:ParseCivilTime (Results 1 – 25 of 56) sorted by relevance

123

/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dcivil_time.cc76 if (ParseCivilTime(s, &t1)) { in ParseAs()
87 if (ParseCivilTime(s, c)) return true; in ParseLenient()
113 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
116 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
119 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
122 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
125 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
128 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time.h487 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
488 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
489 bool ParseCivilTime(absl::string_view s, CivilHour* c);
490 bool ParseCivilTime(absl::string_view s, CivilDay* c);
491 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
492 bool ParseCivilTime(absl::string_view s, CivilYear* c);
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/
Dcivil_time.cc76 if (ParseCivilTime(s, &t1)) { in ParseAs()
87 if (ParseCivilTime(s, c)) return true; in ParseLenient()
113 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
116 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
119 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
122 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
125 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
128 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time.h487 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
488 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
489 bool ParseCivilTime(absl::string_view s, CivilHour* c);
490 bool ParseCivilTime(absl::string_view s, CivilDay* c);
491 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
492 bool ParseCivilTime(absl::string_view s, CivilYear* c);
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
Dcivil_time_benchmark.cc73 const bool b = absl::ParseCivilTime(f, &c); in BM_Parse()
83 const bool b = absl::ParseCivilTime(absl::FormatCivilTime(c), &out); in BM_RoundTripFormatParse()
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/
Dcivil_time.cc74 if (ParseCivilTime(s, &t1)) { in ParseAs()
85 if (ParseCivilTime(s, c)) return true; in ParseLenient()
111 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
114 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
117 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
120 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
123 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
126 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time.h487 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
488 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
489 bool ParseCivilTime(absl::string_view s, CivilHour* c);
490 bool ParseCivilTime(absl::string_view s, CivilDay* c);
491 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
492 bool ParseCivilTime(absl::string_view s, CivilYear* c);
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
/external/abseil-cpp/absl/time/
Dcivil_time.cc74 if (ParseCivilTime(s, &t1)) { in ParseAs()
85 if (ParseCivilTime(s, c)) return true; in ParseLenient()
111 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
114 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
117 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
120 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
123 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
126 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time.h487 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
488 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
489 bool ParseCivilTime(absl::string_view s, CivilHour* c);
490 bool ParseCivilTime(absl::string_view s, CivilDay* c);
491 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
492 bool ParseCivilTime(absl::string_view s, CivilYear* c);
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/time/
Dcivil_time.cc76 if (ParseCivilTime(s, &t1)) { in ParseAs()
87 if (ParseCivilTime(s, c)) return true; in ParseLenient()
113 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
116 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
119 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
122 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
125 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
128 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time.h487 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
488 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
489 bool ParseCivilTime(absl::string_view s, CivilHour* c);
490 bool ParseCivilTime(absl::string_view s, CivilDay* c);
491 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
492 bool ParseCivilTime(absl::string_view s, CivilYear* c);
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/
Dcivil_time.cc75 if (ParseCivilTime(s, &t1)) { in ParseAs()
86 if (ParseCivilTime(s, c)) return true; in ParseLenient()
112 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
115 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
118 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
121 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
124 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
127 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
Dcivil_time.h489 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
490 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
491 bool ParseCivilTime(absl::string_view s, CivilHour* c);
492 bool ParseCivilTime(absl::string_view s, CivilDay* c);
493 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
494 bool ParseCivilTime(absl::string_view s, CivilYear* c);
/external/cronet/third_party/abseil-cpp/absl/time/
Dcivil_time.cc75 if (ParseCivilTime(s, &t1)) { in ParseAs()
86 if (ParseCivilTime(s, c)) return true; in ParseLenient()
112 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
115 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
118 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
121 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
124 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
127 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
Dcivil_time.h489 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
490 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
491 bool ParseCivilTime(absl::string_view s, CivilHour* c);
492 bool ParseCivilTime(absl::string_view s, CivilDay* c);
493 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
494 bool ParseCivilTime(absl::string_view s, CivilYear* c);
/external/angle/third_party/abseil-cpp/absl/time/
Dcivil_time.cc75 if (ParseCivilTime(s, &t1)) { in ParseAs()
86 if (ParseCivilTime(s, c)) return true; in ParseLenient()
112 bool ParseCivilTime(string_view s, CivilSecond* c) { in ParseCivilTime() function
115 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() function
118 bool ParseCivilTime(string_view s, CivilHour* c) { in ParseCivilTime() function
121 bool ParseCivilTime(string_view s, CivilDay* c) { in ParseCivilTime() function
124 bool ParseCivilTime(string_view s, CivilMonth* c) { in ParseCivilTime() function
127 bool ParseCivilTime(string_view s, CivilYear* c) { in ParseCivilTime() function
Dcivil_time_test.cc702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
[all …]
Dcivil_time.h489 bool ParseCivilTime(absl::string_view s, CivilSecond* c);
490 bool ParseCivilTime(absl::string_view s, CivilMinute* c);
491 bool ParseCivilTime(absl::string_view s, CivilHour* c);
492 bool ParseCivilTime(absl::string_view s, CivilDay* c);
493 bool ParseCivilTime(absl::string_view s, CivilMonth* c);
494 bool ParseCivilTime(absl::string_view s, CivilYear* c);

123