Lines Matching refs:top

447 	if (stack->top == NULL) {  in phpdbg_stack_push()
448 stack->top = next; in phpdbg_stack_push()
449 next->top = NULL; in phpdbg_stack_push()
452 stack->top->next = next; in phpdbg_stack_push()
453 next->top = stack->top; in phpdbg_stack_push()
454 stack->top = next; in phpdbg_stack_push()
467 stack->top = param->top; in phpdbg_stack_separate()
473 const phpdbg_param_t *top = (stack != NULL) ? *stack : NULL; in phpdbg_stack_verify() local
482 if (!top || top->type == STACK_PARAM) { in phpdbg_stack_verify()
522 if (top && top->type == STACK_PARAM) { in phpdbg_stack_verify()
535 case 'i': verify_arg("raw input", top, STR_PARAM); break; in phpdbg_stack_verify()
536 case 's': verify_arg("string", top, STR_PARAM); break; in phpdbg_stack_verify()
537 case 'n': verify_arg("number", top, NUMERIC_PARAM); break; in phpdbg_stack_verify()
538 case 'm': verify_arg("method", top, METHOD_PARAM); break; in phpdbg_stack_verify()
539 case 'a': verify_arg("address", top, ADDR_PARAM); break; in phpdbg_stack_verify()
540 case 'f': verify_arg("file:line", top, FILE_PARAM); break; in phpdbg_stack_verify()
541 case 'c': verify_arg("condition", top, COND_PARAM); break; in phpdbg_stack_verify()
542 case 'o': verify_arg("opcode", top, OP_PARAM); break; in phpdbg_stack_verify()
543 case 'b': verify_arg("boolean", top, NUMERIC_PARAM); break; in phpdbg_stack_verify()
548 if (top) { in phpdbg_stack_verify()
549 top = top->next; in phpdbg_stack_verify()
574 …k_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top) { in phpdbg_stack_resolve() argument
576 phpdbg_param_t *name = *top; in phpdbg_stack_resolve()
622 (*top) = (*top)->next; in phpdbg_stack_resolve()
657 if (command->subs && (*top) && ((*top)->type == STR_PARAM)) { in phpdbg_stack_resolve()
658 return phpdbg_stack_resolve(command->subs, command, top); in phpdbg_stack_resolve()
668 phpdbg_param_t *top = (phpdbg_param_t *) stack->next; in phpdbg_internal_stack_execute() local
670 switch (top->type) { in phpdbg_internal_stack_execute()
674 return PHPDBG_COMMAND_HANDLER(ev)(top); in phpdbg_internal_stack_execute()
682 return PHPDBG_COMMAND_HANDLER(run)(top); in phpdbg_internal_stack_execute()
691 return PHPDBG_COMMAND_HANDLER(sh)(top); in phpdbg_internal_stack_execute()
694 handler = phpdbg_stack_resolve(phpdbg_prompt_commands, NULL, &top); in phpdbg_internal_stack_execute()
702 if (phpdbg_stack_verify(handler, &top) == SUCCESS) { in phpdbg_internal_stack_execute()
705 return handler->handler(top); in phpdbg_internal_stack_execute()
720 phpdbg_param_t *top = stack; in phpdbg_stack_execute() local
733 if (top->type == STACK_PARAM) { in phpdbg_stack_execute()
735 if ((result = phpdbg_internal_stack_execute(top, allow_async_unsafe)) != SUCCESS) { in phpdbg_stack_execute()
739 } while ((top = top->next)); in phpdbg_stack_execute()