Searched refs:FindAndConsumeN (Results 1 – 3 of 3) sorted by relevance
/external/regex-re2/re2/ |
D | re2.h | 352 static bool FindAndConsumeN(StringPiece* input, const RE2& pattern, 355 bool, StringPiece*, const RE2&, Arg, RE2::FindAndConsumeN> FindAndConsume;
|
D | re2.cc | 32 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::FindAndConsumeN> RE2::FindAn… 319 bool RE2::FindAndConsumeN(StringPiece* input, const RE2& re, in FindAndConsumeN() function in re2::RE2
|
/external/regex-re2/re2/testing/ |
D | re2_test.cc | 292 TEST(RE2, FindAndConsumeN) { in TEST() argument 300 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 0)); // Skips "one". in TEST() 305 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)", args, 1)); in TEST() 311 EXPECT_TRUE(RE2::FindAndConsumeN(&input, "(\\w+)\\s*(\\d+)", args, 2)); in TEST()
|