Lines Matching defs:line
183 * Opens a file and processes it. Each file is processed line-by-line
243 /* Process the file line-by-line */
279 * Processes a line comparing it with the specified patterns. Each pattern
294 /* Loop to process the whole line */
440 * Prints a matching line according to the command line options.
443 printline(struct str *line, int sep, regmatch_t *matches, int m)
450 fputs(line->file, stdout);
452 printf("%s", line->file);
460 printf("%d", line->line_no);
466 printf("%lld", (long long)line->off);
475 fwrite(line->dat + a, matches[i].rm_so - a, 1,
480 fwrite(line->dat + matches[i].rm_so,
490 if (line->len - a > 0)
491 fwrite(line->dat + a, line->len - a, 1, stdout);
495 fwrite(line->dat, line->len, 1, stdout);