Lines Matching defs:match
36 regexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match, regflags_t flags)
41 int m = match->rm_so;
44 if (!(r = regnexec(p, s + m, match->rm_eo - m, nmatch, match, flags)) && m > 0)
45 for (e = match + nmatch; match < e; match++)
46 if (match->rm_so >= 0)
48 match->rm_so += m;
49 match->rm_eo += m;
53 return regnexec(p, s, s ? strlen(s) : 0, nmatch, match, flags);
74 regmatch_t* match;
78 if (!(match = oldof(0, regmatch_t, nmatch, 0)))
80 if (!(r = regexec_20120528(p, s, nmatch, match, flags)))
83 oldmatch[i].rm_so = match[i].rm_so;
84 oldmatch[i].rm_eo = match[i].rm_eo;
86 free(match);