Lines Matching refs:top

454 	if (stack->top == NULL) {  in phpdbg_stack_push()
455 stack->top = next; in phpdbg_stack_push()
456 next->top = NULL; 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()
470 const phpdbg_param_t *top = (stack != NULL) ? *stack : NULL; in phpdbg_stack_verify() local
479 if (!top) { in phpdbg_stack_verify()
531 case 'i': verify_arg("raw input", top, STR_PARAM); break; in phpdbg_stack_verify()
532 case 's': verify_arg("string", top, STR_PARAM); break; in phpdbg_stack_verify()
533 case 'n': verify_arg("number", top, NUMERIC_PARAM); break; in phpdbg_stack_verify()
534 case 'm': verify_arg("method", top, METHOD_PARAM); break; in phpdbg_stack_verify()
535 case 'a': verify_arg("address", top, ADDR_PARAM); break; in phpdbg_stack_verify()
536 case 'f': verify_arg("file:line", top, FILE_PARAM); break; in phpdbg_stack_verify()
537 case 'c': verify_arg("condition", top, COND_PARAM); break; in phpdbg_stack_verify()
538 case 'o': verify_arg("opcode", top, OP_PARAM); break; in phpdbg_stack_verify()
539 case 'b': verify_arg("boolean", top, NUMERIC_PARAM); break; in phpdbg_stack_verify()
544 if (top ) { in phpdbg_stack_verify()
545 top = top->next; in phpdbg_stack_verify()
569 …nst phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top, char **why) { in phpdbg_stack_resolve() argument
571 phpdbg_param_t *name = *top; in phpdbg_stack_resolve()
622 (*top) = (*top)->next; in phpdbg_stack_resolve()
661 if (command->subs && (*top) && ((*top)->type == STR_PARAM)) { in phpdbg_stack_resolve()
662 return phpdbg_stack_resolve(command->subs, command, top, why); in phpdbg_stack_resolve()
672 phpdbg_param_t *top = NULL; in phpdbg_stack_execute() local
687 top = (phpdbg_param_t*) stack->next; in phpdbg_stack_execute()
689 switch (top->type) { in phpdbg_stack_execute()
691 return PHPDBG_COMMAND_HANDLER(ev)(top TSRMLS_CC); in phpdbg_stack_execute()
694 return PHPDBG_COMMAND_HANDLER(run)(top TSRMLS_CC); in phpdbg_stack_execute()
697 return PHPDBG_COMMAND_HANDLER(sh)(top TSRMLS_CC); in phpdbg_stack_execute()
701 phpdbg_prompt_commands, NULL, &top, why); in phpdbg_stack_execute()
704 if (phpdbg_stack_verify(handler, &top, why TSRMLS_CC) == SUCCESS) { in phpdbg_stack_execute()
705 return handler->handler(top TSRMLS_CC); in phpdbg_stack_execute()