Home
last modified time | relevance | path

Searched refs:NumberOfCapturingGroups (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dre2.cc408 if (nvec > 1 + re.NumberOfCapturingGroups()) in Replace()
430 if (nvec > 1 + re.NumberOfCapturingGroups()) in GlobalReplace()
504 if (nvec > 1 + re.NumberOfCapturingGroups()) in GlobalReplace()
648 int ncap = 1 + NumberOfCapturingGroups(); in GlobalReplace()
892 if (NumberOfCapturingGroups() < n) { in GlobalReplace()
973 if (max_token > NumberOfCapturingGroups()) { in GlobalReplace()
977 max_token, NumberOfCapturingGroups()); in GlobalReplace()
Dre2.h496 int NumberOfCapturingGroups() const { return num_captures_; } in NumberOfCapturingGroups() function
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dpcre.cc615 if (NumberOfCapturingGroups() < n) { in DoMatchImpl()
673 int number_of_capturing_groups = NumberOfCapturingGroups(); in Rewrite()
735 if (max_token > NumberOfCapturingGroups()) { in CheckRewriteString()
739 max_token, NumberOfCapturingGroups()); in CheckRewriteString()
748 int PCRE::NumberOfCapturingGroups() const { in NumberOfCapturingGroups() function in re2::PCRE
Dpcre.h451 int NumberOfCapturingGroups() const;
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dexhaustive_tester.cc108 int ngroup = re.NumberOfCapturingGroups()+1; in HandleRegexp()
Dre2_test.cc554 ASSERT_EQ(re.NumberOfCapturingGroups(), 1); in TEST()
561 ASSERT_EQ(re.NumberOfCapturingGroups(), 6); in TEST()
573 int num_groups = re.NumberOfCapturingGroups(); in TEST()
1358 EXPECT_EQ(0, re.NumberOfCapturingGroups()); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/
Dre2_fuzzer.cc98 if (re.NumberOfCapturingGroups() == 0) { in TestOneInput()