Searched refs:paramArray (Results 1 – 12 of 12) sorted by relevance
/kernel/liteos_a/apps/shell/src/ |
D | shmsg.c | 354 void ChildExec(const char *cmdName, char *const paramArray[], bool foreground) in ChildExec() argument 378 ret = execve(cmdName, paramArray, NULL); in ChildExec() 399 ret = strtol(cmdParsed->paramArray[0], &p, CMD_EXIT_CODE_BASE_DEC); in CheckExit() 401 printf("exit: bad number: %s\n", cmdParsed->paramArray[0]); in CheckExit() 416 …if ((cmdParsed->paramCnt > 1) && (strcmp(cmdParsed->paramArray[cmdParsed->paramCnt - 1], "&") == 0… in DoCmdExec() 417 free(cmdParsed->paramArray[cmdParsed->paramCnt - 1]); in DoCmdExec() 418 cmdParsed->paramArray[cmdParsed->paramCnt - 1] = NULL; in DoCmdExec() 428 ChildExec(cmdParsed->paramArray[0], cmdParsed->paramArray, foreground); in DoCmdExec() 481 if (cmdParsed->paramArray[i] != NULL) { in ParseAndExecCmdline() 482 free(cmdParsed->paramArray[i]); in ParseAndExecCmdline() [all …]
|
D | shcmd.c | 46 if ((cmdParsed->paramArray[i]) != NULL) { in OsFreeCmdPara() 47 free((cmdParsed->paramArray[i])); in OsFreeCmdPara() 48 cmdParsed->paramArray[i] = NULL; in OsFreeCmdPara() 86 *tabStr = parsed->paramArray[parsed->paramCnt - 1]; in OsStrSeparateTabStrGet()
|
D | shcmdparse.c | 90 ret = OsCmdParseParaGet(&(cmdParsed->paramArray[tempLen]), token); in OsCmdParseOneToken()
|
/kernel/liteos_m/components/shell/src/base/ |
D | shmsg.c | 174 if (cmdParsed->paramArray[i] != NULL) { in ParseAndExecCmdline() 175 free(cmdParsed->paramArray[i]); in ParseAndExecCmdline() 176 cmdParsed->paramArray[i] = NULL; in ParseAndExecCmdline()
|
D | shcmd.c | 335 ret = (cmdHook)(cmdParsed->paramCnt, (const CHAR **)cmdParsed->paramArray); in OsCmdExec() 339 if (cmdParsed->paramArray[i] != NULL) { in OsCmdExec() 340 (VOID)LOS_MemFree(m_aucSysMem0, cmdParsed->paramArray[i]); in OsCmdExec() 341 cmdParsed->paramArray[i] = NULL; in OsCmdExec()
|
D | shcmdparse.c | 91 ret = OsCmdParseParaGet(&(cmdParsed->paramArray[tempLen]), token); in OsCmdParseOneToken()
|
/kernel/liteos_a/shell/full/src/base/ |
D | shcmd.c | 61 if ((cmdParsed->paramArray[i]) != NULL) { in OsFreeCmdPara() 62 (VOID)LOS_MemFree(m_aucSysMem0, (cmdParsed->paramArray[i])); in OsFreeCmdPara() 63 cmdParsed->paramArray[i] = NULL; in OsFreeCmdPara() 101 *tabStr = parsed->paramArray[parsed->paramCnt - 1]; in OsStrSeparateTabStrGet() 766 ret = (cmdHook)(cmdParsed->paramCnt, (const CHAR **)cmdParsed->paramArray); in OsCmdExec() 771 if (cmdParsed->paramArray[i] != NULL) { in OsCmdExec() 772 (VOID)LOS_MemFree(m_aucSysMem0, cmdParsed->paramArray[i]); in OsCmdExec() 773 cmdParsed->paramArray[i] = NULL; in OsCmdExec()
|
D | shcmdparse.c | 91 ret = OsCmdParseParaGet(&(cmdParsed->paramArray[tempLen]), token); in OsCmdParseOneToken()
|
/kernel/liteos_a/apps/shell/include/ |
D | shcmdparse.h | 51 char *paramArray[CMD_MAX_PARAS]; member
|
D | shmsg.h | 65 extern void ChildExec(const char *cmdName, char *const paramArray[], bool foreground);
|
/kernel/liteos_m/components/shell/include/ |
D | shcmdparse.h | 58 CHAR *paramArray[CMD_MAX_PARAS]; member
|
/kernel/liteos_a/shell/full/include/ |
D | shcmdparse.h | 59 CHAR *paramArray[CMD_MAX_PARAS]; member
|