Lines Matching refs:value
237 void ds_deque_set(ds_deque_t *deque, zend_long index, zval *value) in ds_deque_set() argument
242 ZVAL_COPY(ptr, value); in ds_deque_set()
377 void ds_deque_push(ds_deque_t *deque, zval *value) in ds_deque_push() argument
383 ZVAL_COPY(&deque->buffer[deque->tail], value); in ds_deque_push()
474 static zend_long ds_deque_find_index(ds_deque_t *deque, zval *value) in ds_deque_find_index() argument
482 if (zend_is_identical(value, &deque->buffer[head & mask])) { in ds_deque_find_index()
500 void ds_deque_find(ds_deque_t *deque, zval *value, zval *return_value) in ds_deque_find() argument
502 zend_long index = ds_deque_find_index(deque, value); in ds_deque_find()
558 zval *value; in ds_deque_to_array() local
561 DS_DEQUE_FOREACH(deque, value) { in ds_deque_to_array()
562 add_next_index_zval(array, value); in ds_deque_to_array()
563 Z_TRY_ADDREF_P(value); in ds_deque_to_array()
626 zval *value; in add_array_to_deque() local
627 ZEND_HASH_FOREACH_VAL(arr, value) { in add_array_to_deque()
628 ds_deque_push(deque, value); in add_array_to_deque()
678 zval *value; in ds_deque_apply() local
681 DS_DEQUE_FOREACH(deque, value) { in ds_deque_apply()
683 fci.params = value; in ds_deque_apply()
690 zval_ptr_dtor(value); in ds_deque_apply()
691 ZVAL_COPY_VALUE(value, &retval); in ds_deque_apply()
700 zval *value; in ds_deque_map() local
704 DS_DEQUE_FOREACH(deque, value) { in ds_deque_map()
706 fci.params = value; in ds_deque_map()
796 zval *value; in ds_deque_reduce() local
806 DS_DEQUE_FOREACH(deque, value) { in ds_deque_reduce()
808 ZVAL_COPY_VALUE(¶ms[1], value); in ds_deque_reduce()
846 zval *value; in ds_deque_sum() local
850 DS_DEQUE_FOREACH(deque, value) { in ds_deque_sum()
851 DS_ADD_TO_SUM(value, return_value); in ds_deque_sum()