Lines Matching refs:start_offset
221 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_substitute() argument
361 if (start_offset > length) in pcre2_substitute()
370 if (!replacement_only) CHECKMEMCPY(subject, start_offset); in pcre2_substitute()
386 else rc = pcre2_match(code, subject, length, start_offset, options|goptions, in pcre2_substitute()
403 if (goptions == 0 || start_offset >= length) break; in pcre2_substitute()
410 save_start = start_offset++; in pcre2_substitute()
411 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute()
414 start_offset < length && in pcre2_substitute()
415 subject[start_offset] == CHAR_LF) in pcre2_substitute()
416 start_offset++; in pcre2_substitute()
423 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
424 start_offset++; in pcre2_substitute()
426 while (start_offset < length && in pcre2_substitute()
427 (subject[start_offset] & 0xfc00) == 0xdc00) in pcre2_substitute()
428 start_offset++; in pcre2_substitute()
435 fraglength = start_offset - save_start; in pcre2_substitute()
444 if (ovector[1] < ovector[0] || ovector[0] < start_offset) in pcre2_substitute()
460 if (ovector[0] == ovector[1] && ovecsave[2] != start_offset) in pcre2_substitute()
463 ovecsave[2] = start_offset; in pcre2_substitute()
484 fraglength = ovector[0] - start_offset; in pcre2_substitute()
485 if (!replacement_only) CHECKMEMCPY(subject + start_offset, fraglength); in pcre2_substitute()
947 ovecsave[2] = start_offset; in pcre2_substitute()
949 goptions = (ovector[0] != ovector[1] || ovector[0] > start_offset)? 0 : in pcre2_substitute()
951 start_offset = ovector[1]; in pcre2_substitute()
959 fraglength = length - start_offset; in pcre2_substitute()
960 CHECKMEMCPY(subject + start_offset, fraglength); in pcre2_substitute()