Home
last modified time | relevance | path

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

/external/regex-re2/re2/testing/
Dbacktrack.cc69 StringPiece *submatch_; // submatches to fill in member in re2::Backtracker
83 submatch_(NULL), in Backtracker()
108 submatch_ = submatch; in Search()
117 submatch_ = &sp0; in Search()
120 submatch_[0] = NULL; in Search()
212 if (submatch_[0].data() == NULL || // First match so far ... in Visit()
213 (longest_ && p > submatch_[0].end())) { // ... or better match in Visit()
215 submatch_[i] = StringPiece(cap_[2*i], cap_[2*i+1] - cap_[2*i]); in Visit()
/external/regex-re2/re2/
Dbitstate.cc55 StringPiece *submatch_; // submatches to fill in member in re2::BitState
76 submatch_(NULL), in BitState()
270 if (submatch_[0].data() == NULL || in TrySearch()
271 (longest_ && p > submatch_[0].end())) { in TrySearch()
273 submatch_[i] = StringPiece(cap_[2*i], cap_[2*i+1] - cap_[2*i]); in TrySearch()
308 submatch_ = submatch; in Search()
311 submatch_[i] = NULL; in Search()