Home
last modified time | relevance | path

Searched refs:FullMatch (Results 1 - 19 of 19) sorted by relevance

/third_party/googletest/googletest/test/
H A Dgoogletest-port-test.cc430 // Tests RE::FullMatch().
433 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
434 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
437 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
438 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
439 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re)); in TYPED_TEST()
440 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re)); in TYPED_TEST()
887 // Tests RE::FullMatch().
890 EXPECT_TRUE(RE::FullMatch("", empty)); in TEST()
891 EXPECT_FALSE(RE::FullMatch(" in TEST()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dregexp_adapter.h155 inline bool FullMatch(const string& input_string, in FullMatch() function in i18n::phonenumbers::RegExp
160 inline bool FullMatch(const string& input_string) const { in FullMatch() function in i18n::phonenumbers::RegExp
H A Dregex_based_matcher.cc57 if (regexp.FullMatch(number)) { in Match()
H A Dphonenumberutil.cc1008 return reg_exps_->digits_pattern_->FullMatch(s); in ContainsOnlyValidDigits()
1026 if (!reg_exps_->unwanted_end_char_pattern_->FullMatch(current_char)) { in TrimUnwantedEndChars()
1049 return eligible_format_pattern.FullMatch(format); in IsFormatEligibleForAsYouTypeFormatter()
1060 first_group_only_prefix_pattern.FullMatch( in FormattingRuleHasFirstGroupOnly()
1439 } else if (reg_exps_->single_international_prefix_->FullMatch( in FormatOutOfCountryCallingNumber()
1696 reg_exps_->single_international_prefix_->FullMatch(international_prefix) in FormatOutOfCountryKeepingAlphaChars()
1736 if (pattern_to_match.FullMatch(national_number)) { in ChooseFormattingPatternForNumber()
2365 if (reg_exps_->valid_start_char_pattern_->FullMatch(current_char)) { in ExtractPossibleNumber()
2738 return reg_exps_->valid_alpha_phone_pattern_->FullMatch(number_copy); in IsAlphaNumber()
2776 return reg_exps_->valid_phone_number_pattern_->FullMatch(numbe in IsViablePhoneNumber()
[all...]
H A Dasyoutypeformatter.cc476 if (regexp_cache_.GetRegExp(pattern).FullMatch(national_number_)) { in AttemptToFormatAccruedDigits()
H A Dphonenumbermatcher.cc469 if (!reg_exps_->matching_brackets_->FullMatch(candidate) || in ParseAndVerify()
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dregexp_adapter_test.cc230 EXPECT_TRUE(reg_exp->FullMatch("12345af", &matched)) in TEST_F()
234 EXPECT_TRUE(reg_exp->FullMatch("12345af", NULL)) << ErrorMessage(context); in TEST_F()
237 EXPECT_FALSE(reg_exp->FullMatch("[12]", &matched)) << ErrorMessage(context); in TEST_F()
241 EXPECT_FALSE(reg_exp->FullMatch("[]", &matched)) << ErrorMessage(context); in TEST_F()
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h898 static bool FullMatch(absl::string_view str, const RE& re) { in FullMatch() function in testing::internal::RE
899 return RE2::FullMatch(str, re.regex_); in FullMatch()
928 // FullMatch(str, re) returns true if and only if regular expression re
932 static bool FullMatch(const ::std::string& str, const RE& re) { in FullMatch() function in testing::internal::RE
933 return FullMatch(str.c_str(), re); in FullMatch()
939 static bool FullMatch(const char* str, const RE& re);
949 regex_t full_regex_; // For FullMatch().
954 const char* full_pattern_; // For FullMatch();
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-port.h967 static bool FullMatch(absl::string_view str, const RE& re) { in FullMatch() function in testing::internal::RE
968 return RE2::FullMatch(str, re.regex_); in FullMatch()
999 // FullMatch(str, re) returns true if and only if regular expression re
1003 static bool FullMatch(const ::std::string& str, const RE& re) { in FullMatch() function in testing::internal::RE
1004 return FullMatch(str.c_str(), re); in FullMatch()
1010 static bool FullMatch(const char* str, const RE& re);
1020 regex_t full_regex_; // For FullMatch().
1025 std::string full_pattern_; // For FullMatch();
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-port.h889 // FullMatch(str, re) returns true if and only if regular expression re
893 static bool FullMatch(const ::std::string& str, const RE& re) { in FullMatch() function in testing::internal::RE
894 return FullMatch(str.c_str(), re); in FullMatch()
900 static bool FullMatch(const char* str, const RE& re);
910 regex_t full_regex_; // For FullMatch().
915 const char* full_pattern_; // For FullMatch();
/third_party/googletest/googletest/src/
H A Dgtest-port.cc675 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
929 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/third_party/mesa3d/src/gtest/src/
H A Dgtest-port.cc719 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
968 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/third_party/node/deps/googletest/src/
H A Dgtest-port.cc680 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
942 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileCheck.cpp660 StringRef FullMatch = MatchInfo[0]; in match() local
690 MatchLen = FullMatch.size() - MatchStartSkip; in match()
691 return FullMatch.data() - Buffer.data() + MatchStartSkip; in match()
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest-matchers.h648 return full_match_ ? RE::FullMatch(s2, *regex_) in MatchAndExplain()
/third_party/googletest/googletest/include/gtest/
H A Dgtest-matchers.h846 return full_match_ ? RE::FullMatch(s2, *regex_) in MatchAndExplain()
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-matchers.h813 return full_match_ ? RE::FullMatch(s2, *regex_) in MatchAndExplain()
/third_party/googletest/googlemock/test/
H A Dgmock-matchers-misc_test.cc760 TEST(VariantTest, FullMatch) { in TEST()
805 TEST(AnyWithTest, FullMatch) { in TEST()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc7024 FullMatch(filename, "file", ".proto", &file_num); in FindFileByName()
7034 FullMatch(symbol_name, "Message", "", &file_num); in FindFileContainingSymbol()
7048 void FullMatch(const std::string& name, const std::string& begin_with, in FullMatch() function in google::protobuf::descriptor_unittest::ExponentialErrorDatabase

Completed in 48 milliseconds