Home
last modified time | relevance | path

Searched refs:val (Results 1 – 6 of 6) sorted by relevance

/ext-ds/src/php/objects/
H A Dphp_pair.c37 zval *val = php_ds_pair_get_value(obj); in php_ds_pair_create_clone() local
39 return (zend_object *) php_ds_pair_ex(key, val); in php_ds_pair_create_clone()
91 zval *val = php_ds_pair_get_value(obj); in php_ds_pair_to_array() local
96 add_assoc_zval(result, "value", val); in php_ds_pair_to_array()
99 Z_TRY_ADDREF_P(val); in php_ds_pair_to_array()
104 zval *key, *val; in php_ds_pair_serialize() local
113 val = php_ds_pair_get_value(pair); in php_ds_pair_serialize()
116 php_var_serialize(&buf, val, &serialize_data); in php_ds_pair_serialize()
/ext-ds/src/
H A Dcommon.h88 #define DS_ADD_TO_SUM(val, sum) \ argument
90 if (Z_TYPE_P(val) == IS_LONG || Z_TYPE_P(val) == IS_DOUBLE) { \
91 fast_add_function(sum, sum, val); \
94 ZVAL_COPY(&_num, val); \
100 #define DS_ADD_TO_SUM(val, sum) \ argument
102 if (Z_TYPE_P(val) == IS_LONG || Z_TYPE_P(val) == IS_DOUBLE) { \
103 add_function(sum, sum, val); \
106 ZVAL_COPY(&_num, val); \
H A Dcommon.c250 zend_throw_exception(ce, str->val, 0); in ds_throw_exception()
/ext-ds/src/php/iterators/
H A Dphp_htable_iterator.c80 zval *val = &bucket->value; in php_ds_htable_iterator_get_current_pair() local
85 Z_TRY_ADDREF_P(val); in php_ds_htable_iterator_get_current_pair()
90 add_next_index_zval(arr, val); in php_ds_htable_iterator_get_current_pair()
/ext-ds/src/ds/
H A Dds_deque.c185 zval *val; in ds_deque_clear() local
187 DS_DEQUE_FOREACH(deque, val) { in ds_deque_clear()
188 zval_ptr_dtor(val); in ds_deque_clear()
201 zval *val; in ds_deque_free() local
203 DS_DEQUE_FOREACH(deque, val) { in ds_deque_free()
204 zval_ptr_dtor(val); in ds_deque_free()
737 zval *val; in ds_deque_filter_callback() local
741 DS_DEQUE_FOREACH(deque, val) { in ds_deque_filter_callback()
743 fci.params = val; in ds_deque_filter_callback()
762 ZVAL_COPY(dst++, val); in ds_deque_filter_callback()
H A Dds_htable.c1171 zval *val; in ds_htable_to_array() local
1176 DS_HTABLE_FOREACH_KEY_VALUE(table, key, val) { in ds_htable_to_array()
1177 array_set_zval_key(array, key, val); in ds_htable_to_array()

Completed in 15 milliseconds