Lines Matching refs:tmpCommand
602 shell_command_t *tmpCommand = NULL; in SHELL_ProcessCommand() local
620 tmpCommand = SHEEL_COMMAND_POINTER(p); in SHELL_ProcessCommand()
621 tmpCommandString = tmpCommand->pcCommand; in SHELL_ProcessCommand()
629 … if (tmpCommand->cExpectedNumberOfParameters == (uint8_t)SHELL_IGNORE_PARAMETER_COUNT) in SHELL_ProcessCommand()
633 else if ((tmpCommand->cExpectedNumberOfParameters == 0U) && (argc == 1)) in SHELL_ProcessCommand()
637 else if (tmpCommand->cExpectedNumberOfParameters > 0U) in SHELL_ProcessCommand()
639 if ((argc - 1) == (int32_t)tmpCommand->cExpectedNumberOfParameters) in SHELL_ProcessCommand()
655 tmpCommand = NULL; in SHELL_ProcessCommand()
659 if ((tmpCommand != NULL) && (flag == 1U)) in SHELL_ProcessCommand()
667 else if (tmpCommand != NULL) in SHELL_ProcessCommand()
687 if (kStatus_SHELL_RetUsage == tmpCommand->pFuncCallBack(shellContextHandle, argc, argv)) in SHELL_ProcessCommand()
689 if (NULL != tmpCommand->pcHelpString) in SHELL_ProcessCommand()
691 …(void)SHELL_WRITEX(shellContextHandle, tmpCommand->pcHelpString, strlen(tmpCommand->pcHelpString)); in SHELL_ProcessCommand()
749 shell_command_t *tmpCommand = NULL; in SHELL_AutoComplete() local
769 tmpCommand = SHEEL_COMMAND_POINTER(p); in SHELL_AutoComplete()
770 cmdName = tmpCommand->pcCommand; in SHELL_AutoComplete()