Home
last modified time | relevance | path

Searched refs:cmdString (Results 1 – 9 of 9) sorted by relevance

/kernel/liteos_a/apps/shell/src/
Dshcmd.c529 if (strncpy_s(cmdNewNode->cmdString, len + 1, string, len)) { in OsShellCmdPush()
570 printf("%s", cmdMask->cmdString); in OsShellHistoryShow()
571 shellCB->shellBufOffset = strlen(cmdMask->cmdString); in OsShellHistoryShow()
573 ret = memcpy_s(shellCB->shellBuf, SHOW_MAX_LEN, cmdMask->cmdString, shellCB->shellBufOffset); in OsShellHistoryShow()
Dshmsg.c72 if (strlen(cmdNode->cmdString) == 0) { in GetCmdline()
77 return cmdNode->cmdString; in GetCmdline()
83 CmdKeyLink *cmdkey = SH_LIST_ENTRY(string, CmdKeyLink, cmdString); in ShellSaveHistoryCmd()
94 if (strcmp(string, cmdNxt->cmdString) == 0) { in ShellSaveHistoryCmd()
/kernel/liteos_a/syscall/
Dmisc_syscall.c142 int SysShellExec(const char *msgName, const char *cmdString) in SysShellExec() argument
162 ret = LOS_StrncpyFromUser(cmdStringDup, cmdString, CMD_MAX_LEN + 1); in SysShellExec()
Dlos_syscall.h316 extern int SysShellExec(const char *msgName, const char *cmdString);
/kernel/liteos_a/apps/shell/include/
Dshcmd.h52 char cmdString[0]; member
/kernel/liteos_a/shell/full/include/
Dshcmd.h77 CHAR cmdString[0]; member
/kernel/liteos_a/shell/full/src/base/
Dshmsg.c65 return cmdNode->cmdString; in ShellGetInputBuf()
71 CmdKeyLink *cmdkey = LOS_DL_LIST_ENTRY(string, CmdKeyLink, cmdString); in ShellSaveHistoryCmd()
81 if (strcmp(string, cmdNxt->cmdString) == 0) { in ShellSaveHistoryCmd()
Dshcmd.c681 if (strncpy_s(cmdNewNode->cmdString, len + 1, string, len)) { in OsShellCmdPush()
722 PRINTK("%s", cmdMask->cmdString); in OsShellHistoryShow()
723 shellCB->shellBufOffset = strlen(cmdMask->cmdString); in OsShellHistoryShow()
725 ret = memcpy_s(shellCB->shellBuf, SHOW_MAX_LEN, cmdMask->cmdString, shellCB->shellBufOffset); in OsShellHistoryShow()
/kernel/liteos_m/components/shell/include/
Dshcmd.h73 CHAR cmdString[0]; member