Lines Matching refs:shellBufOffset
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()
195 shellCB->shellBuf[shellCB->shellBufOffset] = ch; in ShellCmdLineParse()
199 shellCB->shellBufOffset++; in ShellCmdLineParse()