Lines Matching refs:matches
267 * matches. The matching lines are passed to printline() to display the
273 regmatch_t matches[MAX_LINE_MATCHES];
325 matches[m++] = pmatch;
326 /* matches - skip further patterns */
338 /* One pass if we are not recording matches */
343 break; /* No matches */
347 /* Count the matches if we have a match limit */
366 printline(l, ':', matches, m);
368 printline(l, '-', matches, m);
437 printline(struct str *line, int sep, regmatch_t *matches, int m)
469 fwrite(line->dat + a, matches[i].rm_so - a, 1,
474 fwrite(line->dat + matches[i].rm_so,
475 matches[i].rm_eo - matches[i].rm_so, 1,
479 a = matches[i].rm_eo;