Lines Matching refs:subject_len

1166 	size_t subject_len = ZSTR_LEN(subject_str);  in php_pcre_match_impl()  local
1203 if ((PCRE2_SIZE)-start_offset <= subject_len) { in php_pcre_match_impl()
1204 start_offset2 = subject_len + start_offset; in php_pcre_match_impl()
1212 if (start_offset2 > subject_len) { in php_pcre_match_impl()
1267 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1271 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1370 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1383 if (start_offset2 < subject_len) { in php_pcre_match_impl()
1409 if (PCRE2_UNSET == start_offset2 || start_offset2 > subject_len) { in php_pcre_match_impl()
1413 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1417 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1554 const char *subject, size_t subject_len, in php_pcre_replace() argument
1571 result = php_pcre_replace_impl(pce, subject_str, subject, subject_len, replace_str, in php_pcre_replace()
1580 …ache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_len, zend_string *r… in php_pcre_replace_impl() argument
1629 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1633 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1751 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1762 if (start_offset < subject_len) { in php_pcre_replace_impl()
1780 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_impl()
1787 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - last_end_offset); in php_pcre_replace_impl()
1788 result_len += subject_len - last_end_offset; in php_pcre_replace_impl()
1804 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1808 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1820 …ache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_len, zend_fcall_inf… in php_pcre_replace_func_impl() argument
1885 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1889 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1960 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1971 if (start_offset < subject_len) { in php_pcre_replace_func_impl()
1989 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_func_impl()
1996 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - last_end_offset); in php_pcre_replace_func_impl()
1997 result_len += subject_len - last_end_offset; in php_pcre_replace_func_impl()
2012 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
2016 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()