Lines Matching refs:nvec
353 int nvec = 1 + MaxSubmatch(rewrite); in Replace() local
354 if (nvec > arraysize(vec)) in Replace()
356 if (!re.Match(*str, 0, str->size(), UNANCHORED, vec, nvec)) in Replace()
360 if (!re.Rewrite(&s, rewrite, vec, nvec)) in Replace()
373 int nvec = 1 + MaxSubmatch(rewrite); in GlobalReplace() local
374 if (nvec > arraysize(vec)) in GlobalReplace()
383 if (!re.Match(*str, p - str->data(), str->size(), UNANCHORED, vec, nvec)) in GlobalReplace()
394 re.Rewrite(&out, rewrite, vec, nvec); in GlobalReplace()
414 int nvec = 1 + MaxSubmatch(rewrite); in Extract() local
415 if (nvec > arraysize(vec)) in Extract()
418 if (!re.Match(text, 0, text.size(), UNANCHORED, vec, nvec)) in Extract()
422 return re.Rewrite(out, rewrite, vec, nvec); in Extract()
795 int nvec; in DoMatch() local
797 nvec = 0; in DoMatch()
799 nvec = n+1; in DoMatch()
805 if (nvec <= arraysize(stkvec)) { in DoMatch()
808 vec = new StringPiece[nvec]; in DoMatch()
812 if (!Match(text, 0, text.size(), anchor, vec, nvec)) { in DoMatch()