HomeSort by relevance Sort by last modified time
    Searched full:partialmatch (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/regex-re2/re2/
filtered_re2.cc 60 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]]))
set.h 34 // Compile must be called before FullMatch or PartialMatch.
re2.h 88 // You can use the "PartialMatch" operation when you want the pattern
92 // CHECK(RE2::PartialMatch("hello", "ell"));
96 // CHECK(RE2::PartialMatch("x*100 + 20", "(\\d+)", &number));
259 // conversions when passing string literals to FullMatch and PartialMatch.
338 bool, const StringPiece&, const RE2&, Arg, RE2::PartialMatchN> PartialMatch;
340 // Like FullMatch() and PartialMatch(), except that pattern has to
    [all...]
  /external/regex-re2/re2/testing/
re2_test.cc 6 // 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("othello", "h.*o"))
    [all...]
regexp_benchmark.cc     [all...]
  /external/protobuf/gtest/test/
gtest-port_test.cc 223 // 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("", empty))
    [all...]
  /external/pcre/dist/
pcrecpp_unittest.cc 34 // TODO: Test extractions for PartialMatch/Consume
423 CHECK(r.PartialMatch("foo", &word1, &word2, &word3));
427 CHECK(r.PartialMatch("bar", &word1, &word2, &word3));
431 CHECK(r.PartialMatch("baz", &word1, &word2, &word3));
435 CHECK(!r.PartialMatch("f", &word1, &word2, &word3));
456 CHECK(re.PartialMatch(text_good) == true);
457 CHECK(re.PartialMatch(text_bad) == false);
463 CHECK(re2.PartialMatch(text_good) == false); // because of match_limit
464 CHECK(re2.PartialMatch(text_bad) == false);
471 CHECK(re3.PartialMatch(text_good) == true)
    [all...]
pcrecpp.h 131 // You can use the "PartialMatch" operation when you want the pattern
135 // pcrecpp::RE("ell").PartialMatch("hello");
140 // re.PartialMatch("x*100 + 20", &number);
223 // if (RE("HELLO", opt).PartialMatch("hello world")) ...
230 // RE(pattern, RE_Options(PCRE_CASELESS|PCRE_MULTILINE)).PartialMatch(str);
234 // RE_Options().set_caseless(true).set_multiline(true)).PartialMatch(str);
253 // .set_multiline(true)).PartialMatch(sometext);
364 // RE(pattern, RE_Options(PCRE_CASELESS|PCRE_MULTILINE)).PartialMatch(str);
367 // RE_Options().set_caseless(true).set_multiline(true)).PartialMatch(str);
553 bool PartialMatch(const StringPiece& text
    [all...]
pcregexp.pas 72 PartialMatch : boolean;
526 PartialMatch := MatchesCount = PCRE_ERROR_PARTIAL;
545 PartialMatch := MatchesCount = PCRE_ERROR_PARTIAL;
  /external/google-breakpad/src/testing/gtest/test/
gtest-port_test.cc 416 // 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("", empty))
    [all...]
  /external/gtest/test/
gtest-port_test.cc 453 // 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("", empty))
    [all...]
  /ndk/sources/third_party/googletest/googletest/test/
gtest-port_test.cc 453 // 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("", empty))
    [all...]
  /external/pcre/dist/doc/
pcrecpp.3 123 You can use the "PartialMatch" operation when you want the pattern
127 pcrecpp::RE("ell").PartialMatch("hello");
132 re.PartialMatch("x*100 + 20", &number);
216 if (RE("HELLO", opt).PartialMatch("hello world")) ...
224 RE_Options(PCRE_CASELESS|PCRE_MULTILINE)).PartialMatch(str);
230 .PartialMatch(str);
248 .set_multiline(true)).PartialMatch(sometext);
  /external/pcre/dist/doc/html/
pcrecpp.html 143 You can use the "PartialMatch" operation when you want the pattern
147 pcrecpp::RE("ell").PartialMatch("hello");
152 re.PartialMatch("x*100 + 20", &number);
238 if (RE("HELLO", opt).PartialMatch("hello world")) ...
246 RE_Options(PCRE_CASELESS|PCRE_MULTILINE)).PartialMatch(str);
252 .PartialMatch(str);
271 .set_multiline(true)).PartialMatch(sometext);
  /external/regex-re2/util/
benchmark.cc 139 if(RE2::PartialMatch(name, argv[i]))
pcre.h 88 // You can use the "PartialMatch" operation when you want the pattern
92 // CHECK(PCRE::PartialMatch("hello", "ell"));
96 // CHECK(PCRE::PartialMatch("x*100 + 20", "(\\d+)", &number));
323 static const PartialMatchFunctor PartialMatch;
325 // Like FullMatch() and PartialMatch(), except that pattern has to
  /external/protobuf/gtest/include/gtest/internal/
gtest-port.h 679 // 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) {
688 return PartialMatch(str.c_str(), re);
695 static bool PartialMatch(const ::string& str, const RE& 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().
    [all...]
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-port.h 856 // 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) {
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);
895 regex_t partial_regex_; // For PartialMatch().
    [all...]
gtest-death-test-internal.h 308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
  /external/gtest/include/gtest/internal/
gtest-port.h     [all...]
gtest-death-test-internal.h 308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 842 // PartialMatch(str, re) returns true iff regular expression re
845 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
850 static bool PartialMatch(const ::std::string& str, const RE& re) {
851 return PartialMatch(str.c_str(), re);
859 static bool PartialMatch(const ::string& str, const RE& re) {
860 return PartialMatch(str.c_str(), re);
866 static bool PartialMatch(const char* str, const RE& re);
881 regex_t partial_regex_; // For PartialMatch().
    [all...]
gtest-death-test-internal.h 295 ::testing::internal::RE::PartialMatch(".*", (regex)); \
  /external/mesa3d/src/gtest/include/gtest/internal/
gtest-port.h 832 // 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) {
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);
871 regex_t partial_regex_; // For PartialMatch().
    [all...]
  /ndk/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-port.h     [all...]

Completed in 1199 milliseconds

1 2 3