Searched refs:ncap (Results 1 – 5 of 5) sorted by relevance
/external/regex-re2/re2/ |
D | onepass.cc | 192 const char** cap, int ncap) { in ApplyCaptures() argument 193 for (int i = 2; i < ncap; i++) in ApplyCaptures() 218 int ncap = 2*nmatch; in SearchOnePass() local 219 if (ncap < 2) in SearchOnePass() 220 ncap = 2; in SearchOnePass() 223 for (int i = 0; i < ncap; i++) in SearchOnePass() 227 for (int i = 0; i < ncap; i++) in SearchOnePass() 300 ApplyCaptures(matchcond, p, matchcap, ncap); in SearchOnePass() 317 ApplyCaptures(cond, p, cap, ncap); in SearchOnePass() 326 ApplyCaptures(matchcond, p, cap, ncap); in SearchOnePass() [all …]
|
D | re2.cc | 556 int ncap = 1 + NumberOfCapturingGroups(); in Match() local 557 if (ncap > nsubmatch) in Match() 558 ncap = nsubmatch; in Match() 598 bool can_one_pass = (is_one_pass_ && ncap <= Prog::kMaxOnePassCapture); in Match() 683 (ncap > 1 || text.size() <= 8)) { in Match() 691 if (can_bit_state && text.size() <= bit_state_text_max && ncap > 1) { in Match() 718 if (!skipped_test && ncap <= 1) { in Match() 720 if (ncap == 1) in Match() 742 if (!prog_->SearchOnePass(subtext1, text, anchor, kind, submatch, ncap)) { in Match() 753 kind, submatch, ncap)) { in Match() [all …]
|
/external/chromium_org/third_party/re2/re2/ |
D | onepass.cc | 192 const char** cap, int ncap) { in ApplyCaptures() argument 193 for (int i = 2; i < ncap; i++) in ApplyCaptures() 218 int ncap = 2*nmatch; in SearchOnePass() local 219 if (ncap < 2) in SearchOnePass() 220 ncap = 2; in SearchOnePass() 223 for (int i = 0; i < ncap; i++) in SearchOnePass() 227 for (int i = 0; i < ncap; i++) in SearchOnePass() 300 ApplyCaptures(matchcond, p, matchcap, ncap); in SearchOnePass() 317 ApplyCaptures(cond, p, cap, ncap); in SearchOnePass() 326 ApplyCaptures(matchcond, p, cap, ncap); in SearchOnePass() [all …]
|
D | re2.cc | 574 int ncap = 1 + NumberOfCapturingGroups(); in Match() local 575 if (ncap > nsubmatch) in Match() 576 ncap = nsubmatch; in Match() 616 bool can_one_pass = (is_one_pass_ && ncap <= Prog::kMaxOnePassCapture); in Match() 701 (ncap > 1 || text.size() <= 8)) { in Match() 709 if (can_bit_state && text.size() <= bit_state_text_max && ncap > 1) { in Match() 736 if (!skipped_test && ncap <= 1) { in Match() 738 if (ncap == 1) in Match() 760 if (!prog_->SearchOnePass(subtext1, text, anchor, kind, submatch, ncap)) { in Match() 771 kind, submatch, ncap)) { in Match() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLEntityNames.in | 1429 "ncap;","U+02A43"
|