Lines Matching refs:subject_len

1195 	size_t subject_len = ZSTR_LEN(subject_str);  in php_pcre_match_impl()  local
1232 if ((PCRE2_SIZE)-start_offset <= subject_len) { in php_pcre_match_impl()
1233 start_offset2 = subject_len + start_offset; in php_pcre_match_impl()
1241 if (start_offset2 > subject_len) { in php_pcre_match_impl()
1296 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1300 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1399 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1412 if (start_offset2 < subject_len) { in php_pcre_match_impl()
1438 if (PCRE2_UNSET == start_offset2 || start_offset2 > subject_len) { in php_pcre_match_impl()
1442 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1446 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1589 char *subject, size_t subject_len, in php_pcre_replace() argument
1606 result = php_pcre_replace_impl(pce, subject_str, subject, subject_len, replace_str, in php_pcre_replace()
1615 …pcre_cache_entry *pce, zend_string *subject_str, char *subject, size_t subject_len, zend_string *r… in php_pcre_replace_impl() argument
1664 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1668 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1786 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1797 if (start_offset < subject_len) { in php_pcre_replace_impl()
1815 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_impl()
1822 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - last_end_offset); in php_pcre_replace_impl()
1823 result_len += subject_len - last_end_offset; in php_pcre_replace_impl()
1839 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1843 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1855 …pcre_cache_entry *pce, zend_string *subject_str, char *subject, size_t subject_len, zend_fcall_inf… in php_pcre_replace_func_impl() argument
1920 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1924 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1995 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
2006 if (start_offset < subject_len) { in php_pcre_replace_func_impl()
2024 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_func_impl()
2031 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - last_end_offset); in php_pcre_replace_func_impl()
2032 result_len += subject_len - last_end_offset; in php_pcre_replace_func_impl()
2047 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
2051 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()