Home
last modified time | relevance | path

Searched refs:paramArray (Results 1 – 12 of 12) sorted by relevance

/kernel/liteos_a/apps/shell/src/
Dshmsg.c354 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 …]
Dshcmd.c46 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()
Dshcmdparse.c90 ret = OsCmdParseParaGet(&(cmdParsed->paramArray[tempLen]), token); in OsCmdParseOneToken()
/kernel/liteos_m/components/shell/src/base/
Dshmsg.c174 if (cmdParsed->paramArray[i] != NULL) { in ParseAndExecCmdline()
175 free(cmdParsed->paramArray[i]); in ParseAndExecCmdline()
176 cmdParsed->paramArray[i] = NULL; in ParseAndExecCmdline()
Dshcmd.c335 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()
Dshcmdparse.c91 ret = OsCmdParseParaGet(&(cmdParsed->paramArray[tempLen]), token); in OsCmdParseOneToken()
/kernel/liteos_a/shell/full/src/base/
Dshcmd.c61 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()
Dshcmdparse.c91 ret = OsCmdParseParaGet(&(cmdParsed->paramArray[tempLen]), token); in OsCmdParseOneToken()
/kernel/liteos_a/apps/shell/include/
Dshcmdparse.h51 char *paramArray[CMD_MAX_PARAS]; member
Dshmsg.h65 extern void ChildExec(const char *cmdName, char *const paramArray[], bool foreground);
/kernel/liteos_m/components/shell/include/
Dshcmdparse.h58 CHAR *paramArray[CMD_MAX_PARAS]; member
/kernel/liteos_a/shell/full/include/
Dshcmdparse.h59 CHAR *paramArray[CMD_MAX_PARAS]; member