Lines Matching refs:stack
375 PHPDBG_API void phpdbg_stack_free(phpdbg_param_t *stack) { in phpdbg_stack_free() argument
376 if (stack && stack->next) { in phpdbg_stack_free()
377 phpdbg_param_t *remove = stack->next; in phpdbg_stack_free()
430 stack->next = NULL; in phpdbg_stack_free()
434 PHPDBG_API void phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) { in phpdbg_stack_push() argument
445 if (stack->top == NULL) { in phpdbg_stack_push()
446 stack->top = next; in phpdbg_stack_push()
448 stack->next = next; in phpdbg_stack_push()
450 stack->top->next = next; in phpdbg_stack_push()
451 next->top = stack->top; in phpdbg_stack_push()
452 stack->top = next; in phpdbg_stack_push()
455 stack->len++; in phpdbg_stack_push()
460 phpdbg_param_t *stack = calloc(1, sizeof(phpdbg_param_t)); in phpdbg_stack_separate() local
462 stack->type = STACK_PARAM; in phpdbg_stack_separate()
463 stack->next = param->next; in phpdbg_stack_separate()
464 param->next = stack; in phpdbg_stack_separate()
465 stack->top = param->top; in phpdbg_stack_separate()
468 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack) { in phpdbg_stack_verify() argument
471 const phpdbg_param_t *top = (stack != NULL) ? *stack : NULL; in phpdbg_stack_verify()
664 static int phpdbg_internal_stack_execute(phpdbg_param_t *stack, zend_bool allow_async_unsafe) { in phpdbg_internal_stack_execute() argument
666 phpdbg_param_t *top = (phpdbg_param_t *) stack->next; in phpdbg_internal_stack_execute()
717 PHPDBG_API int phpdbg_stack_execute(phpdbg_param_t *stack, zend_bool allow_async_unsafe) { in phpdbg_stack_execute() argument
718 phpdbg_param_t *top = stack; in phpdbg_stack_execute()
720 if (stack->type != STACK_PARAM) { in phpdbg_stack_execute()
725 if (!stack->len) { in phpdbg_stack_execute()