Lines Matching refs:tmpCommand
602 shell_command_t *tmpCommand = NULL; in SHELL_ProcessCommand() local
630 tmpCommand = SHEEL_COMMAND_POINTER(p); in SHELL_ProcessCommand()
631 tmpCommandString = tmpCommand->pcCommand; in SHELL_ProcessCommand()
639 … if (tmpCommand->cExpectedNumberOfParameters == (uint8_t)SHELL_IGNORE_PARAMETER_COUNT) in SHELL_ProcessCommand()
643 else if ((tmpCommand->cExpectedNumberOfParameters == 0U) && (argc == 1)) in SHELL_ProcessCommand()
647 else if (tmpCommand->cExpectedNumberOfParameters > 0U) in SHELL_ProcessCommand()
649 if ((argc - 1) == (int32_t)tmpCommand->cExpectedNumberOfParameters) in SHELL_ProcessCommand()
665 tmpCommand = NULL; in SHELL_ProcessCommand()
669 if ((tmpCommand != NULL) && (flag == 1U)) in SHELL_ProcessCommand()
677 else if (tmpCommand != NULL) in SHELL_ProcessCommand()
697 if (kStatus_SHELL_RetUsage == tmpCommand->pFuncCallBack(shellContextHandle, argc, argv)) in SHELL_ProcessCommand()
699 if (NULL != tmpCommand->pcHelpString) in SHELL_ProcessCommand()
701 …(void)SHELL_WRITEX(shellContextHandle, tmpCommand->pcHelpString, strlen(tmpCommand->pcHelpString)); in SHELL_ProcessCommand()
759 shell_command_t *tmpCommand = NULL; in SHELL_AutoComplete() local
779 tmpCommand = SHEEL_COMMAND_POINTER(p); in SHELL_AutoComplete()
780 cmdName = tmpCommand->pcCommand; in SHELL_AutoComplete()