Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dfiltered_re2.cc28 for (size_t i = 0; i < re2_vec_.size(); i++) in ~FilteredRE2()
29 delete re2_vec_[i]; in ~FilteredRE2()
45 *id = static_cast<int>(re2_vec_.size()); in Add()
46 re2_vec_.push_back(re); in Add()
58 if (re2_vec_.empty()) { in Compile()
63 for (size_t i = 0; i < re2_vec_.size(); i++) { in Compile()
64 Prefilter* prefilter = Prefilter::FromRE2(re2_vec_[i]); in Compile()
73 for (size_t i = 0; i < re2_vec_.size(); i++) in SlowFirstMatch()
74 if (RE2::PartialMatch(text, *re2_vec_[i])) in SlowFirstMatch()
88 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) in FirstMatch()
[all …]
Dfiltered_re2.h81 int NumRegexps() const { return static_cast<int>(re2_vec_.size()); } in NumRegexps()
84 const RE2& GetRE2(int regexpid) const { return *re2_vec_[regexpid]; } in GetRE2()
95 std::vector<RE2*> re2_vec_; variable