Home | History | Annotate | Download | only in grep

Lines Matching defs:matches

248 		/* Count the matches if we have a match limit */
283 * matches. The matching lines are passed to printline() to display the
289 regmatch_t matches[MAX_LINE_MATCHES];
343 matches[m++] = pmatch;
344 /* matches - skip further patterns */
353 /* One pass if we are not recording matches */
358 break; /* No matches */
373 printline(l, ':', matches, m);
375 printline(l, '-', matches, m);
444 printline(struct str *line, int sep, regmatch_t *matches, int m)
476 fwrite(line->dat + a, matches[i].rm_so - a, 1,
481 fwrite(line->dat + matches[i].rm_so,
482 matches[i].rm_eo - matches[i].rm_so, 1,
487 a = matches[i].rm_eo;