Lines Matching refs:zval

485 static inline void add_offset_pair(zval *result, char *str, int len, int offset, char *name)  in add_offset_pair()
487 zval *match_pair; in add_offset_pair()
499 zend_hash_update(Z_ARRVAL_P(result), name, strlen(name)+1, &match_pair, sizeof(zval *), NULL); in add_offset_pair()
501 zend_hash_next_index_insert(Z_ARRVAL_P(result), &match_pair, sizeof(zval *), NULL); in add_offset_pair()
513 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match()
533 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return… in php_pcre_match_impl()
534 zval *subpats, int global, int use_flags, long flags, long start_offset TSRMLS_DC) in php_pcre_match_impl()
536 zval *result_set, /* Holds a set of subpatterns after in php_pcre_match_impl()
620 match_sets = (zval **)safe_emalloc(num_subpats, sizeof(zval *), 0); in php_pcre_match_impl()
703 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &result_set, sizeof(zval *), NULL); in php_pcre_match_impl()
755 strlen(subpat_names[i])+1, &match_sets[i], sizeof(zval *), NULL); in php_pcre_match_impl()
758 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &match_sets[i], sizeof(zval *), NULL); in php_pcre_match_impl()
832 static int preg_do_repl_func(zval *function, char *subject, int *offsets, char **subpat_names, int … in preg_do_repl_func()
834 zval *retval_ptr; /* Function return value */ in preg_do_repl_func()
835 zval **args[1]; /* Argument to pass to function */ in preg_do_repl_func()
836 zval *subpats; /* Captured subpatterns */ in preg_do_repl_func()
874 zval retval; /* Return value from evaluation */ in preg_do_eval()
961 zval *replace_val, int is_callable_replace, in php_pcre_replace()
977 PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *rep… in php_pcre_replace_impl()
1216 static char *php_replace_in_subject(zval *regex, zval *replace, zval **subject, int *result_len, in… in php_replace_in_subject()
1218 zval **regex_entry, in php_replace_in_subject()
1306 zval **regex, in preg_replace_impl()
1455 PHPAPI void php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return… in php_pcre_split_impl()
1715 zval *input; /* Input array */ in PHP_FUNCTION()
1734 PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, long flags … in php_pcre_grep_impl()
1736 zval **entry; /* An entry in the input array */ in php_pcre_grep_impl()
1774 zval subject = **entry; in php_pcre_grep_impl()
1805 strlen(string_key)+1, entry, sizeof(zval *), NULL); in php_pcre_grep_impl()
1810 sizeof(zval *), NULL); in php_pcre_grep_impl()