Home | History | Annotate | Download | only in re2

Lines Matching defs:nvec

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