Home
last modified time | relevance | path

Searched refs:FullMatch (Results 1 – 25 of 35) sorted by relevance

12

/external/pcre/dist/
Dpcrecpp_unittest.cc74 CHECK(pattern.FullMatch(p)); in Timing1()
83 CHECK(pattern.FullMatch("ruby:1234", &i)); in Timing2()
133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \ in RadixTests()
135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \ in RadixTests()
159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \ in RadixTests()
161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \ in RadixTests()
185 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v)); \ in RadixTests()
187 CHECK(RE("(-?[0-9a-fA-FxX]+)[uUlL]*").FullMatch(#value, CRadix(&v))); \ in RadixTests()
438 CHECK(RE("(foo)|hello").FullMatch("hello", &a)); in TestMatchNumberPeculiarity()
458 CHECK(re.FullMatch(text_good) == false); in TestRecursion()
[all …]
Dpcrecpp.h535 bool FullMatch(const StringPiece& text,
Dpcrecpp.cc152 bool RE::FullMatch(const StringPiece& text, in FullMatch() function in pcrecpp::RE
/external/regex-re2/re2/testing/
Dre2_test.cc28 CHECK(RE2::FullMatch(#value, "([0-9a-fA-F]+)[uUlL]*", RE2::Hex(&v))); \ in TEST()
30 CHECK(RE2::FullMatch("0x" #value, "([0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \ in TEST()
52 CHECK(RE2::FullMatch(#value, "([0-7]+)[uUlL]*", RE2::Octal(&v))); \ in TEST()
54 CHECK(RE2::FullMatch("0" #value, "([0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \ in TEST()
76 CHECK(RE2::FullMatch(#value, "(-?[0-9]+)[uUlL]*", &v)); \ in TEST()
78 CHECK(RE2::FullMatch(#value, "(-?[0-9a-fA-FxX]+)[uUlL]*", RE2::CRadix(&v))); \ in TEST()
339 CHECK(RE2::FullMatch("hello", "(foo)|hello", &a)); in TEST()
379 RE2::FullMatch(domain, re); in TestRecursion()
388 EXPECT_TRUE_M(RE2::FullMatch(unquoted, re), in TestQuoteMeta()
398 EXPECT_FALSE_M(RE2::FullMatch(should_not_match, re), in NegativeTestQuoteMeta()
[all …]
Dregexp_benchmark.cc71 PCRE::FullMatch(text, re); in MemoryUsage()
80 PCRE::FullMatch(text, *re); in MemoryUsage()
90 RE2::FullMatch(text, re); in MemoryUsage()
867 CHECK_EQ(PCRE::FullMatch(text, re), expect_match); in SearchPCRE()
879 CHECK_EQ(RE2::FullMatch(text, re), expect_match); in SearchRE2()
953 CHECK_EQ(PCRE::FullMatch(text, re), expect_match); in SearchCachedPCRE()
965 CHECK_EQ(RE2::FullMatch(text, re), expect_match); in SearchCachedRE2()
1033 CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3)); in Parse3PCRE()
1042 CHECK(RE2::FullMatch(text, re, &sp1, &sp2, &sp3)); in Parse3RE2()
1101 CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3)); in Parse3CachedPCRE()
[all …]
Dpossible_match_test.cc216 if (!RE2::FullMatch(s, re)) in HandleRegexp()
/external/protobuf/gtest/test/
Dgtest-port_test.cc213 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
214 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
217 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
218 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
219 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re)); in TYPED_TEST()
220 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re)); in TYPED_TEST()
676 EXPECT_TRUE(RE::FullMatch("", empty)); in TEST()
677 EXPECT_FALSE(RE::FullMatch("a", empty)); in TEST()
680 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
683 EXPECT_TRUE(RE::FullMatch("az", re)); in TEST()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-port_test.cc406 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
407 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
410 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
411 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
412 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re)); in TYPED_TEST()
413 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re)); in TYPED_TEST()
869 EXPECT_TRUE(RE::FullMatch("", empty)); in TEST()
870 EXPECT_FALSE(RE::FullMatch("a", empty)); in TEST()
873 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
876 EXPECT_TRUE(RE::FullMatch("az", re)); in TEST()
[all …]
Dgtest-printers_test.cc1105 EXPECT_PRED2(RE::FullMatch, Print(msg), in TEST()
1117 EXPECT_PRED2(RE::FullMatch, Print(msg), in TEST()
/external/gtest/test/
Dgtest-port_test.cc443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
444 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
447 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
448 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
449 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re)); in TYPED_TEST()
450 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re)); in TYPED_TEST()
906 EXPECT_TRUE(RE::FullMatch("", empty)); in TEST()
907 EXPECT_FALSE(RE::FullMatch("a", empty)); in TEST()
910 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
913 EXPECT_TRUE(RE::FullMatch("az", re)); in TEST()
[all …]
Dgtest-printers_test.cc1124 EXPECT_PRED2(RE::FullMatch, Print(msg), in TEST()
1136 EXPECT_PRED2(RE::FullMatch, Print(msg), in TEST()
/external/regex-re2/
Dtestinstall.cc18 if(RE2::FullMatch("axbyc", "a.*b.*c")) { in main()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h684 static bool FullMatch(const ::std::string& str, const RE& re) { in FullMatch() function
685 return FullMatch(str.c_str(), re); in FullMatch()
692 static bool FullMatch(const ::string& str, const RE& re) { in FullMatch() function
693 return FullMatch(str.c_str(), re); in FullMatch()
700 static bool FullMatch(const char* str, const RE& re);
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h837 static bool FullMatch(const ::std::string& str, const RE& re) {
838 return FullMatch(str.c_str(), re);
846 static bool FullMatch(const ::string& str, const RE& re) {
847 return FullMatch(str.c_str(), re);
855 static bool FullMatch(const char* str, const RE& re);
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h847 static bool FullMatch(const ::std::string& str, const RE& re) {
848 return FullMatch(str.c_str(), re);
856 static bool FullMatch(const ::string& str, const RE& re) {
857 return FullMatch(str.c_str(), re);
865 static bool FullMatch(const char* str, const RE& re);
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-port.h861 static bool FullMatch(const ::std::string& str, const RE& re) {
862 return FullMatch(str.c_str(), re);
870 static bool FullMatch(const ::string& str, const RE& re) {
871 return FullMatch(str.c_str(), re);
879 static bool FullMatch(const char* str, const RE& re);
/external/gtest/include/gtest/internal/
Dgtest-port.h954 static bool FullMatch(const ::std::string& str, const RE& re) {
955 return FullMatch(str.c_str(), re);
963 static bool FullMatch(const ::string& str, const RE& re) {
964 return FullMatch(str.c_str(), re);
972 static bool FullMatch(const char* str, const RE& re);
/external/protobuf/gtest/src/
Dgtest-port.cc126 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
379 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc128 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
381 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/external/mesa3d/src/gtest/src/
Dgtest-port.cc128 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
381 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc153 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
406 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/external/gtest/src/
Dgtest-port.cc154 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
407 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() function in testing::internal::RE
/external/llvm/utils/FileCheck/
DFileCheck.cpp436 StringRef FullMatch = MatchInfo[0]; in Match() local
446 MatchLen = FullMatch.size(); in Match()
447 return FullMatch.data()-Buffer.data(); in Match()
/external/regex-re2/util/
Dpcre.h299 static const FullMatchFunctor FullMatch; variable
/external/regex-re2/re2/
Dre2.h331 bool, const StringPiece&, const RE2&, Arg, RE2::FullMatchN> FullMatch; variable

12