Lines Matching refs:endlinelength

2580   int endlinelength;  in pcre2grep()  local
2609 t = end_of_line(t, endptr, &endlinelength); in pcre2grep()
2610 linelength = t - ptr - endlinelength; in pcre2grep()
2618 if (endlinelength == 0 && t == main_buffer + bufsize) in pcre2grep()
2875 ptr += linelength + endlinelength; in pcre2grep()
2876 filepos += (int)(linelength + endlinelength); in pcre2grep()
2878 startoffset -= (int)(linelength + endlinelength); in pcre2grep()
2879 t = end_of_line(ptr, endptr, &endlinelength); in pcre2grep()
2880 linelength = t - ptr - endlinelength; in pcre2grep()
3040 while (startoffset > linelength + endlinelength) in pcre2grep()
3042 ptr += linelength + endlinelength; in pcre2grep()
3043 filepos += (int)(linelength + endlinelength); in pcre2grep()
3045 startoffset -= (int)(linelength + endlinelength); in pcre2grep()
3046 endprevious -= (int)(linelength + endlinelength); in pcre2grep()
3047 t = end_of_line(ptr, endptr, &endlinelength); in pcre2grep()
3048 linelength = t - ptr - endlinelength; in pcre2grep()
3056 if (startoffset == linelength + endlinelength) break; in pcre2grep()
3081 plength = (int)((linelength + endlinelength) - endprevious); in pcre2grep()
3087 else FWRITE_IGNORE(ptr, 1, linelength + endlinelength, stdout); in pcre2grep()
3099 lastmatchrestart = ptr + linelength + endlinelength; in pcre2grep()
3105 if (lines_printed && lastmatchrestart >= endptr && endlinelength == 0) in pcre2grep()
3131 ptr += linelength + endlinelength; in pcre2grep()
3132 filepos += (int)(linelength + endlinelength); in pcre2grep()