Home
last modified time | relevance | path

Searched refs:nsubmatch (Results 1 – 6 of 6) sorted by relevance

/external/regex-re2/re2/testing/
Dtester.cc289 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 …]
Dbacktrack.cc55 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/
Dnfa.cc52 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()
Dbitstate.cc40 StringPiece* submatch, int nsubmatch);
295 StringPiece* submatch, int nsubmatch) { in Search() argument
309 nsubmatch_ = nsubmatch; in Search()
319 ncap_ = 2*nsubmatch; in Search()
Dre2.cc530 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/
Ducs2.diff525 - for (int i = 0; i < nsubmatch; i++) {