Searched refs:ncapture_ (Results 1 – 2 of 2) sorted by relevance
111 int ncapture_; // number of submatches to track member in re2::NFA131 ncapture_ = 0; in NFA()168 t->capture = new const char*[ncapture_]; in AllocThread()176 for (int i = 0; i < ncapture_; i+=2) { in CopyCapture()252 if ((j=ip->cap()) < ncapture_) { in AddToThreadq()381 for (int i = 0; i < ncapture_; i+=2) { in FormatCapture()436 ncapture_ = 2*nsubmatch; in Search()443 ncapture_ = 2; in Search()446 match_ = new const char*[ncapture_]; in Search()448 memset(match_, 0, ncapture_*sizeof match_[0]); in Search()[all …]
504 NumCapturesWalker() : ncapture_(0) {} in NumCapturesWalker()505 int ncapture() { return ncapture_; } in ncapture()509 ncapture_++; in PreVisit()519 int ncapture_; member in re2::NumCapturesWalker