Searched refs:ncap (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | onepass.cc | 202 const char** cap, int ncap) { in ApplyCaptures() argument 203 for (int i = 2; i < ncap; i++) in ApplyCaptures() 225 int ncap = 2*nmatch; in SearchOnePass() local 226 if (ncap < 2) in SearchOnePass() 227 ncap = 2; in SearchOnePass() 230 for (int i = 0; i < ncap; i++) in SearchOnePass() 234 for (int i = 0; i < ncap; i++) in SearchOnePass() 304 ApplyCaptures(matchcond, p, matchcap, ncap); in SearchOnePass() 321 ApplyCaptures(cond, p, cap, ncap); in SearchOnePass() 330 ApplyCaptures(matchcond, p, cap, ncap); in SearchOnePass() [all …]
|
D | bitstate.cc | 314 int ncap = 2*nsubmatch; in Search() local 315 if (ncap < 2) in Search() 316 ncap = 2; in Search() 317 cap_ = PODArray<const char*>(ncap); in Search() 318 memset(cap_.data(), 0, ncap*sizeof cap_[0]); in Search()
|
D | re2.cc | 648 int ncap = 1 + NumberOfCapturingGroups(); in GlobalReplace() local 649 if (ncap > nsubmatch) in GlobalReplace() 650 ncap = nsubmatch; in GlobalReplace() 691 bool can_one_pass = (is_one_pass_ && ncap <= Prog::kMaxOnePassCapture); in GlobalReplace() 802 (ncap > 1 || text.size() <= 8)) { in GlobalReplace() 806 if (can_bit_state && text.size() <= bit_state_text_max && ncap > 1) { in GlobalReplace() 828 if (!skipped_test && ncap <= 1) { in GlobalReplace() 830 if (ncap == 1) in GlobalReplace() 848 if (!prog_->SearchOnePass(subtext1, text, anchor, kind, submatch, ncap)) { in GlobalReplace() 855 kind, submatch, ncap)) { in GlobalReplace() [all …]
|
/external/crosvm/devices/src/virtio/fs/ |
D | caps.rs | 28 ncap: c_int, in cap_set_flag()
|