/external/chromium_org/third_party/re2/re2/testing/ |
re2_test.cc | 530 TEST(RE2, PartialMatchN) { 535 EXPECT_TRUE(RE2::PartialMatchN("hello", "e.*o", args, 0)); 536 EXPECT_FALSE(RE2::PartialMatchN("othello", "a.*o", args, 0)); 541 EXPECT_TRUE(RE2::PartialMatchN("1001 nights", "(\\d+)", args, 1)); 543 EXPECT_FALSE(RE2::PartialMatchN("three", "(\\d+)", args, 1)); 548 EXPECT_TRUE(RE2::PartialMatchN("answer: 42:life", "(\\d+):(\\w+)", args, 2)); 551 EXPECT_FALSE(RE2::PartialMatchN("hi1", "(\\w+)(1)", args, 2)); [all...] |
/external/regex-re2/re2/testing/ |
re2_test.cc | 523 TEST(RE2, PartialMatchN) { 528 EXPECT_TRUE(RE2::PartialMatchN("hello", "e.*o", args, 0)); 529 EXPECT_FALSE(RE2::PartialMatchN("othello", "a.*o", args, 0)); 534 EXPECT_TRUE(RE2::PartialMatchN("1001 nights", "(\\d+)", args, 1)); 536 EXPECT_FALSE(RE2::PartialMatchN("three", "(\\d+)", args, 1)); 541 EXPECT_TRUE(RE2::PartialMatchN("answer: 42:life", "(\\d+):(\\w+)", args, 2)); 544 EXPECT_FALSE(RE2::PartialMatchN("hi1", "(\\w+)(1)", args, 2)); [all...] |
/external/chromium_org/third_party/re2/re2/ |
re2.h | 335 static bool PartialMatchN(const StringPiece& text, const RE2& re, // 3..16 args 338 bool, const StringPiece&, const RE2&, Arg, RE2::PartialMatchN> PartialMatch; [all...] |
re2.cc | 36 const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::PartialMatchN> RE2::PartialMatch = {}; 321 bool RE2::PartialMatchN(const StringPiece& text, const RE2& re, [all...] |
/external/regex-re2/re2/ |
re2.h | 335 static bool PartialMatchN(const StringPiece& text, const RE2& re, // 3..16 args 338 bool, const StringPiece&, const RE2&, Arg, RE2::PartialMatchN> PartialMatch; [all...] |
re2.cc | 30 const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::PartialMatchN> RE2::PartialMatch; 303 bool RE2::PartialMatchN(const StringPiece& text, const RE2& re, [all...] |