Lines Matching refs:ic

2151 	int64_t ic;  in lineedit_read_key()  local
2167 ic = read_key(STDIN_FILENO, read_key_buffer, timeout); in lineedit_read_key()
2178 if ((int32_t)ic == KEYCODE_CURSOR_POS in lineedit_read_key()
2183 int col = ((ic >> 32) & 0x7fff) - 1; in lineedit_read_key()
2208 if ((int32_t)ic < 0) /* KEYCODE_xxx */ in lineedit_read_key()
2212 unicode_buf[unicode_idx++] = ic; in lineedit_read_key()
2224 ic = CONFIG_SUBST_WCHAR; in lineedit_read_key()
2226 ic = unicode_mark_raw_byte(unicode_buf[0]); in lineedit_read_key()
2230 ic = wc; in lineedit_read_key()
2237 return ic; in lineedit_read_key()
2284 int32_t ic; in reverse_i_search() local
2300 ic = lineedit_read_key(read_key_buffer, timeout); in reverse_i_search()
2302 switch (ic) { in reverse_i_search()
2323 if (ic < ' ' in reverse_i_search()
2324 || (!ENABLE_UNICODE_SUPPORT && ic >= 256) in reverse_i_search()
2325 || (ENABLE_UNICODE_SUPPORT && ic >= VI_CMDMODE_BIT) in reverse_i_search()
2335 int len = wcrtomb(buf, ic, &mbstate); in reverse_i_search()
2344 match_buf[match_buf_len] = ic; in reverse_i_search()
2352 if (ic == CTRL('R')) in reverse_i_search()
2392 return ic; in reverse_i_search()
2521 int32_t ic, ic_raw; in read_line_input() local
2531 ic = ic_raw = lineedit_read_key(read_key_buffer, timeout); in read_line_input()
2541 ic |= VI_CMDMODE_BIT; in read_line_input()
2545 switch (ic) { in read_line_input()
2660 ic = ic_raw = reverse_i_search(timeout); in read_line_input()
2719 ic = lineedit_read_key(read_key_buffer, timeout); in read_line_input()
2722 if (ic == ic_raw) { /* "cc", "dd" */ in read_line_input()
2729 switch (ic) { in read_line_input()
2734 switch (ic) { in read_line_input()
2757 if (ic == 'b') in read_line_input()
2783 ic = lineedit_read_key(read_key_buffer, timeout); in read_line_input()
2786 if (ic < ' ' || ic > 255) { in read_line_input()
2789 command_ps[cursor] = ic; in read_line_input()
2790 bb_putchar(ic); in read_line_input()
2876 if (ic < ' ' in read_line_input()
2877 || (!ENABLE_UNICODE_SUPPORT && ic >= 256) in read_line_input()
2878 || (ENABLE_UNICODE_SUPPORT && ic >= VI_CMDMODE_BIT) in read_line_input()
2896 command_ps[cursor] = ic; in read_line_input()
2899 if (unicode_bidi_isrtl(ic)) in read_line_input()
2907 command_ps[sc] = ic; in read_line_input()