Lines Matching refs:subject_len
1190 size_t subject_len = ZSTR_LEN(subject_str); in php_pcre_match_impl() local
1227 if ((PCRE2_SIZE)-start_offset <= subject_len) { in php_pcre_match_impl()
1228 start_offset2 = subject_len + start_offset; in php_pcre_match_impl()
1236 if (start_offset2 > subject_len) { in php_pcre_match_impl()
1291 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1295 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1394 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1407 if (start_offset2 < subject_len) { in php_pcre_match_impl()
1433 if (PCRE2_UNSET == start_offset2 || start_offset2 > subject_len) { in php_pcre_match_impl()
1437 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1441 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1578 const char *subject, size_t subject_len, in php_pcre_replace() argument
1595 result = php_pcre_replace_impl(pce, subject_str, subject, subject_len, replace_str, in php_pcre_replace()
1604 …ache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_len, zend_string *r… in php_pcre_replace_impl() argument
1653 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1657 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1777 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1788 if (start_offset < subject_len) { in php_pcre_replace_impl()
1806 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_impl()
1813 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - last_end_offset); in php_pcre_replace_impl()
1814 result_len += subject_len - last_end_offset; in php_pcre_replace_impl()
1830 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1834 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1846 …ache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_len, zend_fcall_inf… in php_pcre_replace_func_impl() argument
1911 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1915 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1986 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1997 if (start_offset < subject_len) { in php_pcre_replace_func_impl()
2015 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_func_impl()
2022 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - last_end_offset); in php_pcre_replace_func_impl()
2023 result_len += subject_len - last_end_offset; in php_pcre_replace_func_impl()
2038 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
2042 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()