Lines Matching defs:lastmatchnumber
930 lastmatchnumber the number of the last matching line, plus one
938 static void do_after_lines(int lastmatchnumber, char *lastmatchrestart,
941 if (after_context > 0 && lastmatchnumber > 0)
949 if (number) fprintf(stdout, "%d-", lastmatchnumber++);
1051 int lastmatchnumber = 0;
1308 if (after_context > 0 && lastmatchnumber > 0)
1328 if (number) fprintf(stdout, "%d-", lastmatchnumber++);
1353 while (p > main_buffer && (lastmatchnumber == 0 || p > lastmatchrestart) &&
1360 if (lastmatchnumber > 0 && p > lastmatchrestart && !hyphenprinted)
1466 lastmatchnumber = linenumber + 1;
1512 lastmatchnumber > 0 &&
1515 do_after_lines(lastmatchnumber, lastmatchrestart, endptr, printname);
1516 lastmatchnumber = 0;
1546 if (lastmatchnumber > 0) lastmatchrestart -= bufthird;
1555 do_after_lines(lastmatchnumber, lastmatchrestart, endptr, printname);