Home
last modified time | relevance | path

Searched refs:shellBuf (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/apps/shell/src/
Dshmsg.c183 OsShellCmdPush(shellCB->shellBuf, shellCB->cmdKeyLink); in ShellTaskNotify()
188 printf("command execute failed, \"%s\"", shellCB->shellBuf); in ShellTaskNotify()
199 shellCB->shellBuf[shellCB->shellBufOffset] = '\n'; in ParseEnterKey()
200 shellCB->shellBuf[shellCB->shellBufOffset + 1] = '\0'; in ParseEnterKey()
205 shellCB->shellBuf[shellCB->shellBufOffset] = '\0'; in ParseEnterKey()
219 shellCB->shellBuf[0] = CHAR_CTRL_C; in ParseCancelKey()
220 shellCB->shellBuf[1] = '\0'; in ParseCancelKey()
234 shellCB->shellBuf[shellCB->shellBufOffset - 1] = '\0'; in ParseDeleteKey()
249 ret = OsTabCompletion(shellCB->shellBuf, &shellCB->shellBufOffset); in ParseTabKey()
251 outputFunc(SHELL_PROMPT"%s", shellCB->shellBuf); in ParseTabKey()
[all …]
Dshcmd.c572 (void)memset_s(shellCB->shellBuf, SHOW_MAX_LEN, 0, SHOW_MAX_LEN); in OsShellHistoryShow()
573 ret = memcpy_s(shellCB->shellBuf, SHOW_MAX_LEN, cmdMask->cmdString, shellCB->shellBufOffset); in OsShellHistoryShow()
/kernel/liteos_a/shell/full/src/base/
Dshmsg.c158 (VOID)memset_s(shellCB->shellBuf, SHOW_MAX_LEN, 0, SHOW_MAX_LEN); in ShellCmdLineParse()
163 shellCB->shellBuf[shellCB->shellBufOffset] = '\0'; in ShellCmdLineParse()
167 OsShellCmdPush(shellCB->shellBuf, shellCB->cmdKeyLink); in ShellCmdLineParse()
173 shellCB->shellBuf[shellCB->shellBufOffset - 1] = '\0'; in ShellCmdLineParse()
180 ret = OsTabCompletion(shellCB->shellBuf, &shellCB->shellBufOffset); in ShellCmdLineParse()
182 outputFunc("OHOS # %s", shellCB->shellBuf); in ShellCmdLineParse()
195 shellCB->shellBuf[shellCB->shellBufOffset] = ch; in ShellCmdLineParse()
197 shellCB->shellBuf[SHOW_MAX_LEN - 1] = '\0'; in ShellCmdLineParse()
341 (VOID)memset_s(shellCB->shellBuf, SHOW_MAX_LEN, 0, SHOW_MAX_LEN); in ShellEntry()
Dshcmd.c724 (VOID)memset_s(shellCB->shellBuf, SHOW_MAX_LEN, 0, SHOW_MAX_LEN); in OsShellHistoryShow()
725 ret = memcpy_s(shellCB->shellBuf, SHOW_MAX_LEN, cmdMask->cmdString, shellCB->shellBufOffset); in OsShellHistoryShow()
/kernel/liteos_a/apps/shell/include/
Dshell.h83 char shellBuf[SHOW_MAX_LEN]; member
/kernel/liteos_m/components/shell/include/
Dshell.h96 CHAR shellBuf[SHOW_MAX_LEN]; member
/kernel/liteos_a/shell/full/include/
Dshell.h98 CHAR shellBuf[SHOW_MAX_LEN]; member