Lines Matching refs:match
71 …er regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch, register regmatch_t* match) in sub() argument
86 if ((c = match[op->off].rm_so) < 0) in sub()
89 if ((c = match[op->off].rm_eo) < 0) in sub()
148 regsubexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match) in regsubexec() argument
165 PUTS(p, b, s, match->rm_eo, return fatal(p->env->disc, c, NiL)); in regsubexec()
168 PUTS(p, b, s, match->rm_so, return fatal(p->env->disc, c, NiL)); in regsubexec()
169 if (!c && (c = sub(p, b, s, b->re_ops, nmatch, match))) in regsubexec()
172 s += match->rm_eo; in regsubexec()
175 …if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADV… in regsubexec()
181 if (!match->rm_so && !match->rm_eo && *s && m <= 1) in regsubexec()
183 match->rm_so = match->rm_eo = 1; in regsubexec()
216 regmatch_t* match; in regsubexec() local
220 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regsubexec()
224 match[i].rm_so = oldmatch[i].rm_so; in regsubexec()
225 match[i].rm_eo = oldmatch[i].rm_eo; in regsubexec()
227 if (!(r = regsubexec_20120528(p, s, nmatch, match))) in regsubexec()
230 oldmatch[i].rm_so = match[i].rm_so; in regsubexec()
231 oldmatch[i].rm_eo = match[i].rm_eo; in regsubexec()
233 free(match); in regsubexec()