Home
last modified time | relevance | path

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

/external/regex-re2/re2/testing/
Dtester.cc168 num_captures_(0), in TestInstance()
186 num_captures_ = regexp_->NumCaptures(); in TestInstance()
289 int nsubmatch = 1 + num_captures_; // NumCaptures doesn't count $0 in RunSearch()
528 for (int i = 0; i < 1+num_captures_; i++) { in RunCase()
Dtester.h81 int num_captures_; // regexp_->NumCaptures() cached variable
/external/regex-re2/re2/
Dre2.cc185 num_captures_ = -1; in Init()
891 ANNOTATE_BENIGN_RACE(&num_captures_, "benign race: in the worst case" in NumberOfCapturingGroups()
893 if (num_captures_ == -1) in NumberOfCapturingGroups()
894 num_captures_ = suffix_regexp_->NumCaptures(); in NumberOfCapturingGroups()
895 return num_captures_; in NumberOfCapturingGroups()
Dre2.h718 mutable int num_captures_; // Number of capturing groups variable