Lines Matching refs:shellBufOffset
157 if ((shellCB->shellBufOffset == 0) && (ch != '\n') && (ch != '\0')) {
162 if (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1)) {
163 shellCB->shellBuf[shellCB->shellBufOffset] = '\0';
165 shellCB->shellBufOffset = 0;
172 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1))) {
173 shellCB->shellBuf[shellCB->shellBufOffset - 1] = '\0';
174 shellCB->shellBufOffset--;
179 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1))) {
180 ret = OsTabCompletion(shellCB->shellBuf, &shellCB->shellBufOffset);
194 if (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1)) {
195 shellCB->shellBuf[shellCB->shellBufOffset] = ch;
199 shellCB->shellBufOffset++;