Lines Matching refs:subject

953 		zval *val, const char *subject, PCRE2_SIZE start_offset, PCRE2_SIZE end_offset) {  in populate_match_value_str()  argument
954 ZVAL_STRINGL_FAST(val, subject + start_offset, end_offset - start_offset); in populate_match_value_str()
958 zval *val, const char *subject, PCRE2_SIZE start_offset, PCRE2_SIZE end_offset, in populate_match_value() argument
967 populate_match_value_str(val, subject, start_offset, end_offset); in populate_match_value()
987 HashTable *const result, const char *subject, PCRE2_SIZE start_offset, PCRE2_SIZE end_offset, in add_offset_pair() argument
1007 populate_match_value_str(&val1, subject, start_offset, end_offset); in add_offset_pair()
1020 zval *subpats, const char *subject, PCRE2_SIZE *offsets, zend_string **subpat_names, in populate_subpat_array() argument
1031 subpats_ht, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1042 &val, subject, offsets[2*i], offsets[2*i+1], unmatched_as_null); in populate_subpat_array()
1062 subpats_ht, subject, offsets[2*i], offsets[2*i+1], NULL, unmatched_as_null); in populate_subpat_array()
1072 &val, subject, offsets[2*i], offsets[2*i+1], unmatched_as_null); in populate_subpat_array()
1092 zend_string *subject; /* String to match against */ in php_do_pcre_match() local
1100 Z_PARAM_STR(subject) in php_do_pcre_match()
1113 php_pcre_match_impl(pce, subject, return_value, subpats, in php_do_pcre_match()
1157 char *subject = ZSTR_VAL(subject_str); in php_pcre_match_impl() local
1257 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1261 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1294 match_sets[i], subject, offsets[2*i], offsets[2*i+1], in php_pcre_match_impl()
1301 &val, subject, offsets[2*i], offsets[2*i+1], unmatched_as_null); in php_pcre_match_impl()
1342 &result_set, subject, offsets, subpat_names, in php_pcre_match_impl()
1351 subpats, subject, offsets, subpat_names, num_subpats, count, mark, flags); in php_pcre_match_impl()
1364 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1378 size_t unit_len = calculate_unit_length(pce, subject + start_offset2); in php_pcre_match_impl()
1407 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1411 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1474 zend_string *regex, *subject; variable
1477 Z_FLF_PARAM_STR(2, subject, subject_tmp);
1486 php_pcre_match_impl(pce, subject, return_value, /* subpats */ NULL,
1541 …_repl_func(zend_fcall_info *fci, zend_fcall_info_cache *fcc, const char *subject, PCRE2_SIZE *offs… in preg_do_repl_func() argument
1548 populate_subpat_array(&arg, subject, offsets, subpat_names, num_subpats, count, mark, flags); in preg_do_repl_func()
1566 result_str = zend_string_init(&subject[offsets[0]], offsets[1] - offsets[0], 0); in preg_do_repl_func()
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 …eplace_impl(pcre_cache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_l… in php_pcre_replace_impl() argument
1655 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1659 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1663 piece = subject + last_end_offset; in php_pcre_replace_impl()
1689 match = subject + offsets[0]; in php_pcre_replace_impl()
1751 walkbuf = zend_mempcpy(walkbuf, subject + offsets[backref << 1], match_len); in php_pcre_replace_impl()
1774 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1777 piece = subject + start_offset; in php_pcre_replace_impl()
1827 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1831 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1843 …e_func_impl(pcre_cache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_l… in php_pcre_replace_func_impl() argument
1910 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1914 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1918 piece = subject + last_end_offset; in php_pcre_replace_func_impl()
1942 match = subject + offsets[0]; in php_pcre_replace_func_impl()
1948 fci, fcc, subject, offsets, subpat_names, num_subpats, count, in php_pcre_replace_func_impl()
1983 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1986 piece = subject + start_offset; in php_pcre_replace_func_impl()
2035 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
2039 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
2158 zend_string *subject, size_t limit, size_t *replace_count) in php_replace_in_subject() argument
2164 result = php_pcre_replace(regex_str, subject, ZSTR_VAL(subject), ZSTR_LEN(subject), in php_replace_in_subject()
2168 result = php_pcre_replace_array(regex_ht, replace_str, replace_ht, subject, in php_replace_in_subject()
2178 zend_string *subject, size_t limit, size_t *replace_count, zend_long flags) in php_replace_in_subject_func() argument
2184 regex_str, subject, fci, fcc, limit, replace_count, flags); in php_replace_in_subject_func()
2192 zend_string_addref(subject); in php_replace_in_subject_func()
2203 regex_entry_str, subject, fci, fcc, limit, replace_count, flags); in php_replace_in_subject_func()
2205 zend_string_release(subject); in php_replace_in_subject_func()
2206 subject = result; in php_replace_in_subject_func()
2212 return subject; in php_replace_in_subject_func()
2537 zend_string *subject; /* String to match against */ in PHP_FUNCTION() local
2545 Z_PARAM_STR(subject) in PHP_FUNCTION()
2557 php_pcre_split_impl(pce, subject, return_value, limit_val, flags); in PHP_FUNCTION()
2576 char *subject = ZSTR_VAL(subject_str); in php_pcre_split_impl() local
2620 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, ZSTR_LEN(subject_str), start_offset, in php_pcre_split_impl()
2624 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, ZSTR_LEN(subject_str), start_offset, in php_pcre_split_impl()
2646 return_value_ht, subject, last_match_offset, offsets[0], in php_pcre_split_impl()
2650 populate_match_value_str(&tmp, subject, last_match_offset, offsets[0]); in php_pcre_split_impl()
2666 return_value_ht, subject, offsets[2*i], offsets[2*i+1], NULL, 0); in php_pcre_split_impl()
2668 populate_match_value_str(&tmp, subject, offsets[2*i], offsets[2*i+1]); in php_pcre_split_impl()
2687 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, ZSTR_LEN(subject_str), start_offset, in php_pcre_split_impl()
2697 start_offset += calculate_unit_length(pce, subject + start_offset); in php_pcre_split_impl()
2721 count = pcre2_jit_match(pce->re, (PCRE2_SPTR)subject, ZSTR_LEN(subject_str), start_offset, in php_pcre_split_impl()
2725 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, ZSTR_LEN(subject_str), start_offset, in php_pcre_split_impl()
2743 add_offset_pair(return_value_ht, subject, start_offset, ZSTR_LEN(subject_str), NULL, 0); in php_pcre_split_impl()
2749 populate_match_value_str(&tmp, subject, start_offset, ZSTR_LEN(subject_str)); in php_pcre_split_impl()