Searched refs:shellBufOffset (Results 1 – 7 of 7) sorted by relevance
198 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 <= (SHOW_MAX_LEN - 1))) { in ParseDeleteKey()234 shellCB->shellBuf[shellCB->shellBufOffset - 1] = '\0'; in ParseDeleteKey()[all …]
567 while (shellCB->shellBufOffset--) { 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()
157 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_LEN - 1))) { in ShellCmdLineParse()180 ret = OsTabCompletion(shellCB->shellBuf, &shellCB->shellBufOffset); in ShellCmdLineParse()194 if (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1)) { in ShellCmdLineParse()[all …]
719 while (shellCB->shellBufOffset--) { 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()
78 unsigned int shellBufOffset; member
92 UINT32 shellBufOffset; member
93 UINT32 shellBufOffset; member