Lines Matching refs:startoffset
1705 PCRE2_SIZE startoffset, int *mrc) in match_patterns() argument
1720 startoffset, options, match_data, match_context); in match_patterns()
2422 PCRE2_SIZE startoffset = 0; in pcre2grep() local
2557 match = match_patterns(ptr, length, options, startoffset, &mrc); in pcre2grep()
2679 startoffset = offsets[1]; /* Restart after the match */ in pcre2grep()
2681 if (startoffset <= oldstartoffset) in pcre2grep()
2683 if (startoffset >= length) goto END_ONE_MATCH; /* Were at end */ in pcre2grep()
2684 startoffset = oldstartoffset + 1; in pcre2grep()
2685 if (utf) while ((ptr[startoffset] & 0xc0) == 0x80) startoffset++; in pcre2grep()
2692 while (startoffset > linelength) in pcre2grep()
2697 startoffset -= (int)(linelength + endlinelength); in pcre2grep()
2837 startoffset = endprevious; /* Advance after previous match. */ in pcre2grep()
2844 if (startoffset <= oldstartoffset) in pcre2grep()
2846 startoffset = oldstartoffset + 1; in pcre2grep()
2847 if (utf) while ((ptr[startoffset] & 0xc0) == 0x80) startoffset++; in pcre2grep()
2856 while (startoffset > linelength + endlinelength) in pcre2grep()
2861 startoffset -= (int)(linelength + endlinelength); in pcre2grep()
2872 if (startoffset == linelength + endlinelength) break; in pcre2grep()
2877 if (!match_patterns(ptr, length, options, startoffset, &mrc)) break; in pcre2grep()