Lines Matching refs:subject
220 pcre2_substitute(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_substitute() argument
326 scb.input = subject; in pcre2_substitute()
332 if (subject == NULL) in pcre2_substitute()
335 subject = (PCRE2_SPTR)""; in pcre2_substitute()
341 length = subject? PRIV(strlen)(subject) : 0; in pcre2_substitute()
373 if (!replacement_only) CHECKMEMCPY(subject, start_offset); in pcre2_substitute()
389 else rc = pcre2_match(code, subject, length, start_offset, options|goptions, in pcre2_substitute()
414 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute()
418 subject[start_offset] == CHAR_LF) in pcre2_substitute()
426 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
430 (subject[start_offset] & 0xfc00) == 0xdc00) in pcre2_substitute()
439 if (!replacement_only) CHECKMEMCPY(subject + save_start, fraglength); in pcre2_substitute()
488 if (!replacement_only) CHECKMEMCPY(subject + start_offset, fraglength); in pcre2_substitute()
773 subptr = subject + ovector[group*2]; in pcre2_substitute()
774 subptrend = subject + ovector[group*2 + 1]; in pcre2_substitute()
935 if (!replacement_only) CHECKMEMCPY(subject + ovector[0], oldlength); in pcre2_substitute()
963 CHECKMEMCPY(subject + start_offset, fraglength); in pcre2_substitute()