Home
last modified time | relevance | path

Searched refs:shellBufOffset (Results 1 - 5 of 5) sorted by relevance

/kernel/liteos_a/apps/shell/src/
H A Dshmsg.c198 if (shellCB->shellBufOffset == 0) { in ParseEnterKey()
199 shellCB->shellBuf[shellCB->shellBufOffset] = '\n'; in ParseEnterKey()
200 shellCB->shellBuf[shellCB->shellBufOffset + 1] = '\0'; in ParseEnterKey()
204 if (shellCB->shellBufOffset <= (SHOW_MAX_LEN - 1)) { in ParseEnterKey()
205 shellCB->shellBuf[shellCB->shellBufOffset] = '\0'; in ParseEnterKey()
208 shellCB->shellBufOffset = 0; in ParseEnterKey()
218 if (shellCB->shellBufOffset <= (SHOW_MAX_LEN - 1)) { in ParseCancelKey()
223 shellCB->shellBufOffset = 0; in ParseCancelKey()
233 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset < in ParseDeleteKey()
[all...]
/kernel/liteos_a/shell/full/src/base/
H A Dshmsg.c157 if ((shellCB->shellBufOffset == 0) && (ch != '\n') && (ch != '\0')) { in ShellCmdLineParse()
162 if (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1)) { in ShellCmdLineParse()
163 shellCB->shellBuf[shellCB->shellBufOffset] = '\0'; in ShellCmdLineParse()
165 shellCB->shellBufOffset = 0; in ShellCmdLineParse()
172 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1))) { in ShellCmdLineParse()
173 shellCB->shellBuf[shellCB->shellBufOffset - 1] = '\0'; in ShellCmdLineParse()
174 shellCB->shellBufOffset--; in ShellCmdLineParse()
179 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset < (SHOW_MAX_LE in ShellCmdLineParse()
[all...]
/kernel/liteos_a/apps/shell/include/
H A Dshell.h78 unsigned int shellBufOffset; member
/kernel/liteos_a/shell/full/include/
H A Dshell.h93 UINT32 shellBufOffset; member
/kernel/liteos_m/components/shell/include/
H A Dshell.h92 UINT32 shellBufOffset; member

Completed in 3 milliseconds