Lines Matching refs:top

448 	if (stack->top == NULL) {  in phpdbg_stack_push()
449 stack->top = next; in phpdbg_stack_push()
450 next->top = NULL; in phpdbg_stack_push()
453 stack->top->next = next; in phpdbg_stack_push()
454 next->top = stack->top; in phpdbg_stack_push()
455 stack->top = next; in phpdbg_stack_push()
468 stack->top = param->top; in phpdbg_stack_separate()
474 const phpdbg_param_t *top = (stack != NULL) ? *stack : NULL; in phpdbg_stack_verify() local
483 if (!top || top->type == STACK_PARAM) { in phpdbg_stack_verify()
523 if (top && top->type == STACK_PARAM) { in phpdbg_stack_verify()
536 case 'i': verify_arg("raw input", top, STR_PARAM); break; in phpdbg_stack_verify()
537 case 's': verify_arg("string", top, STR_PARAM); break; in phpdbg_stack_verify()
538 case 'n': verify_arg("number", top, NUMERIC_PARAM); break; in phpdbg_stack_verify()
539 case 'm': verify_arg("method", top, METHOD_PARAM); break; in phpdbg_stack_verify()
540 case 'a': verify_arg("address", top, ADDR_PARAM); break; in phpdbg_stack_verify()
541 case 'f': verify_arg("file:line", top, FILE_PARAM); break; in phpdbg_stack_verify()
542 case 'c': verify_arg("condition", top, COND_PARAM); break; in phpdbg_stack_verify()
543 case 'o': verify_arg("opcode", top, OP_PARAM); break; in phpdbg_stack_verify()
544 case 'b': verify_arg("boolean", top, NUMERIC_PARAM); break; in phpdbg_stack_verify()
549 if (top) { in phpdbg_stack_verify()
550 top = top->next; in phpdbg_stack_verify()
575 …k_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top) { in phpdbg_stack_resolve() argument
577 phpdbg_param_t *name = *top; in phpdbg_stack_resolve()
623 (*top) = (*top)->next; in phpdbg_stack_resolve()
658 if (command->subs && (*top) && ((*top)->type == STR_PARAM)) { in phpdbg_stack_resolve()
659 return phpdbg_stack_resolve(command->subs, command, top); in phpdbg_stack_resolve()
669 phpdbg_param_t *top = (phpdbg_param_t *) stack->next; in phpdbg_internal_stack_execute() local
671 switch (top->type) { in phpdbg_internal_stack_execute()
675 return PHPDBG_COMMAND_HANDLER(ev)(top); in phpdbg_internal_stack_execute()
683 return PHPDBG_COMMAND_HANDLER(run)(top); in phpdbg_internal_stack_execute()
692 return PHPDBG_COMMAND_HANDLER(sh)(top); in phpdbg_internal_stack_execute()
695 handler = phpdbg_stack_resolve(phpdbg_prompt_commands, NULL, &top); in phpdbg_internal_stack_execute()
703 if (phpdbg_stack_verify(handler, &top) == SUCCESS) { in phpdbg_internal_stack_execute()
706 return handler->handler(top); in phpdbg_internal_stack_execute()
721 phpdbg_param_t *top = stack; in phpdbg_stack_execute() local
734 if (top->type == STACK_PARAM) { in phpdbg_stack_execute()
736 if ((result = phpdbg_internal_stack_execute(top, allow_async_unsafe)) != SUCCESS) { in phpdbg_stack_execute()
740 } while ((top = top->next)); in phpdbg_stack_execute()