Lines Matching refs:lastmatchrestart
1660 do_after_lines(unsigned long int lastmatchnumber, char *lastmatchrestart, in do_after_lines() argument
1666 while (lastmatchrestart < endptr && count < after_context) in do_after_lines()
1669 char *pp = end_of_line(lastmatchrestart, endptr, &ellength); in do_after_lines()
1673 FWRITE_IGNORE(lastmatchrestart, 1, pp - lastmatchrestart, stdout); in do_after_lines()
1674 lastmatchrestart = pp; in do_after_lines()
2367 char *lastmatchrestart = main_buffer; in pcre2grep() local
2469 lastmatchrestart = new_buffer + (lastmatchrestart - main_buffer); in pcre2grep()
2720 char *p = lastmatchrestart; in pcre2grep()
2732 while (lastmatchrestart < p) in pcre2grep()
2734 char *pp = lastmatchrestart; in pcre2grep()
2738 FWRITE_IGNORE(lastmatchrestart, 1, pp - lastmatchrestart, stdout); in pcre2grep()
2739 lastmatchrestart = pp; in pcre2grep()
2741 if (lastmatchrestart != ptr) hyphenpending = TRUE; in pcre2grep()
2761 while (p > main_buffer && (lastmatchnumber == 0 || p > lastmatchrestart) && in pcre2grep()
2768 if (lastmatchnumber > 0 && p > lastmatchrestart && !hyphenprinted) in pcre2grep()
2915 lastmatchrestart = ptr + linelength + endlinelength; in pcre2grep()
2964 lastmatchrestart < main_buffer + bufthird) in pcre2grep()
2966 do_after_lines(lastmatchnumber, lastmatchrestart, endptr, printname); in pcre2grep()
2981 if (lastmatchnumber > 0) lastmatchrestart -= bufthird; in pcre2grep()
2990 do_after_lines(lastmatchnumber, lastmatchrestart, endptr, printname); in pcre2grep()