Home
last modified time | relevance | path

Searched refs:PartialMatch (Results 1 – 25 of 65) sorted by relevance

123

/external/regex-re2/re2/testing/
Dre2_test.cc324 CHECK(RE2::PartialMatch("foo", r, &word1, &word2, &word3)); in TEST()
328 CHECK(RE2::PartialMatch("bar", r, &word1, &word2, &word3)); in TEST()
332 CHECK(RE2::PartialMatch("baz", r, &word1, &word2, &word3)); in TEST()
336 CHECK(!RE2::PartialMatch("f", r, &word1, &word2, &word3)); in TEST()
363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port)); in TEST()
515 TEST(RE2, PartialMatch) { in TEST() argument
516 CHECK(RE2::PartialMatch("x", "x")); in TEST()
517 CHECK(RE2::PartialMatch("hello", "h.*o")); in TEST()
518 CHECK(RE2::PartialMatch("othello", "h.*o")); in TEST()
519 CHECK(RE2::PartialMatch("hello!", "h.*o")); in TEST()
[all …]
Dregexp_benchmark.cc869 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match); in SearchPCRE()
881 CHECK_EQ(RE2::PartialMatch(text, re), expect_match); in SearchRE2()
955 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match); in SearchCachedPCRE()
967 CHECK_EQ(RE2::PartialMatch(text, re), expect_match); in SearchCachedRE2()
1250 CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2)); in SearchParse2CachedPCRE()
1260 CHECK(RE2::PartialMatch(text, re, &sp1, &sp2)); in SearchParse2CachedRE2()
1270 CHECK(PCRE::PartialMatch(text, re, &sp1)); in SearchParse1CachedPCRE()
1280 CHECK(RE2::PartialMatch(text, re, &sp1)); in SearchParse1CachedRE2()
1287 PCRE::PartialMatch("", re); in EmptyPartialMatchPCRE()
1294 RE2::PartialMatch("", re); in EmptyPartialMatchRE2()
[all …]
/external/pcre/pcrecpp/
Dpcrecpp_unittest.cc426 CHECK(r.PartialMatch("foo", &word1, &word2, &word3)); in TestMatchNumberPeculiarity()
430 CHECK(r.PartialMatch("bar", &word1, &word2, &word3)); in TestMatchNumberPeculiarity()
434 CHECK(r.PartialMatch("baz", &word1, &word2, &word3)); in TestMatchNumberPeculiarity()
438 CHECK(!r.PartialMatch("f", &word1, &word2, &word3)); in TestMatchNumberPeculiarity()
459 CHECK(re.PartialMatch(text_good) == true); in TestRecursion()
460 CHECK(re.PartialMatch(text_bad) == false); in TestRecursion()
466 CHECK(re2.PartialMatch(text_good) == false); // because of match_limit in TestRecursion()
467 CHECK(re2.PartialMatch(text_bad) == false); in TestRecursion()
474 CHECK(re3.PartialMatch(text_good) == true); in TestRecursion()
475 CHECK(re3.PartialMatch(text_bad) == false); in TestRecursion()
[all …]
/external/protobuf/gtest/test/
Dgtest-port_test.cc226 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
227 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
230 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
231 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
232 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
233 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
234 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
692 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
693 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
696 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-port_test.cc419 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
420 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
423 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
424 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
425 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
426 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
427 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
885 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
886 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
889 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
[all …]
/external/regex-re2/re2/
Dfiltered_re2.cc60 if (RE2::PartialMatch(text, *re2_vec_[i])) in SlowFirstMatch()
74 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) in FirstMatch()
87 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) in AllMatches()
/external/v8/testing/gtest/test/
Dgtest-port_test.cc451 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
452 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
455 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
456 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
458 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
459 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
917 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
918 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
921 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-port_test.cc456 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
460 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
461 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
462 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
463 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
464 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
922 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
923 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
926 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
[all …]
/external/googletest/googletest/test/
Dgtest-port_test.cc451 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
452 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
455 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
456 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
458 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
459 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
917 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
918 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
921 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
[all …]
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h687 static bool PartialMatch(const ::std::string& str, const RE& re) { in PartialMatch() function
688 return PartialMatch(str.c_str(), re); in PartialMatch()
695 static bool PartialMatch(const ::string& str, const RE& re) { in PartialMatch() function
696 return PartialMatch(str.c_str(), re); in PartialMatch()
701 static bool PartialMatch(const char* str, const RE& re);
Dgtest-death-test-internal.h264 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h853 static bool PartialMatch(const ::std::string& str, const RE& re) {
854 return PartialMatch(str.c_str(), re);
862 static bool PartialMatch(const ::string& str, const RE& re) {
863 return PartialMatch(str.c_str(), re);
869 static bool PartialMatch(const char* str, const RE& re);
Dgtest-death-test-internal.h295 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h840 static bool PartialMatch(const ::std::string& str, const RE& re) {
841 return PartialMatch(str.c_str(), re);
849 static bool PartialMatch(const ::string& str, const RE& re) {
850 return PartialMatch(str.c_str(), re);
856 static bool PartialMatch(const char* str, const RE& re);
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h845 static bool PartialMatch(const ::std::string& str, const RE& re) {
846 return PartialMatch(str.c_str(), re);
854 static bool PartialMatch(const ::string& str, const RE& re) {
855 return PartialMatch(str.c_str(), re);
861 static bool PartialMatch(const char* str, const RE& re);
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-port.h864 static bool PartialMatch(const ::std::string& str, const RE& re) {
865 return PartialMatch(str.c_str(), re);
873 static bool PartialMatch(const ::string& str, const RE& re) {
874 return PartialMatch(str.c_str(), re);
880 static bool PartialMatch(const char* str, const RE& re);
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-port.h971 static bool PartialMatch(const ::std::string& str, const RE& re) {
972 return PartialMatch(str.c_str(), re);
980 static bool PartialMatch(const ::string& str, const RE& re) {
981 return PartialMatch(str.c_str(), re);
987 static bool PartialMatch(const char* str, const RE& re);
/external/googletest/googletest/include/gtest/internal/
Dgtest-port.h1187 static bool PartialMatch(const ::std::string& str, const RE& re) {
1188 return PartialMatch(str.c_str(), re);
1196 static bool PartialMatch(const ::string& str, const RE& re) {
1197 return PartialMatch(str.c_str(), re);
1203 static bool PartialMatch(const char* str, const RE& re);
/external/v8/testing/gtest/include/gtest/internal/
Dgtest-port.h1186 static bool PartialMatch(const ::std::string& str, const RE& re) {
1187 return PartialMatch(str.c_str(), re);
1195 static bool PartialMatch(const ::string& str, const RE& re) {
1196 return PartialMatch(str.c_str(), re);
1202 static bool PartialMatch(const char* str, const RE& re);
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-port.h1187 static bool PartialMatch(const ::std::string& str, const RE& re) {
1188 return PartialMatch(str.c_str(), re);
1196 static bool PartialMatch(const ::string& str, const RE& re) {
1197 return PartialMatch(str.c_str(), re);
1203 static bool PartialMatch(const char* str, const RE& re);
/external/regex-re2/util/
Dbenchmark.cc139 if(RE2::PartialMatch(name, argv[i])) in match()
/external/protobuf/gtest/src/
Dgtest-port.cc135 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
385 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
/external/mesa3d/src/gtest/src/
Dgtest-port.cc137 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
387 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc137 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
387 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-port.cc137 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE
387 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() function in testing::internal::RE

123