Searched refs:pmatch (Results 1 – 2 of 2) sorted by relevance
205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch) in grep_search() argument210 if (pmatch->rm_so == (ssize_t)len) in grep_search()213 if (fg->bol && pmatch->rm_so != 0) { in grep_search()214 pmatch->rm_so = len; in grep_search()215 pmatch->rm_eo = len; in grep_search()233 pmatch->rm_so = j; in grep_search()234 pmatch->rm_eo = j + fg->len; in grep_search()244 pmatch->rm_so = j - fg->len; in grep_search()245 pmatch->rm_eo = j; in grep_search()256 j = pmatch->rm_so; in grep_search()[all …]
290 regmatch_t pmatch; in procline() local297 pmatch.rm_so = st; in procline()298 pmatch.rm_eo = l->len; in procline()309 l->len, &pmatch); in procline()311 st = pmatch.rm_eo; in procline()314 &pmatch, eflags); in procline()316 st = pmatch.rm_eo; in procline()322 (pmatch.rm_so != 0 || in procline()323 (size_t)pmatch.rm_eo != l->len)) in procline()326 if (fg_pattern[i].word && pmatch.rm_so != 0) { in procline()[all …]