Lines Matching refs:command

30 static inline const char *phpdbg_command_name(const phpdbg_command_t *command, char *buffer) {  in ZEND_EXTERN_MODULE_GLOBALS()
33 if (command->parent) { in ZEND_EXTERN_MODULE_GLOBALS()
34 memcpy(&buffer[pos], command->parent->name, command->parent->name_len); in ZEND_EXTERN_MODULE_GLOBALS()
35 pos += command->parent->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
40 memcpy(&buffer[pos], command->name, command->name_len); in ZEND_EXTERN_MODULE_GLOBALS()
41 pos += command->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
468 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack) { in phpdbg_stack_verify() argument
469 if (command) { in phpdbg_stack_verify()
472 const char *arg = command->args; in phpdbg_stack_verify()
485 phpdbg_command_name(command, buffer)); in phpdbg_stack_verify()
500 arg = command->args; in phpdbg_stack_verify()
505 phpdbg_command_name(command, buffer), \ in phpdbg_stack_verify()
512 phpdbg_command_name(command, buffer), \ in phpdbg_stack_verify()
560 phpdbg_command_name(command, buffer), in phpdbg_stack_verify()
562 command->args, in phpdbg_stack_verify()
573 const phpdbg_command_t *command = commands; in phpdbg_stack_resolve() local
578 while (command && command->name && command->handler) { in phpdbg_stack_resolve()
579 if (name->len == 1 || command->name_len >= name->len) { in phpdbg_stack_resolve()
581 if (command->alias && (name->len == 1)) { in phpdbg_stack_resolve()
582 if (command->alias == (*name->str)) { in phpdbg_stack_resolve()
583 matched[matches] = command; in phpdbg_stack_resolve()
588 if (strncasecmp(command->name, name->str, name->len) == SUCCESS) { in phpdbg_stack_resolve()
591 if ((name->len != command->name_len && command->alias) || name->len == command->name_len) { in phpdbg_stack_resolve()
592 matched[matches] = command; in phpdbg_stack_resolve()
597 if (name->len == command->name_len) { in phpdbg_stack_resolve()
607 command++; in phpdbg_stack_resolve()
622 command = matched[0]; in phpdbg_stack_resolve()
655 if (command->subs && (*top) && ((*top)->type == STR_PARAM)) { in phpdbg_stack_resolve()
656 return phpdbg_stack_resolve(command->subs, command, top); in phpdbg_stack_resolve()
658 return command; in phpdbg_stack_resolve()