Lines Matching refs:stack
7 zend_object *php_ds_stack_create_object_ex(ds_stack_t *stack) in php_ds_stack_create_object_ex() argument
16 obj->stack = stack; in php_ds_stack_create_object_ex()
25 zend_object *php_ds_stack_create_clone(ds_stack_t *stack) in php_ds_stack_create_clone() argument
27 return php_ds_stack_create_object_ex(ds_stack_clone(stack)); in php_ds_stack_create_clone()
32 ds_stack_t *stack = Z_DS_STACK_P(object); in php_ds_stack_serialize() local
37 if (DS_STACK_SIZE(stack) == 0) { in php_ds_stack_serialize()
45 DS_VECTOR_FOREACH(stack->vector, value) { in php_ds_stack_serialize()
61 ds_stack_t *stack = ds_stack(); in php_ds_stack_unserialize() local
77 ds_stack_push(stack, value); in php_ds_stack_unserialize()
80 ZVAL_DS_STACK(object, stack); in php_ds_stack_unserialize()
85 ds_stack_free(stack); in php_ds_stack_unserialize()