Home
last modified time | relevance | path

Searched refs:nvec (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/memcheck/tests/
Dmismatches.cpp12 int* nvec = new int[10]; in main() local
13 delete nvec; // should give a warning in main()
14 nvec = new int[10]; in main()
15 free (nvec); // should give a warning in main()
16 nvec = new int[10]; in main()
17 delete [] nvec; // should work! in main()
/external/regex-re2/re2/
Dre2.cc353 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()
[all …]