Searched refs:nsubmatch (Results 1 – 6 of 6) sorted by relevance
/external/regex-re2/re2/testing/ |
D | tester.cc | 289 int nsubmatch = 1 + num_captures_; // NumCaptures doesn't count $0 in RunSearch() local 290 if (nsubmatch > kMaxSubmatch) in RunSearch() 291 nsubmatch = kMaxSubmatch; in RunSearch() 307 result->submatch, nsubmatch); in RunSearch() 318 result->submatch, nsubmatch); in RunSearch() 358 nsubmatch > Prog::kMaxOnePassCapture) { in RunSearch() 363 result->submatch, nsubmatch); in RunSearch() 373 result->submatch, nsubmatch); in RunSearch() 396 re_anchor, result->submatch, nsubmatch); in RunSearch() 397 result->have_submatch = nsubmatch > 0; in RunSearch() [all …]
|
D | backtrack.cc | 55 StringPiece* submatch, int nsubmatch); 96 StringPiece* submatch, int nsubmatch) { in Search() argument 109 nsubmatch_ = nsubmatch; in Search() 116 if (nsubmatch < 1) { in Search()
|
/external/regex-re2/re2/ |
D | nfa.cc | 52 StringPiece* submatch, int nsubmatch); 402 StringPiece* submatch, int nsubmatch) { in Search() argument 430 if (nsubmatch < 0) { in Search() 431 LOG(DFATAL) << "Bad args: nsubmatch=" << nsubmatch; in Search() 436 ncapture_ = 2*nsubmatch; in Search() 439 if (nsubmatch == 0) { in Search() 609 for (int i = 0; i < nsubmatch; i++) in Search()
|
D | bitstate.cc | 40 StringPiece* submatch, int nsubmatch); 295 StringPiece* submatch, int nsubmatch) { in Search() argument 309 nsubmatch_ = nsubmatch; in Search() 319 ncap_ = 2*nsubmatch; in Search()
|
D | re2.cc | 530 int nsubmatch) const { in Match() 553 if (nsubmatch == 0) in Match() 557 if (ncap > nsubmatch) in Match() 558 ncap = nsubmatch; in Match() 772 if (prefixlen > 0 && nsubmatch > 0) in Match() 777 for (int i = ncap; i < nsubmatch; i++) in Match()
|
/external/regex-re2/ |
D | ucs2.diff | 525 - for (int i = 0; i < nsubmatch; i++) {
|