Home | History | Annotate | Download | only in testing

Lines Matching refs:submatch

83   bool have_submatch;   // computed all submatch info
84 bool have_submatch0; // computed just submatch[0]
85 StringPiece submatch[kMaxSubmatch];
307 result->submatch, nsubmatch);
318 result->submatch, nsubmatch);
337 prog_->SearchDFA(text, context, anchor, kind_, result->submatch,
342 if (!rprog_->SearchDFA(result->submatch[0], context,
344 result->submatch,
363 result->submatch, nsubmatch);
373 result->submatch, nsubmatch);
396 re_anchor, result->submatch, nsubmatch);
411 a[i] = PCRE::Arg(&result->submatch[i]);
441 if (result->submatch[i].begin() == text.begin() - 1)
442 result->submatch[i] = NULL;
450 memset(result->submatch, 0, sizeof result->submatch);
463 if (correct.submatch[i].begin() != r.submatch[i].begin() ||
464 correct.submatch[i].size() != r.submatch[i].size())
529 if (r.submatch[i].begin() != correct.submatch[i].begin() ||
530 r.submatch[i].end() != correct.submatch[i].end()) {
534 submatch[i]).c_str(),
535 FormatCapture(text, r.submatch[i]).c_str());
539 FormatCapture(text, r.submatch[i]).c_str());