Home
last modified time | relevance | path

Searched refs:ncapture_ (Results 1 – 4 of 4) sorted by relevance

/external/regex-re2/re2/
Dnfa.cc111 int ncapture_; // number of submatches to track member in re2::NFA
131 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 …]
Dregexp.cc504 NumCapturesWalker() : ncapture_(0) {} in NumCapturesWalker()
505 int ncapture() { return ncapture_; } in ncapture()
509 ncapture_++; in PreVisit()
519 int ncapture_; member in re2::NumCapturesWalker
/external/chromium_org/third_party/re2/re2/
Dnfa.cc111 int ncapture_; // number of submatches to track member in re2::NFA
131 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 …]
Dregexp.cc504 NumCapturesWalker() : ncapture_(0) {} in NumCapturesWalker()
505 int ncapture() { return ncapture_; } in ncapture()
509 ncapture_++; in PreVisit()
519 int ncapture_; member in re2::NumCapturesWalker