Lines Matching refs:stack
394 PHPDBG_API void phpdbg_stack_free(phpdbg_param_t *stack) { in phpdbg_stack_free() argument
395 if (stack && stack->next) { in phpdbg_stack_free()
396 phpdbg_param_t *remove = stack->next; in phpdbg_stack_free()
440 stack->next = NULL; in phpdbg_stack_free()
444 PHPDBG_API void phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) { in phpdbg_stack_push() argument
454 if (stack->top == NULL) { in phpdbg_stack_push()
455 stack->top = next; in phpdbg_stack_push()
457 stack->next = next; in phpdbg_stack_push()
459 stack->top->next = next; in phpdbg_stack_push()
460 next->top = stack->top; in phpdbg_stack_push()
461 stack->top = next; in phpdbg_stack_push()
464 stack->len++; in phpdbg_stack_push()
467 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack, char **… in phpdbg_stack_verify() argument
470 const phpdbg_param_t *top = (stack != NULL) ? *stack : NULL; in phpdbg_stack_verify()
671 PHPDBG_API int phpdbg_stack_execute(phpdbg_param_t *stack, char **why TSRMLS_DC) { in phpdbg_stack_execute() argument
675 if (stack->type != STACK_PARAM) { in phpdbg_stack_execute()
681 if (!stack->len) { in phpdbg_stack_execute()
687 top = (phpdbg_param_t*) stack->next; in phpdbg_stack_execute()