• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/

Lines Matching defs:command_len

73 static unsigned command_len;
130 while (cursor < command_len)
219 if (j == command_len)
237 command_len--;
253 memmove(command_ps + cursor + j, command_ps + cursor, command_len - cursor + 1);
255 command_len += j;
273 if (cursor < command_len)
811 if ((len_found - strlen(matchBuf) + command_len) < MAX_LINELEN) {
825 command_len = strlen(command_ps);
827 redraw(cmdedit_y, command_len - recalc_pos);
840 redraw(0, command_len - sav_cursor);
985 while (cursor < command_len && !isspace(command[cursor]))
987 if (eat) while (cursor < command_len && isspace(command[cursor]))
995 while (cursor < command_len
999 while (cursor < command_len && ispunct(command[cursor+1]))
1003 if (cursor < command_len)
1006 if (eat && cursor < command_len && isspace(command[cursor]))
1007 while (cursor < command_len && isspace(command[cursor]))
1015 while (cursor < command_len && isspace(command[cursor]))
1017 while (cursor < command_len-1 && !isspace(command[cursor+1]))
1024 if (cursor >= command_len-1)
1027 while (cursor < command_len-1 && isspace(command[cursor]))
1029 if (cursor >= command_len-1)
1032 while (cursor < command_len-1
1038 while (cursor < command_len-1 && ispunct(command[cursor+1]))
1224 redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor);
1284 command_len = 0;
1368 command_len = 0;
1374 if (command_len == 0) {
1378 break_out = command_len = -1;
1412 command_len = cursor;
1419 redraw(0, command_len - cursor);
1449 command_len -= cursor;
1450 redraw(cmdedit_y, command_len);
1567 while (cursor < command_len)
1643 command_len = strlen(strcpy(command, state->history[state->cur_history]));
1696 if (command_len >= (maxsize - 2)) /* Need to leave space for enter */
1699 command_len++;
1700 if (cursor == (command_len - 1)) { /* Append if at the end of the line */
1707 memmove(command + sc + 1, command + sc, command_len - sc);
1724 if (command_len > 0)
1728 command[command_len++] = '\n';
1729 command[command_len] = '\0';
1744 return command_len;