Lines Matching refs:match
29 * match shell file patterns
63 regmatch_t* match;
70 * subgroup match
71 * 0 returned if no match
73 * match group begin offsets are even elements of sub
74 * match group end offsets are odd elements of sub
139 if (!(matchstate.match = newof(matchstate.match, regmatch_t, n, 0)))
143 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE)))
155 *subi++ = matchstate.match[n].rm_so;
156 *subi++ = matchstate.match[n].rm_eo;
164 *sub++ = matchstate.match[n].rm_so;
165 *sub++ = matchstate.match[n].rm_eo;
173 * returns 1 for match 0 otherwise
183 * leading substring match
185 * 0 returned if no match
193 ssize_t match[2];
195 return strgrpmatch(s, p, match, 1, (flags ? STR_MAXIMAL : 0)|STR_LEFT) ? (char*)s + match[1] : (char*)0;