/ext-ds/src/ds/ |
H A D | ds_stack.c | 57 void ds_stack_to_array(ds_stack_t *stack, zval *return_value) in ds_stack_to_array() argument 62 array_init(return_value); in ds_stack_to_array() 66 array_init_size(return_value, size); in ds_stack_to_array() 69 add_next_index_zval(return_value, value); in ds_stack_to_array() 76 void ds_stack_pop_throw(ds_stack_t *stack, zval *return_value) in ds_stack_pop_throw() argument 78 ds_vector_pop_throw(stack->vector, return_value); in ds_stack_pop_throw() 81 void ds_stack_pop(ds_stack_t *stack, zval *return_value) in ds_stack_pop() argument 83 ds_vector_pop(stack->vector, return_value); in ds_stack_pop()
|
H A D | ds_queue.c | 63 void ds_queue_to_array(ds_queue_t *queue, zval *return_value) in ds_queue_to_array() argument 68 array_init(return_value); in ds_queue_to_array() 72 array_init_size(return_value, size); in ds_queue_to_array() 75 add_next_index_zval(return_value, value); in ds_queue_to_array() 82 void ds_queue_pop_throw(ds_queue_t *queue, zval *return_value) in ds_queue_pop_throw() argument 84 ds_deque_shift_throw(queue->deque, return_value); in ds_queue_pop_throw() 87 void ds_queue_pop(ds_queue_t *queue, zval *return_value) in ds_queue_pop() argument 89 ds_deque_shift(queue->deque, return_value); in ds_queue_pop()
|
H A D | ds_deque.h | 48 void ds_deque_pop(ds_deque_t *deque, zval *return_value); 49 void ds_deque_pop_throw(ds_deque_t *deque, zval *return_value); 50 void ds_deque_shift(ds_deque_t *deque, zval *return_value); 51 void ds_deque_shift_throw(ds_deque_t *deque, zval *return_value); 52 void ds_deque_find(ds_deque_t *deque, zval *value, zval *return_value); 53 void ds_deque_remove(ds_deque_t *deque, zend_long index, zval *return_value); 74 void ds_deque_join(ds_deque_t *deque, char *str, size_t len, zval *return_value); 75 void ds_deque_reduce(ds_deque_t *deque, zval *initial, zval *return_value, FCI_PARAMS); 80 void ds_deque_to_array(ds_deque_t *deque, zval *return_value); 82 void ds_deque_sum(ds_deque_t *deque, zval *return_value);
|
H A D | ds_vector.h | 55 void ds_vector_pop(ds_vector_t *vector, zval *return_value); 56 void ds_vector_pop_throw(ds_vector_t *vector, zval *return_value); 57 void ds_vector_shift(ds_vector_t *vector, zval *return_value); 58 void ds_vector_shift_throw(ds_vector_t *vector, zval *return_value); 59 void ds_vector_find(ds_vector_t *vector, zval *value, zval *return_value); 60 void ds_vector_remove(ds_vector_t *vector, zend_long index, zval *return_value); 88 void ds_vector_reduce(ds_vector_t *vector, zval *initial, zval *return_value, FCI_PARAMS); 91 void ds_vector_join(ds_vector_t *vector, char *str, size_t len, zval *return_value); 94 void ds_vector_sum(ds_vector_t *vector, zval *return_value); 99 void ds_vector_to_array(ds_vector_t *vector, zval *return_value);
|
H A D | ds_vector.c | 111 ds_vector_pop(vector, return_value); in ds_vector_remove() 116 if (return_value) { in ds_vector_remove() 117 ZVAL_COPY(return_value, pos); in ds_vector_remove() 184 array_init(return_value); in ds_vector_to_array() 218 ZVAL_LONG(return_value, index); in ds_vector_find() 222 ZVAL_FALSE(return_value); in ds_vector_find() 245 ZVAL_STR(return_value, s); in ds_vector_join() 457 ds_vector_pop(vector, return_value); in ds_vector_pop_throw() 667 ZVAL_NULL(return_value); in ds_vector_reduce() 674 ZVAL_COPY(return_value, &carry); in ds_vector_reduce() [all …]
|
H A D | ds_map.c | 55 void ds_map_reduce(ds_map_t *map, FCI_PARAMS, zval *initial, zval *return_value) in ds_map_reduce() argument 57 ds_htable_reduce(map->table, FCI_ARGS, initial, return_value); in ds_map_reduce() 108 void ds_map_remove(ds_map_t *map, zval *key, zval *def, zval *return_value) in ds_map_remove() argument 110 int removed = ds_htable_remove(map->table, key, return_value); in ds_map_remove() 118 ZVAL_NULL(return_value); in ds_map_remove() 123 ZVAL_COPY(return_value, def); in ds_map_remove() 200 void ds_map_to_array(ds_map_t *map, zval *return_value) in ds_map_to_array() argument 202 ds_htable_to_array(map->table, return_value); in ds_map_to_array() 337 void ds_map_sum(ds_map_t *map, zval *return_value) in ds_map_sum() argument 341 ZVAL_LONG(return_value, 0); in ds_map_sum() [all …]
|
H A D | ds_stack.h | 41 void ds_stack_pop(ds_stack_t *stack, zval *return_value); 42 void ds_stack_pop_throw(ds_stack_t *stack, zval *return_value); 46 void ds_stack_to_array(ds_stack_t *stack, zval *return_value);
|
H A D | ds_queue.h | 36 void ds_queue_pop(ds_queue_t *queue, zval *return_value); 37 void ds_queue_pop_throw(ds_queue_t *queue, zval *return_value); 41 void ds_queue_to_array(ds_queue_t *queue, zval *return_value);
|
H A D | ds_map.h | 26 void ds_map_remove(ds_map_t *map, zval *key, zval *def, zval *return_value); 35 void ds_map_to_array(ds_map_t *map, zval *return_value); 69 void ds_map_sum(ds_map_t *map, zval *return_value); 70 void ds_map_reduce(ds_map_t *map, FCI_PARAMS, zval *initial, zval *return_value);
|
H A D | ds_deque.c | 302 ds_deque_shift(deque, return_value); in ds_deque_shift_throw() 321 ds_deque_pop(deque, return_value); in ds_deque_pop_throw() 332 ds_deque_shift(deque, return_value); in ds_deque_remove() 338 ds_deque_pop(deque, return_value); in ds_deque_remove() 495 return_value, in ds_deque_join() 505 ZVAL_LONG(return_value, index); in ds_deque_find() 507 ZVAL_FALSE(return_value); in ds_deque_find() 816 ZVAL_NULL(return_value); in ds_deque_reduce() 823 ZVAL_COPY(return_value, &carry); in ds_deque_reduce() 848 ZVAL_LONG(return_value, 0); in ds_deque_sum() [all …]
|
/ext-ds/src/php/handlers/ |
H A D | php_common_handlers.c | 7 (zend_object *obj, zval *return_value, int type) { argument 10 (zval *obj, zval *return_value, int type) { 22 ZVAL_STR(return_value, buffer.s); 26 ZVAL_TRUE(return_value);
|
H A D | php_common_handlers.h | 11 (zend_object *obj, zval *return_value, int type); 13 (zval *obj, zval *return_value, int type);
|
/ext-ds/src/php/classes/ |
H A D | php_deque_ce.c | 31 ds_deque_join(THIS_DS_DEQUE(), str, len, return_value); in METHOD() 33 ds_deque_join(THIS_DS_DEQUE(), NULL, 0, return_value); in METHOD() 146 ds_deque_pop_throw(THIS_DS_DEQUE(), return_value); in METHOD() 152 ds_deque_shift_throw(THIS_DS_DEQUE(), return_value); in METHOD() 189 ds_deque_sum(THIS_DS_DEQUE(), return_value); in METHOD() 195 ds_deque_to_array(THIS_DS_DEQUE(), return_value); in METHOD() 213 ds_deque_find(THIS_DS_DEQUE(), value, return_value); in METHOD() 219 ds_deque_remove(THIS_DS_DEQUE(), index, return_value); in METHOD() 261 ds_deque_to_array(THIS_DS_DEQUE(), return_value); in METHOD() 266 ZVAL_COPY(return_value, getThis()); in METHOD() [all …]
|
H A D | php_vector_ce.c | 82 ds_vector_find(THIS_DS_VECTOR(), value, return_value); in METHOD() 113 ds_vector_join(THIS_DS_VECTOR(), str, len, return_value); in METHOD() 115 ds_vector_join(THIS_DS_VECTOR(), NULL, 0, return_value); in METHOD() 122 ds_vector_to_array(THIS_DS_VECTOR(), return_value); in METHOD() 146 ds_vector_pop_throw(THIS_DS_VECTOR(), return_value); in METHOD() 170 ds_vector_remove(THIS_DS_VECTOR(), index, return_value); in METHOD() 200 ds_vector_shift_throw(THIS_DS_VECTOR(), return_value); in METHOD() 249 ds_vector_sum(THIS_DS_VECTOR(), return_value); in METHOD() 255 ds_vector_to_array(THIS_DS_VECTOR(), return_value); in METHOD() 266 ZVAL_COPY(return_value, getThis()); in METHOD() [all …]
|
H A D | php_priority_queue_ce.c | 49 ds_priority_queue_pop(THIS_DS_PRIORITY_QUEUE(), return_value); in METHOD() 67 ds_priority_queue_to_array(THIS_DS_PRIORITY_QUEUE(), return_value); in METHOD() 85 ds_priority_queue_to_array(THIS_DS_PRIORITY_QUEUE(), return_value); in METHOD() 90 ZVAL_COPY(return_value, getThis()); in METHOD()
|
H A D | php_stack_ce.c | 48 ds_stack_pop_throw(THIS_DS_STACK(), return_value); in METHOD() 78 ds_stack_to_array(THIS_DS_STACK(), return_value); in METHOD() 90 ds_stack_to_array(THIS_DS_STACK(), return_value); in METHOD() 95 ZVAL_COPY(return_value, getThis()); in METHOD()
|
H A D | php_queue_ce.c | 47 ds_queue_pop_throw(THIS_DS_QUEUE(), return_value); in METHOD() 77 ds_queue_to_array(THIS_DS_QUEUE(), return_value); in METHOD() 89 ds_queue_to_array(THIS_DS_QUEUE(), return_value); in METHOD() 94 ZVAL_COPY(return_value, getThis()); in METHOD()
|
H A D | php_set_ce.c | 31 ds_set_join(THIS_DS_SET(), str, len, return_value); in METHOD() 33 ds_set_join(THIS_DS_SET(), NULL, 0, return_value); in METHOD() 130 ds_set_to_array(THIS_DS_SET(), return_value); in METHOD() 174 ds_set_reduce(THIS_DS_SET(), FCI_ARGS, initial, return_value); in METHOD() 219 ds_set_sum(THIS_DS_SET(), return_value); in METHOD() 225 ds_set_to_array(THIS_DS_SET(), return_value); in METHOD() 230 ZVAL_COPY(return_value, getThis()); in METHOD()
|
/ext-ds/src/php/objects/ |
H A D | php_deque.h | 25 ZVAL_DS_DEQUE(return_value, _d); \ 27 ZVAL_NULL(return_value); \
|
H A D | php_stack.h | 25 ZVAL_DS_STACK(return_value, _s); \ 27 ZVAL_NULL(return_value); \
|
H A D | php_vector.h | 25 ZVAL_DS_VECTOR(return_value, _v); \ 27 ZVAL_NULL(return_value); \
|
H A D | php_queue.h | 26 ZVAL_DS_QUEUE(return_value, _q); \ 28 ZVAL_NULL(return_value); \
|
H A D | php_set.h | 25 ZVAL_DS_SET(return_value, _s); \ 27 ZVAL_NULL(return_value); \
|
H A D | php_priority_queue.h | 28 ZVAL_DS_PRIORITY_QUEUE(return_value, _queue); \ 30 ZVAL_NULL(return_value); \
|
H A D | php_map.h | 25 ZVAL_DS_MAP(return_value, _m); \ 27 ZVAL_NULL(return_value); \
|