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

12

/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/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/testing/gtest/test/
H A Dgtest-port_test.cc378 // Tests RE::FullMatch().
381 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
382 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
385 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
386 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
387 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
388 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
841 // Tests RE::FullMatch().
844 EXPECT_TRUE(RE::FullMatch("", empty));
845 EXPECT_FALSE(RE::FullMatch("
[all...]
H A Dgtest-printers_test.cc1095 EXPECT_PRED2(RE::FullMatch, Print(msg),
1107 EXPECT_PRED2(RE::FullMatch, Print(msg),
/external/gtest/test/
H A Dgtest-port_test.cc398 // Tests RE::FullMatch().
401 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
402 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
405 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
406 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
407 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
408 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
861 // Tests RE::FullMatch().
864 EXPECT_TRUE(RE::FullMatch("", empty));
865 EXPECT_FALSE(RE::FullMatch("
[all...]
H A Dgtest-printers_test.cc1101 EXPECT_PRED2(RE::FullMatch, Print(msg),
1113 EXPECT_PRED2(RE::FullMatch, Print(msg),
/external/libvpx/libvpx/third_party/googletest/src/test/
H A Dgtest-port_test.cc398 // Tests RE::FullMatch().
401 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
402 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty));
405 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
406 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
407 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re));
408 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re));
861 // Tests RE::FullMatch().
864 EXPECT_TRUE(RE::FullMatch("", empty));
865 EXPECT_FALSE(RE::FullMatch("
[all...]
/external/open-vcdiff/gtest/include/gtest/internal/
H A Dgtest-port.h646 // FullMatch(str, re) returns true iff regular expression re matches
651 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
654 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
655 return FullMatch(str.c_str(), re);
663 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
664 return FullMatch(str.c_str(), re);
671 static bool FullMatch(const char* str, const RE& re);
684 regex_t full_regex_; // For FullMatch().
687 const char* full_pattern_; // For FullMatch();
/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/testing/gtest/include/gtest/internal/
H A Dgtest-port.h814 // FullMatch(str, re) returns true iff regular expression re matches
819 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
821 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
822 return FullMatch(str.c_str(), re);
830 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
831 return FullMatch(str.c_str(), re);
839 static bool FullMatch(const char* str, const RE& re);
854 regex_t full_regex_; // For FullMatch().
859 const char* full_pattern_; // For FullMatch();
/external/gtest/include/gtest/internal/
H A Dgtest-port.h848 // FullMatch(str, re) returns true iff regular expression re matches
853 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
855 static bool FullMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
856 return FullMatch(str.c_str(), re);
864 static bool FullMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
865 return FullMatch(str.c_str(), re);
873 static bool FullMatch(const char* str, const RE& re);
888 regex_t full_regex_; // For FullMatch().
893 const char* full_pattern_; // For FullMatch();
/external/libvpx/libvpx/third_party/googletest/src/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/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/chromium/testing/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/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/libvpx/libvpx/third_party/googletest/src/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/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/open-vcdiff/gtest/src/
H A Dgtest-port.cc118 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
370 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
/external/protobuf/gtest/src/
H A Dgtest-port.cc118 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
370 bool RE::FullMatch(const char* str, const RE& re) { function in class:testing::internal::RE
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp420 StringRef FullMatch = MatchInfo[0]; local
430 MatchLen = FullMatch.size();
431 return FullMatch.data()-Buffer.data();
/external/regex-re2/re2/
H A Dre2.h36 // The "FullMatch" operation checks that supplied text matches a
40 // CHECK(RE2::FullMatch("hello", "h.*o"));
43 // CHECK(!RE2::FullMatch("hello", "e"));
52 // CHECK(RE2::FullMatch(utf8_string, RE2(utf8_pattern)));
53 // CHECK(RE2::FullMatch(latin1_string, RE2(latin1_pattern, RE2::Latin1)));
63 // CHECK(RE2::FullMatch("ruby:1234", "(\\w+):(\\d+)", &s, &i));
66 // CHECK(!RE2::FullMatch("ruby", "(.*)", &i));
69 // CHECK(!RE2::FullMatch("ruby:1234", "\\w+:\\d+", &s));
72 // CHECK(RE2::FullMatch("ruby:1234", "(\\w+):(\\d+)", &s));
75 // CHECK(RE2::FullMatch("rub
331 bool, const StringPiece&, const RE2&, Arg, RE2::FullMatchN> FullMatch; member in class:re2::RE2
[all...]
/external/regex-re2/util/
H A Dpcre.h35 // The "FullMatch" operation checks that supplied text matches a
39 // CHECK(PCRE::FullMatch("hello", "h.*o"));
42 // CHECK(!PCRE::FullMatch("hello", "e"));
58 // CHECK(PCRE::FullMatch(utf8_string, re));
68 // CHECK(PCRE::FullMatch("ruby:1234", "(\\w+):(\\d+)", &s, &i));
71 // CHECK(!PCRE::FullMatch("ruby", "(.*)", &i));
74 // CHECK(!PCRE::FullMatch("ruby:1234", "\\w+:\\d+", &s));
77 // CHECK(PCRE::FullMatch("ruby:1234", "(\\w+):(\\d+)", &s));
80 // CHECK(PCRE::FullMatch("ruby:1234", "(\\w+):(\\d+)", NULL, &i));
83 // CHECK(!PCRE::FullMatch("rub
299 static const FullMatchFunctor FullMatch; member in class:re2::PCRE
[all...]

Completed in 1309 milliseconds

12