Home | History | Annotate | Download | only in grep

Lines Matching refs:pmatch

205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch)
210 if (pmatch->rm_so == (ssize_t)len)
213 if (fg->bol && pmatch->rm_so != 0) {
214 pmatch->rm_so = len;
215 pmatch->rm_eo = len;
233 pmatch->rm_so = j;
234 pmatch->rm_eo = j + fg->len;
244 pmatch->rm_so = j - fg->len;
245 pmatch->rm_eo = j;
256 j = pmatch->rm_so;
259 pmatch->rm_so = j;
260 pmatch->rm_eo = j + fg->len;