Searched refs:PartialMatch (Results 1 - 25 of 61) sorted by relevance

123

/external/regex-re2/re2/testing/
H A Dre2_test.cc6 // TODO: Test extractions for PartialMatch/Consume
324 CHECK(RE2::PartialMatch("foo", r, &word1, &word2, &word3));
328 CHECK(RE2::PartialMatch("bar", r, &word1, &word2, &word3));
332 CHECK(RE2::PartialMatch("baz", r, &word1, &word2, &word3));
336 CHECK(!RE2::PartialMatch("f", r, &word1, &word2, &word3));
363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port));
515 TEST(RE2, PartialMatch) {
516 CHECK(RE2::PartialMatch("x", "x"));
517 CHECK(RE2::PartialMatch("hello", "h.*o"));
518 CHECK(RE2::PartialMatch("othell
[all...]
H A Dregexp_benchmark.cc869 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
881 CHECK_EQ(RE2::PartialMatch(text, re), expect_match);
955 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
967 CHECK_EQ(RE2::PartialMatch(text, re), expect_match);
1250 CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2));
1260 CHECK(RE2::PartialMatch(text, re, &sp1, &sp2));
1270 CHECK(PCRE::PartialMatch(text, re, &sp1));
1280 CHECK(RE2::PartialMatch(text, re, &sp1));
1287 PCRE::PartialMatch("", re);
1294 RE2::PartialMatch("", r
[all...]
/external/regex-re2/re2/
H A Dfiltered_re2.cc60 if (RE2::PartialMatch(text, *re2_vec_[i]))
74 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]]))
87 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]]))
/external/pcre/pcrecpp/
H A Dpcrecpp_unittest.cc34 // TODO: Test extractions for PartialMatch/Consume
426 CHECK(r.PartialMatch("foo", &word1, &word2, &word3));
430 CHECK(r.PartialMatch("bar", &word1, &word2, &word3));
434 CHECK(r.PartialMatch("baz", &word1, &word2, &word3));
438 CHECK(!r.PartialMatch("f", &word1, &word2, &word3));
459 CHECK(re.PartialMatch(text_good) == true);
460 CHECK(re.PartialMatch(text_bad) == false);
466 CHECK(re2.PartialMatch(text_good) == false); // because of match_limit
467 CHECK(re2.PartialMatch(text_bad) == false);
474 CHECK(re3.PartialMatch(text_goo
[all...]
/external/google-breakpad/src/testing/gtest/test/
H A Dgtest-port_test.cc416 // Tests RE::PartialMatch().
419 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
420 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
423 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
424 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
425 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
426 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
427 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
882 // Tests RE::PartialMatch().
885 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/googletest/googletest/test/
H A Dgtest-port_test.cc448 // Tests RE::PartialMatch().
451 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
452 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
455 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
456 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
458 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
459 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
914 // Tests RE::PartialMatch().
917 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc223 // Tests RE::PartialMatch().
226 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
227 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
230 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
231 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
232 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
233 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
234 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
689 // Tests RE::PartialMatch().
692 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/v8/testing/gtest/test/
H A Dgtest-port_test.cc448 // Tests RE::PartialMatch().
451 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
452 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
455 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
456 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
458 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
459 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
914 // Tests RE::PartialMatch().
917 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
H A Dgtest-port_test.cc453 // Tests RE::PartialMatch().
456 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
460 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
461 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
462 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
463 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
464 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
919 // Tests RE::PartialMatch().
922 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h679 // PartialMatch(str, re) returns true iff regular expression re
682 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
687 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
688 return PartialMatch(str.c_str(), re);
695 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
696 return PartialMatch(str.c_str(), re);
701 static bool PartialMatch(const char* str, const RE& re);
714 regex_t partial_regex_; // For PartialMatch().
H A Dgtest-death-test-internal.h264 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-port.h856 // PartialMatch(str, re) returns true iff regular expression re
859 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
864 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
865 return PartialMatch(str.c_str(), re);
873 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
874 return PartialMatch(str.c_str(), re);
880 static bool PartialMatch(const char* str, const RE& re);
895 regex_t partial_regex_; // For PartialMatch().
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
H A Dgtest-death-test-internal.h308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h295 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-port.h845 // PartialMatch(str, re) returns true iff regular expression re
848 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
853 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
854 return PartialMatch(str.c_str(), re);
862 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
863 return PartialMatch(str.c_str(), re);
869 static bool PartialMatch(const char* str, const RE& re);
884 regex_t partial_regex_; // For PartialMatch().
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h297 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-port.h832 // PartialMatch(str, re) returns true iff regular expression re
835 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
840 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
841 return PartialMatch(str.c_str(), re);
849 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
850 return PartialMatch(str.c_str(), re);
856 static bool PartialMatch(const char* str, const RE& re);
871 regex_t partial_regex_; // For PartialMatch().
/external/regex-re2/util/
H A Dbenchmark.cc139 if(RE2::PartialMatch(name, argv[i]))
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h297 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-port.h837 // PartialMatch(str, re) returns true iff regular expression re
840 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
845 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
846 return PartialMatch(str.c_str(), re);
854 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
855 return PartialMatch(str.c_str(), re);
861 static bool PartialMatch(const char* str, const RE& re);
876 regex_t partial_regex_; // For PartialMatch().
/external/v8/testing/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-death-test-internal.h308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
H A Dgtest-port.h963 // PartialMatch(str, re) returns true iff regular expression re
966 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
971 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
972 return PartialMatch(str.c_str(), re);
980 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
981 return PartialMatch(str.c_str(), re);
987 static bool PartialMatch(const char* str, const RE& re);
1001 regex_t partial_regex_; // For PartialMatch().

Completed in 499 milliseconds

123