Searched refs:subcopy (Results 1 – 2 of 2) sorted by relevance
246 Regexp** subcopy = NULL; in ConcatOrAlternate() local249 subcopy = new Regexp*[nsub]; in ConcatOrAlternate()250 memmove(subcopy, sub, nsub * sizeof sub[0]); in ConcatOrAlternate()251 sub = subcopy; in ConcatOrAlternate()255 delete[] subcopy; in ConcatOrAlternate()272 delete[] subcopy; in ConcatOrAlternate()282 delete[] subcopy; in ConcatOrAlternate()
1021 PODArray<Regexp*> subcopy(re->nsub()); in IsAnchorStart() local1022 subcopy[0] = sub; // already have reference in IsAnchorStart()1024 subcopy[i] = re->sub()[i]->Incref(); in IsAnchorStart()1025 *pre = Regexp::Concat(subcopy.data(), re->nsub(), re->parse_flags()); in IsAnchorStart()1068 PODArray<Regexp*> subcopy(re->nsub()); in IsAnchorEnd() local1069 subcopy[re->nsub() - 1] = sub; // already have reference in IsAnchorEnd()1071 subcopy[i] = re->sub()[i]->Incref(); in IsAnchorEnd()1072 *pre = Regexp::Concat(subcopy.data(), re->nsub(), re->parse_flags()); in IsAnchorEnd()