Searched refs:nmatch (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Support/ |
D | Regex.cpp | 56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() local 60 pm.resize(nmatch > 0 ? nmatch : 1); in match() 64 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match() 79 for (unsigned i = 0; i != nmatch; ++i) { in match()
|
D | regexec.c | 141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, in llvm_regexec() argument 159 return(smatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec() 161 return(lmatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
|
D | regengine.inc | 131 matcher(struct re_guts *g, const char *string, size_t nmatch, 147 nmatch = 0; 192 if (nmatch == 0 && !g->backrefs) 205 if (nmatch == 1 && !g->backrefs) 268 if (nmatch > 0) { 272 if (nmatch > 1) { 274 for (i = 1; i < nmatch; i++)
|
/external/regex-re2/re2/ |
D | onepass.cc | 210 StringPiece* match, int nmatch) { in SearchOnePass() argument 218 int ncap = 2*nmatch; in SearchOnePass() 297 for (int i = 2; i < 2*nmatch; i++) in SearchOnePass() 299 if (nmatch > 1 && (matchcond & kCapMask)) in SearchOnePass() 316 if ((cond & kCapMask) && nmatch > 1) in SearchOnePass() 325 if (nmatch > 1 && (matchcond & kCapMask)) in SearchOnePass() 337 for (int i = 0; i < nmatch; i++) in SearchOnePass()
|
D | prog.h | 264 StringPiece* match, int nmatch); 295 StringPiece* match, int nmatch); 301 StringPiece* match, int nmatch); 314 StringPiece* match, int nmatch);
|
D | bitstate.cc | 354 int nmatch) { in SearchBitState() argument 361 if (nmatch < 1) { in SearchBitState() 363 nmatch = 1; in SearchBitState() 371 if (!b.Search(text, context, anchored, longest, match, nmatch)) in SearchBitState()
|
D | nfa.cc | 688 StringPiece* match, int nmatch) { in SearchNFA() argument 696 if (nmatch == 0) { in SearchNFA() 698 nmatch = 1; in SearchNFA() 701 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
|
D | re2.h | 458 int nmatch) const;
|
/external/srec/tools/grxmlcompile/ |
D | sub_min.cpp | 260 int fix, six, fmiss, smiss, nmatch, symTst, newId; in PairwiseDeterminize() local 271 fmiss= smiss= nmatch= 0; in PairwiseDeterminize() 310 nmatch++; in PairwiseDeterminize() 341 assert (nmatch > 0); in PairwiseDeterminize() 345 if (nmatch > 0) { in PairwiseDeterminize() 347 for (int ii= 0; ii < nmatch; ii++) { in PairwiseDeterminize() 354 return nmatch; in PairwiseDeterminize()
|
/external/jdiff/src/jdiff/ |
D | DiffMyers.java | 581 int nmatch; in discardable() local 584 nmatch = counts[equivs[i]]; in discardable() 585 if (nmatch == 0) in discardable() 587 else if (nmatch > many) in discardable()
|
/external/oprofile/libregex/ |
D | op_regex.cpp | 47 size_t nmatch) in op_regexec() argument 49 return regexec(®ex, str.c_str(), nmatch, match, 0) != REG_NOMATCH; in op_regexec()
|