Lines Matching refs:pmatch
219 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch)
224 if (pmatch->rm_so == (ssize_t)len)
227 if (fg->bol && pmatch->rm_so != 0) {
228 pmatch->rm_so = len;
229 pmatch->rm_eo = len;
247 pmatch->rm_so = j;
248 pmatch->rm_eo = j + fg->len;
258 pmatch->rm_so = j - fg->len;
259 pmatch->rm_eo = j;
270 j = pmatch->rm_so;
273 pmatch->rm_so = j;
274 pmatch->rm_eo = j + fg->len;