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

123

/external/pcre/dist/
H A Dpcrecpp_unittest.cc74 CHECK(pattern.FullMatch(p));
83 CHECK(pattern.FullMatch("ruby:1234", &i));
133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \
135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \
159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \
161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \
185 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v)); \
187 CHECK(RE("(-?[0-9a-fA-FxX]+)[uUlL]*").FullMatch(#value, CRadix(&v))); \
438 CHECK(RE("(foo)|hello").FullMatch("hello", &a));
458 CHECK(re.FullMatch(text_goo
[all...]
/external/chromium_org/third_party/re2/re2/testing/
H A Dre2_test.cc35 CHECK(RE2::FullMatch(#value, "([0-9a-fA-F]+)[uUlL]*", RE2::Hex(&v))); \
37 CHECK(RE2::FullMatch("0x" #value, "([0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \
59 CHECK(RE2::FullMatch(#value, "([0-7]+)[uUlL]*", RE2::Octal(&v))); \
61 CHECK(RE2::FullMatch("0" #value, "([0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \
83 CHECK(RE2::FullMatch(#value, "(-?[0-9]+)[uUlL]*", &v)); \
85 CHECK(RE2::FullMatch(#value, "(-?[0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \
346 CHECK(RE2::FullMatch("hello", "(foo)|hello", &a));
386 RE2::FullMatch(domain, re);
395 EXPECT_TRUE_M(RE2::FullMatch(unquoted, re),
405 EXPECT_FALSE_M(RE2::FullMatch(should_not_matc
[all...]
H A Dregexp_benchmark.cc71 PCRE::FullMatch(text, re);
80 PCRE::FullMatch(text, *re);
90 RE2::FullMatch(text, re);
867 CHECK_EQ(PCRE::FullMatch(text, re), expect_match);
879 CHECK_EQ(RE2::FullMatch(text, re), expect_match);
953 CHECK_EQ(PCRE::FullMatch(text, re), expect_match);
965 CHECK_EQ(RE2::FullMatch(text, re), expect_match);
1033 CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3));
1042 CHECK(RE2::FullMatch(text, re, &sp1, &sp2, &sp3));
1101 CHECK(PCRE::FullMatch(tex
[all...]
H A Dpossible_match_test.cc216 if (!RE2::FullMatch(s, re))
/external/regex-re2/re2/testing/
H A Dre2_test.cc28 CHECK(RE2::FullMatch(#value, "([0-9a-fA-F]+)[uUlL]*", RE2::Hex(&v))); \
30 CHECK(RE2::FullMatch("0x" #value, "([0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \
52 CHECK(RE2::FullMatch(#value, "([0-7]+)[uUlL]*", RE2::Octal(&v))); \
54 CHECK(RE2::FullMatch("0" #value, "([0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \
76 CHECK(RE2::FullMatch(#value, "(-?[0-9]+)[uUlL]*", &v)); \
78 CHECK(RE2::FullMatch(#value, "(-?[0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \
339 CHECK(RE2::FullMatch("hello", "(foo)|hello", &a));
379 RE2::FullMatch(domain, re);
388 EXPECT_TRUE_M(RE2::FullMatch(unquoted, re),
398 EXPECT_FALSE_M(RE2::FullMatch(should_not_matc
[all...]
H A Dregexp_benchmark.cc71 PCRE::FullMatch(text, re);
80 PCRE::FullMatch(text, *re);
90 RE2::FullMatch(text, re);
867 CHECK_EQ(PCRE::FullMatch(text, re), expect_match);
879 CHECK_EQ(RE2::FullMatch(text, re), expect_match);
953 CHECK_EQ(PCRE::FullMatch(text, re), expect_match);
965 CHECK_EQ(RE2::FullMatch(text, re), expect_match);
1033 CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3));
1042 CHECK(RE2::FullMatch(text, re, &sp1, &sp2, &sp3));
1101 CHECK(PCRE::FullMatch(tex
[all...]
H A Dpossible_match_test.cc216 if (!RE2::FullMatch(s, re))
/external/chromium_org/third_party/re2/
H A Dtestinstall.cc18 if(RE2::FullMatch("axbyc", "a.*b.*c")) {
/external/regex-re2/
H A Dtestinstall.cc18 if(RE2::FullMatch("axbyc", "a.*b.*c")) {
/external/chromium_org/extensions/common/
H A Dstack_frame.cc58 if (!re2::RE2::FullMatch(text,
61 !re2::RE2::FullMatch(text,
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhwid_checker.cc41 if (!RE2::FullMatch(hwid, "([\\s\\S]*) (\\d{4})", &body, &checksum))
65 if (!RE2::FullMatch(hwid, "[A-Z0-9]+ ((?:[A-Z2-7]{4}-)*[A-Z2-7]{1,4})", &bom))
96 if (!RE2::FullMatch(hwid, regex, &not_checksum, &checksum))
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_adapter.h119 inline bool FullMatch(const string& input_string, function in class:i18n::phonenumbers::RegExp
124 inline bool FullMatch(const string& input_string) const { function in class:i18n::phonenumbers::RegExp
H A Dshortnumberinfo.cc116 ? emergency_number_pattern->FullMatch(extracted_number)
H A Dregexp_adapter_re2.cc125 return DispatchRE2Call(RE2::FullMatch, input_string, utf8_regexp_,
H A Dphonenumberutil.cc194 .FullMatch(national_number) &&
196 .FullMatch(national_number);
352 if (number_pattern.FullMatch(number, &extracted_number)) {
762 return reg_exps_->digits_pattern_->FullMatch(s);
775 if (!reg_exps_->unwanted_end_char_pattern_->FullMatch(current_char)) {
795 return eligible_format_pattern.FullMatch(format);
806 first_group_only_prefix_pattern.FullMatch(
1164 reg_exps_->unique_international_prefix_->FullMatch(international_prefix)
1422 reg_exps_->unique_international_prefix_->FullMatch(international_prefix)
1461 if (pattern_to_match.FullMatch(national_numbe
[all...]
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc199 // Tests RE::FullMatch().
202 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
203 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
206 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
207 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
208 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
209 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
660 // Tests RE::FullMatch().
663 EXPECT_TRUE(RE::FullMatch("", empty));
664 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/chromium_org/testing/gtest/test/
H A Dgtest-port_test.cc440 // Tests RE::FullMatch().
443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
444 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
447 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
448 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
449 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
450 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
903 // Tests RE::FullMatch().
906 EXPECT_TRUE(RE::FullMatch("", empty));
907 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/gtest/test/
H A Dgtest-port_test.cc440 // Tests RE::FullMatch().
443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
444 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
447 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
448 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
449 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
450 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
903 // Tests RE::FullMatch().
906 EXPECT_TRUE(RE::FullMatch("", empty));
907 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/chromium_org/third_party/libaddressinput/src/cpp/src/util/
H A Dstring_compare.cc71 return RE2::FullMatch(a, matcher);
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h639 // FullMatch(str, re) returns true iff regular expression re matches
644 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
647 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
648 return FullMatch(str.c_str(), re);
656 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
657 return FullMatch(str.c_str(), re);
664 static bool FullMatch(const char* str, const RE& re);
677 regex_t full_regex_; // For FullMatch().
680 const char* full_pattern_; // For FullMatch();
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
H A Daddress_input_helper.cc137 RE2::FullMatch(address->postal_code, *postal_code_reg_exp->ptr)) {
/external/chromium_org/tools/ipc_fuzzer/mutate/
H A Dmessage_util.cc70 return RE2::FullMatch(MessageName(msg), pattern);
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-port.h1174 // FullMatch(str, re) returns true iff regular expression re matches
1179 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
1181 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
1182 return FullMatch(str.c_str(), re);
1190 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
1191 return FullMatch(str.c_str(), re);
1199 static bool FullMatch(const char* str, const RE& re);
1213 regex_t full_regex_; // For FullMatch().
1218 const char* full_pattern_; // For FullMatch();
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-port.h830 // FullMatch(str, re) returns true iff regular expression re matches
835 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
837 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
838 return FullMatch(str.c_str(), re);
846 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
847 return FullMatch(str.c_str(), re);
855 static bool FullMatch(const char* str, const RE& re);
870 regex_t full_regex_; // For FullMatch().
875 const char* full_pattern_; // For FullMatch();
/external/gtest/include/gtest/internal/
H A Dgtest-port.h947 // FullMatch(str, re) returns true iff regular expression re matches
952 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
954 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
955 return FullMatch(str.c_str(), re);
963 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
964 return FullMatch(str.c_str(), re);
972 static bool FullMatch(const char* str, const RE& re);
986 regex_t full_regex_; // For FullMatch().
991 const char* full_pattern_; // For FullMatch();

Completed in 482 milliseconds

123