• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/libbb/

Lines Matching refs:command_len

126 	int command_len; /* must be signed */
176 #define command_len (S.command_len )
394 while (cursor < command_len)
533 if (j == (int)command_len)
548 /* (command_len + 1 [because of NUL]) - (j + 1)
549 * simplified into (command_len - j) */
550 (command_len - j) * sizeof(command_ps[0]));
551 command_len--;
569 (command_len - cursor + 1) * sizeof(command_ps[0]));
571 command_len += j;
589 if (cursor < command_len)
1150 /* (cursor - recalc_pos) + len_found + (command_len - cursor) */
1152 if ((int)(len_found + command_len - recalc_pos) < S.maxsize) {
1157 command_len = strlen(command_ps);
1161 redraw(cmdedit_y, command_len - recalc_pos);
1177 command_len = load_string(command, S.maxsize);
1181 len = command_len - len;
1199 redraw(0, command_len - sav_cursor);
1439 while (cursor < command_len && !BB_isspace(command[cursor]))
1441 if (eat) while (cursor < command_len && BB_isspace(command[cursor]))
1451 while (cursor < command_len
1457 while (cursor < command_len && BB_ispunct(command[cursor+1]))
1461 if (cursor < command_len)
1465 while (cursor < command_len && BB_isspace(command[cursor]))
1476 while (cursor < command_len && BB_isspace(command[cursor]))
1478 while (cursor < command_len-1 && !BB_isspace(command[cursor+1]))
1487 if (cursor >= command_len-1)
1490 while (cursor < command_len-1 && BB_isspace(command[cursor]))
1492 if (cursor >= command_len-1)
1495 while (cursor < command_len-1
1501 while (cursor < command_len-1 && BB_ispunct(command[cursor+1]))
1776 redraw((new_y >= cmdedit_y ? new_y : cmdedit_y), command_len - cursor);
1878 while (idx < command_len && unicode_bidi_is_neutral_wchar(command_ps[idx]))
1951 command_len = 0;
2078 command_len = cursor;
2085 redraw(0, command_len - cursor);
2107 command_len -= cursor;
2109 (command_len + 1) * sizeof(command_ps[0]));
2110 redraw(cmdedit_y, command_len);
2227 while (cursor < command_len)
2273 command_len = load_string(state->history[state->cur_history] ?
2304 command_len = 0;
2313 if (command_len == 0) {
2320 break_out = command_len = -1;
2347 if ((int)command_len >= (maxsize - 2)) {
2352 command_len++;
2353 if (cursor == (command_len - 1)) {
2365 (command_len - sc) * sizeof(command_ps[0]));
2406 if (command_len > 0)
2407 command_len = save_string(command, maxsize - 1);
2411 if (command_len > 0)
2415 command[command_len++] = '\n';
2416 command[command_len] = '\0';
2429 len = command_len;
2432 return len; /* can't return command_len, DEINIT_S() destroys it */