Lines Matching refs:shellBufOffset
198 if (shellCB->shellBufOffset == 0) {
199 shellCB->shellBuf[shellCB->shellBufOffset] = '\n';
200 shellCB->shellBuf[shellCB->shellBufOffset + 1] = '\0';
204 if (shellCB->shellBufOffset <= (SHOW_MAX_LEN - 1)) {
205 shellCB->shellBuf[shellCB->shellBufOffset] = '\0';
208 shellCB->shellBufOffset = 0;
218 if (shellCB->shellBufOffset <= (SHOW_MAX_LEN - 1)) {
223 shellCB->shellBufOffset = 0;
233 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset <= (SHOW_MAX_LEN - 1))) {
234 shellCB->shellBuf[shellCB->shellBufOffset - 1] = '\0';
235 shellCB->shellBufOffset--;
248 if ((shellCB->shellBufOffset > 0) && (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1))) {
249 ret = OsTabCompletion(shellCB->shellBuf, &shellCB->shellBufOffset);
262 if ((ch != '\0') && (shellCB->shellBufOffset < (SHOW_MAX_LEN - 1))) {
263 shellCB->shellBuf[shellCB->shellBufOffset] = ch;
264 shellCB->shellBufOffset++;
276 if ((shellCB->shellBufOffset == 0) && (ch != '\n') && (ch != CHAR_CTRL_C) && (ch != '\0')) {