Home
last modified time | relevance | path

Searched refs:longest_ (Results 1 – 3 of 3) sorted by relevance

/external/regex-re2/re2/testing/
Dbacktrack.cc67 bool longest_; // whether search wants leftmost-longest match member in re2::Backtracker
81 longest_(false), in Backtracker()
106 longest_ = longest | prog_->anchor_end(); in Search()
175 if (longest_) in Visit()
213 (longest_ && p > submatch_[0].end())) { // ... or better match in Visit()
/external/regex-re2/re2/
Dbitstate.cc53 bool longest_; // whether search wants leftmost-longest match member in re2::BitState
74 longest_(false), in BitState()
271 (longest_ && p > submatch_[0].end())) { in TrySearch()
277 if (!longest_) in TrySearch()
306 longest_ = longest || prog_->anchor_end(); in Search()
Dnfa.cc112 bool longest_; // whether searching for longest match member in re2::NFA
132 longest_ = false; in NFA()
300 if (longest_) { in Step()
326 if (ip->greedy(prog_) || longest_) { in Step()
345 if (longest_) { in Step()
437 longest_ = longest; in Search()