Home
last modified time | relevance | path

Searched refs:FindAndConsumeN (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dre2.h328 static bool FindAndConsumeN(StringPiece* input, const RE2& re,
408 return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...); in FindAndConsume()
Dre2.cc392 bool RE2::FindAndConsumeN(StringPiece* input, const RE2& re, in FindAndConsumeN() function in re2::RE2
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dre2_test.cc297 TEST(RE2, FindAndConsumeN) { in TEST() argument
305 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 0)); // Skips "one". in TEST()
310 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 1)); in TEST()
316 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)\\s*(\\d+)", args, 2)); in TEST()