Home
last modified time | relevance | path

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

/external/regex-re2/re2/
Dcompile.cc874 Regexp** subcopy = new Regexp*[re->nsub()]; in IsAnchorStart() local
875 subcopy[0] = sub; // already have reference in IsAnchorStart()
877 subcopy[i] = re->sub()[i]->Incref(); in IsAnchorStart()
878 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorStart()
879 delete[] subcopy; in IsAnchorStart()
922 Regexp** subcopy = new Regexp*[re->nsub()]; in IsAnchorEnd() local
923 subcopy[re->nsub() - 1] = sub; // already have reference in IsAnchorEnd()
925 subcopy[i] = re->sub()[i]->Incref(); in IsAnchorEnd()
926 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorEnd()
927 delete[] subcopy; in IsAnchorEnd()
Dregexp.cc214 Regexp** subcopy = NULL; in ConcatOrAlternate() local
217 subcopy = new Regexp*[nsub]; in ConcatOrAlternate()
218 memmove(subcopy, sub, nsub * sizeof sub[0]); in ConcatOrAlternate()
219 sub = subcopy; in ConcatOrAlternate()
223 delete[] subcopy; in ConcatOrAlternate()
240 delete[] subcopy; in ConcatOrAlternate()
250 delete[] subcopy; in ConcatOrAlternate()