Lines Matching refs:matches
247 /* Count the matches if we have a match limit */
282 * matches. The matching lines are passed to printline() to display the
288 regmatch_t matches[MAX_LINE_MATCHES];
342 matches[m++] = pmatch;
343 /* matches - skip further patterns */
352 /* One pass if we are not recording matches */
357 break; /* No matches */
372 printline(l, ':', matches, m);
374 printline(l, '-', matches, m);
443 printline(struct str *line, int sep, regmatch_t *matches, int m)
475 fwrite(line->dat + a, matches[i].rm_so - a, 1,
480 fwrite(line->dat + matches[i].rm_so,
481 matches[i].rm_eo - matches[i].rm_so, 1,
485 a = matches[i].rm_eo;