Searched refs:FindAndConsume (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_adapter.h94 inline bool FindAndConsume(RegExpInput* input_string, function in class:i18n::phonenumbers::RegExp
H A Dregexp_adapter_re2.cc115 return DispatchRE2Call(RE2::FindAndConsume, utf8_input, utf8_regexp_,
H A Dphonenumbermatcher.cc531 if (reg_exps_->group_separator_->FindAndConsume(candidate_input.get(),
555 while (reg_exps_->group_separator_->FindAndConsume(candidate_input.get(),
642 reg_exps_->pattern_->FindAndConsume(text.get(), &candidate)) {
786 while (reg_exps_->capturing_ascii_digits_pattern_->FindAndConsume(
H A Dphonenumberutil.cc2180 if (!reg_exps_->capturing_ascii_digits_pattern_->FindAndConsume(
/external/chromium_org/third_party/re2/re2/testing/
H A Dre2_test.cc274 TEST(RE2, FindAndConsume) {
283 CHECK(RE2::FindAndConsume(&input, r, &word));
285 CHECK(RE2::FindAndConsume(&input, r, &word));
287 CHECK(RE2::FindAndConsume(&input, r, &word));
289 CHECK(! RE2::FindAndConsume(&input, r, &word));
291 // Check that FindAndConsume works without any submatches.
295 CHECK(RE2::FindAndConsume(&input, "aaa"));
1161 EXPECT_TRUE(RE2::FindAndConsume(&sp, "(?i)([wand]{5})", &result));
H A Dregexp_benchmark.cc265 // 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/regex-re2/re2/testing/
H A Dre2_test.cc267 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 Dregexp_benchmark.cc265 // 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 Dpcrecpp_unittest.cc398 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 Dpcrecpp.h278 // The "FindAndConsume" operation is similar to "Consume" but does not
281 // pcrecpp::RE("(\\w+)").FindAndConsume(&input, &word)
589 bool FindAndConsume(StringPiece* input,
H A Dpcrecpp.cc284 bool RE::FindAndConsume(StringPiece* input, function in class:pcrecpp::RE
/external/chromium_org/extensions/browser/api/web_request/
H A Dform_data_parser.cc417 while (RE2::FindAndConsume(&seek_unquote, unquote_pattern())) {
/external/chromium_org/third_party/re2/re2/
H A Dre2.h140 // 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 Dre2.cc38 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::FindAndConsumeN> RE2::FindAndConsume = {}; member in class:re2::RE2
/external/chromium_org/third_party/re2/util/
H A Dpcre.h140 // The "FindAndConsume" operation is similar to "Consume" but does not
143 // PCRE::FindAndConsume(&input, "(\\w+)", &word)
358 // "input". For example, "FindAndConsume(s, "(\\w+)", &word)" finds the next
380 static const FindAndConsumeFunctor FindAndConsume; member in class:re2::PCRE
H A Dpcre.cc51 const PCRE::FindAndConsumeFunctor PCRE::FindAndConsume = { }; member in class:re2::PCRE
/external/regex-re2/re2/
H A Dre2.h140 // 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 Dre2.cc32 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::FindAndConsumeN> RE2::FindAndConsume; member in class:re2::RE2
/external/regex-re2/util/
H A Dpcre.h140 // 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 Dpcre.cc46 const PCRE::FindAndConsumeFunctor PCRE::FindAndConsume = { }; member in class:re2::PCRE

Completed in 267 milliseconds