OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FindAndConsumeN
(Results
1 - 3
of
3
) sorted by null
/external/regex-re2/re2/
re2.h
352
static bool
FindAndConsumeN
(StringPiece* input, const RE2& pattern,
355
bool, StringPiece*, const RE2&, Arg, RE2::
FindAndConsumeN
> FindAndConsume;
[
all
...]
re2.cc
32
const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::
FindAndConsumeN
> RE2::FindAndConsume;
319
bool RE2::
FindAndConsumeN
(StringPiece* input, const RE2& re,
[
all
...]
/external/regex-re2/re2/testing/
re2_test.cc
292
TEST(RE2,
FindAndConsumeN
) {
300
EXPECT_TRUE(RE2::
FindAndConsumeN
(&input, "(\\w+)", args, 0)); // Skips "one".
305
EXPECT_TRUE(RE2::
FindAndConsumeN
(&input, "(\\w+)", args, 1));
311
EXPECT_TRUE(RE2::
FindAndConsumeN
(&input, "(\\w+)\\s*(\\d+)", args, 2));
[
all
...]
Completed in 250 milliseconds