Lines Matching defs:nmatch
71 sub(const regex_t* p, register regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch, register regmatch_t* match)
84 if (op->off >= nmatch)
148 regsubexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match)
155 if (!p->env->sub || (p->env->flags & REG_NOSUB) || !nmatch)
169 if (!c && (c = sub(p, b, s, b->re_ops, nmatch, match)))
175 if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0)))
212 regsubexec(const regex_t* p, const char* s, size_t nmatch, oldregmatch_t* oldmatch)
220 if (!(match = oldof(0, regmatch_t, nmatch, 0)))
222 for (i = 0; i < nmatch; i++)
227 if (!(r = regsubexec_20120528(p, s, nmatch, match)))
228 for (i = 0; i < nmatch; i++)