Searched refs:FindAndConsume (Results 1 - 9 of 9) sorted by relevance
/external/regex-re2/re2/testing/ |
H A D | re2_test.cc | 267 TEST(RE2, FindAndConsume) { 276 CHECK(RE2::FindAndConsume(&input, r, &word)); 278 CHECK(RE2::FindAndConsume(&input, r, &word)); 280 CHECK(RE2::FindAndConsume(&input, r, &word)); 282 CHECK(! RE2::FindAndConsume(&input, r, &word)); 284 // Check that FindAndConsume works without any submatches. 288 CHECK(RE2::FindAndConsume(&input, "aaa")); 1152 EXPECT_TRUE(RE2::FindAndConsume(&sp, "(?i)([wand]{5})", &result));
|
H A D | regexp_benchmark.cc | 265 // Benchmark: FindAndConsume 266 void FindAndConsume(int iters, int nbytes) { function in namespace:re2 276 CHECK(RE2::FindAndConsume(&t, re, &u)); 282 BENCHMARK_RANGE(FindAndConsume, 8, 16<<20)->ThreadRange(1, NumCPUs());
|
/external/pcre/dist/ |
H A D | pcrecpp_unittest.cc | 398 printf("Testing FindAndConsume\n"); 406 CHECK(r.FindAndConsume(&input, &word)); 408 CHECK(r.FindAndConsume(&input, &word)); 410 CHECK(r.FindAndConsume(&input, &word)); 412 CHECK(! r.FindAndConsume(&input, &word));
|
H A D | pcrecpp.h | 278 // The "FindAndConsume" operation is similar to "Consume" but does not 281 // pcrecpp::RE("(\\w+)").FindAndConsume(&input, &word) 589 bool FindAndConsume(StringPiece* input,
|
H A D | pcrecpp.cc | 284 bool RE::FindAndConsume(StringPiece* input, function in class:pcrecpp::RE
|
/external/regex-re2/re2/ |
H A D | re2.h | 140 // The "FindAndConsume" operation is similar to "Consume" but does not 143 // RE2::FindAndConsume(&input, "(\\w+)", &word) 350 // "input". For example, "FindAndConsume(s, "(\\w+)", &word)" finds the next 355 bool, StringPiece*, const RE2&, Arg, RE2::FindAndConsumeN> FindAndConsume; member in class:re2::RE2
|
H A D | re2.cc | 32 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::FindAndConsumeN> RE2::FindAndConsume; member in class:re2::RE2
|
/external/regex-re2/util/ |
H A D | pcre.h | 140 // The "FindAndConsume" operation is similar to "Consume" but does not 143 // PCRE::FindAndConsume(&input, "(\\w+)", &word) 352 // "input". For example, "FindAndConsume(s, "(\\w+)", &word)" finds the next 374 static const FindAndConsumeFunctor FindAndConsume; member in class:re2::PCRE
|
H A D | pcre.cc | 46 const PCRE::FindAndConsumeFunctor PCRE::FindAndConsume = { }; member in class:re2::PCRE
|
Completed in 147 milliseconds