Home
last modified time | relevance | path

Searched refs:PartialMatch (Results 1 - 18 of 18) sorted by relevance

/third_party/googletest/googletest/test/
H A Dgoogletest-port-test.cc443 // Tests RE::PartialMatch().
446 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
447 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
450 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
451 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
452 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
453 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
454 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
903 // Tests RE::PartialMatch().
906 EXPECT_TRUE(RE::PartialMatch("", empt in TEST()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dregexp_adapter.h146 inline bool PartialMatch(const string& input_string, in PartialMatch() function in i18n::phonenumbers::RegExp
151 inline bool PartialMatch(const string& input_string) const { in PartialMatch() function in i18n::phonenumbers::RegExp
H A Dphonenumbermatcher.cc470 reg_exps_->pub_pages_->PartialMatch(candidate)) { in ParseAndVerify()
623 if (reg_exps_->slash_separated_dates_->PartialMatch(candidate)) { in ExtractMatch()
628 if (reg_exps_->time_stamps_->PartialMatch(candidate)) { in ExtractMatch()
691 PartialMatch(candidate, &candidate); in Find()
H A Dasyoutypeformatter.cc236 national_prefix_separators_pattern->PartialMatch( in SetShouldAddSpaceAfterNationalPrefix()
H A Dphonenumberutil.cc2386 PartialMatch(*extracted_number, extracted_number); in ExtractPossibleNumber()
2760 if (reg_exps_->valid_alpha_phone_pattern_->PartialMatch(*number)) { in Normalize()
2792 if (reg_exps_->capturing_digit_pattern_->PartialMatch( in ParsePrefixAsIdd()
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dregexp_adapter_test.cc204 EXPECT_TRUE(reg_exp->PartialMatch("12345af", &matched)) in TEST_F()
208 EXPECT_TRUE(reg_exp->PartialMatch("12345af", NULL)) in TEST_F()
211 EXPECT_TRUE(reg_exp->PartialMatch("[12]", &matched)) in TEST_F()
216 EXPECT_FALSE(reg_exp->PartialMatch("[]", &matched)) in TEST_F()
/third_party/googletest/googletest/include/gtest/
H A Dgtest-death-test.h320 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-matchers.h847 : RE::PartialMatch(s2, *regex_); in MatchAndExplain()
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest-death-test.h318 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-matchers.h649 : RE::PartialMatch(s2, *regex_); in MatchAndExplain()
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-death-test.h320 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-matchers.h814 : RE::PartialMatch(s2, *regex_); in MatchAndExplain()
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h901 static bool PartialMatch(absl::string_view str, const RE& re) { in PartialMatch() function in testing::internal::RE
902 return RE2::PartialMatch(str, re.regex_); in PartialMatch()
930 // PartialMatch(str, re) returns true if and only if regular expression re
935 static bool PartialMatch(const ::std::string& str, const RE& re) { in PartialMatch() function in testing::internal::RE
936 return PartialMatch(str.c_str(), re); in PartialMatch()
940 static bool PartialMatch(const char* str, const RE& re);
950 regex_t partial_regex_; // For PartialMatch().
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-port.h970 static bool PartialMatch(absl::string_view str, const RE& re) { in PartialMatch() function in testing::internal::RE
971 return RE2::PartialMatch(str, re.regex_); in PartialMatch()
1001 // PartialMatch(str, re) returns true if and only if regular expression re
1006 static bool PartialMatch(const ::std::string& str, const RE& re) { in PartialMatch() function in testing::internal::RE
1007 return PartialMatch(str.c_str(), re); in PartialMatch()
1011 static bool PartialMatch(const char* str, const RE& re);
1021 regex_t partial_regex_; // For PartialMatch().
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-port.h891 // PartialMatch(str, re) returns true if and only if regular expression re
896 static bool PartialMatch(const ::std::string& str, const RE& re) { in PartialMatch() function in testing::internal::RE
897 return PartialMatch(str.c_str(), re); in PartialMatch()
901 static bool PartialMatch(const char* str, const RE& re);
911 regex_t partial_regex_; // For PartialMatch().
/third_party/googletest/googletest/src/
H A Dgtest-port.cc684 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
935 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
/third_party/mesa3d/src/gtest/src/
H A Dgtest-port.cc728 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
974 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
/third_party/node/deps/googletest/src/
H A Dgtest-port.cc689 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
948 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE

Completed in 33 milliseconds