Lines Matching refs:subject
220 pcre2_substitute(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_substitute() argument
323 scb.input = subject; in pcre2_substitute()
329 if (subject == NULL) in pcre2_substitute()
332 subject = (PCRE2_SPTR)""; in pcre2_substitute()
338 length = subject? PRIV(strlen)(subject) : 0; 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()
411 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute()
415 subject[start_offset] == CHAR_LF) in pcre2_substitute()
423 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
427 (subject[start_offset] & 0xfc00) == 0xdc00) in pcre2_substitute()
436 if (!replacement_only) CHECKMEMCPY(subject + save_start, fraglength); in pcre2_substitute()
485 if (!replacement_only) CHECKMEMCPY(subject + start_offset, fraglength); in pcre2_substitute()
770 subptr = subject + ovector[group*2]; in pcre2_substitute()
771 subptrend = subject + ovector[group*2 + 1]; in pcre2_substitute()
932 if (!replacement_only) CHECKMEMCPY(subject + ovector[0], oldlength); in pcre2_substitute()
960 CHECKMEMCPY(subject + start_offset, fraglength); in pcre2_substitute()