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

12

/external/pcre/pcrecpp/
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))); \
441 CHECK(RE("(foo)|hello").FullMatch("hello", &a));
461 CHECK(re.FullMatch(text_goo
[all...]
/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/regex-re2/
H A Dtestinstall.cc18 if(RE2::FullMatch("axbyc", "a.*b.*c")) {
/external/google-breakpad/src/testing/gtest/test/
H A Dgtest-port_test.cc403 // Tests RE::FullMatch().
406 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
407 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
410 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
411 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
412 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
413 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
866 // Tests RE::FullMatch().
869 EXPECT_TRUE(RE::FullMatch("", empty));
870 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/googletest/googletest/test/
H A Dgtest-port_test.cc435 // Tests RE::FullMatch().
438 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
439 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
442 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
443 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
444 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
445 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
898 // Tests RE::FullMatch().
901 EXPECT_TRUE(RE::FullMatch("", empty));
902 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc210 // Tests RE::FullMatch().
213 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
214 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
217 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
218 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
219 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
220 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
673 // Tests RE::FullMatch().
676 EXPECT_TRUE(RE::FullMatch("", empty));
677 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/v8/testing/gtest/test/
H A Dgtest-port_test.cc435 // Tests RE::FullMatch().
438 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
439 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
442 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
443 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
444 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
445 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
898 // Tests RE::FullMatch().
901 EXPECT_TRUE(RE::FullMatch("", empty));
902 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/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/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h677 // FullMatch(str, re) returns true iff regular expression re matches
682 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
684 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
685 return FullMatch(str.c_str(), re);
692 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
693 return FullMatch(str.c_str(), re);
700 static bool FullMatch(const char* str, const RE& re);
713 regex_t full_regex_; // For FullMatch().
716 const char* full_pattern_; // For FullMatch();
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-port.h854 // FullMatch(str, re) returns true iff regular expression re matches
859 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
861 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
862 return FullMatch(str.c_str(), re);
870 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
871 return FullMatch(str.c_str(), re);
879 static bool FullMatch(const char* str, const RE& re);
894 regex_t full_regex_; // For FullMatch().
899 const char* full_pattern_; // For FullMatch();
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h843 // FullMatch(str, re) returns true iff regular expression re matches
848 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
850 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
851 return FullMatch(str.c_str(), re);
859 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
860 return FullMatch(str.c_str(), re);
868 static bool FullMatch(const char* str, const RE& re);
883 regex_t full_regex_; // For FullMatch().
888 const char* full_pattern_; // For FullMatch();
/external/mesa3d/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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h835 // FullMatch(str, re) returns true iff regular expression re matches
840 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
842 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
843 return FullMatch(str.c_str(), re);
851 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
852 return FullMatch(str.c_str(), re);
860 static bool FullMatch(const char* str, const RE& re);
875 regex_t full_regex_; // For FullMatch().
880 const char* full_pattern_; // For FullMatch();
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-port.h961 // FullMatch(str, re) returns true iff regular expression re matches
966 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
968 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
969 return FullMatch(str.c_str(), re);
977 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
978 return FullMatch(str.c_str(), re);
986 static bool FullMatch(const char* str, const RE& re);
1000 regex_t full_regex_; // For FullMatch().
1005 const char* full_pattern_; // For FullMatch();
/external/swiftshader/third_party/LLVM/utils/FileCheck/
H A DFileCheck.cpp334 StringRef FullMatch = MatchInfo[0]; local
343 MatchLen = FullMatch.size();
344 return FullMatch.data()-Buffer.data();
/external/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc128 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
381 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
/external/mesa3d/src/gtest/src/
H A Dgtest-port.cc128 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
381 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
/external/protobuf/gtest/src/
H A Dgtest-port.cc126 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
379 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
H A Dgtest-port.cc128 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
381 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
/external/pcre/pcrecpp/include/
H A Dpcrecpp.h60 // The "FullMatch" operation checks that supplied text matches a
65 // re.FullMatch("hello");
69 // !re.FullMatch("hello");
72 // pcrecpp::RE("h.*o").FullMatch("hello");
91 // re.FullMatch("ruby:1234", &s, &i);
94 // re.FullMatch("ruby:1234", &s);
97 // re.FullMatch("ruby:1234", NULL, &i);
100 // !re.FullMatch("ruby:1234567891234", NULL, &i);
103 // !pcrecpp::RE("\\w+:\\d+").FullMatch("ruby:1234", &s);
106 // !pcrecpp::RE("(.*)").FullMatch("rub
557 bool FullMatch(const StringPiece & text, ARGS && ...a) const { function in class:pcrecpp::RE
[all...]
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1177 // FullMatch(str, re) returns true iff regular expression re matches
1182 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
1184 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
1185 return FullMatch(str.c_str(), re);
1193 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
1194 return FullMatch(str.c_str(), re);
1202 static bool FullMatch(const char* str, const RE& re);
1216 regex_t full_regex_; // For FullMatch().
1221 const char* full_pattern_; // For FullMatch();
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
H A Dgtest-port.h1177 // FullMatch(str, re) returns true iff regular expression re matches
1182 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
1184 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
1185 return FullMatch(str.c_str(), re);
1193 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
1194 return FullMatch(str.c_str(), re);
1202 static bool FullMatch(const char* str, const RE& re);
1216 regex_t full_regex_; // For FullMatch().
1221 const char* full_pattern_; // For FullMatch();
/external/v8/testing/gtest/include/gtest/internal/
H A Dgtest-port.h1176 // FullMatch(str, re) returns true iff regular expression re matches
1181 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
1183 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
1184 return FullMatch(str.c_str(), re);
1192 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
1193 return FullMatch(str.c_str(), re);
1201 static bool FullMatch(const char* str, const RE& re);
1215 regex_t full_regex_; // For FullMatch().
1220 const char* full_pattern_; // For FullMatch();

Completed in 426 milliseconds

12