/netbsd-src/external/gpl3/gdb/dist/readline/readline/ |
H A D | vi_mode.c | 73 start = _rl_find_next_mbchar (rl_line_buffer, start, 1, MB_FIND_ANY); \ 404 if ((rl_point < rl_end) && (!whitespace (rl_line_buffer[rl_point]))) in rl_vi_complete() 406 if (!whitespace (rl_line_buffer[rl_point + 1])) in rl_vi_complete() 507 rl_point = _rl_find_prev_mbchar (rl_line_buffer, rl_point, MB_FIND_NONZERO); in _rl_vi_backup() 563 while (!whitespace (rl_line_buffer[rl_point]) && rl_point < rl_end) in rl_vi_fWord() 567 while (whitespace (rl_line_buffer[rl_point]) && rl_point < rl_end) in rl_vi_fWord() 580 if (!whitespace (rl_line_buffer[rl_point]) && in rl_vi_bWord() 581 whitespace (rl_line_buffer[rl_point - 1])) in rl_vi_bWord() 584 while (rl_point > 0 && whitespace (rl_line_buffer[rl_point])) in rl_vi_bWord() 591 while (rl_point > 0 && !whitespace (rl_line_buffer[rl_point])); in rl_vi_bWord() [all …]
|
H A D | text.c | 98 rl_line_buffer[i + l] = rl_line_buffer[i]; in rl_insert_text() 99 strncpy (rl_line_buffer + rl_point, string, l); in rl_insert_text() 116 rl_line_buffer[rl_end] = '\0'; in rl_insert_text() 147 rl_line_buffer[i] = rl_line_buffer[i + diff]; in rl_delete_text() 156 rl_line_buffer[rl_end] = '\0'; in rl_delete_text() 218 strcpy (rl_line_buffer, text); in rl_replace_line() 299 point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count, MB_FIND_NONZERO); in _rl_forward_char_internal() 303 point = _rl_find_prev_mbchar (rl_line_buffer, rl_end, MB_FIND_NONZERO); in _rl_forward_char_internal() 328 point = _rl_find_prev_mbchar (rl_line_buffer, point, MB_FIND_NONZERO); in _rl_backward_char_internal() 433 point = _rl_find_prev_mbchar (rl_line_buffer, point, MB_FIND_NONZERO); in rl_backward_char() [all …]
|
H A D | util.c | 157 strncpy (copy, rl_line_buffer + from, length); in rl_copy_text() 170 rl_line_buffer = (char *)xrealloc (rl_line_buffer, rl_line_buffer_len); in rl_extend_line_buffer() 188 if (rl_point == rl_end && rl_line_buffer[rl_point] == '~') in rl_tilde_expand() 195 else if (start >= 0 && rl_line_buffer[start] != '~') in rl_tilde_expand() 197 for (; start >= 0 && !whitespace (rl_line_buffer[start]); start--) in rl_tilde_expand() 207 while (whitespace (rl_line_buffer[end]) == 0 && end < rl_end); in rl_tilde_expand() 209 if (whitespace (rl_line_buffer[end]) || end >= rl_end) in rl_tilde_expand() 215 if (rl_line_buffer[start] == '~') in rl_tilde_expand() 219 strncpy (temp, rl_line_buffer + start, len); in rl_tilde_expand()
|
H A D | complete.c | 1099 … for (scan = pass_next = 0; scan < end; scan = MB_NEXTCHAR (rl_line_buffer, scan, 1, MB_FIND_ANY)) in _rl_find_completion_word() 1111 if (quote_char != '\'' && rl_line_buffer[scan] == '\\') in _rl_find_completion_word() 1121 if (rl_line_buffer[scan] == quote_char) in _rl_find_completion_word() 1128 else if (strchr (rl_completer_quote_characters, rl_line_buffer[scan])) in _rl_find_completion_word() 1131 quote_char = rl_line_buffer[scan]; in _rl_find_completion_word() 1149 while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) in _rl_find_completion_word() 1151 scan = rl_line_buffer[rl_point]; in _rl_find_completion_word() 1159 (*rl_char_is_quoted_p) (rl_line_buffer, rl_point)) in _rl_find_completion_word() 1169 scan = rl_line_buffer[rl_point]; in _rl_find_completion_word() 1180 (*rl_char_is_quoted_p) (rl_line_buffer, rl_point) == 0) && in _rl_find_completion_word() [all …]
|
H A D | kill.c | 321 while (rl_point && whitespace (rl_line_buffer[rl_point - 1])) in rl_unix_word_rubout() 324 while (rl_point && (whitespace (rl_line_buffer[rl_point - 1]) == 0)) in rl_unix_word_rubout() 353 c = rl_line_buffer[rl_point - 1]; in rl_unix_filename_rubout() 357 c = rl_line_buffer[rl_point - 1]; in rl_unix_filename_rubout() 363 c = rl_line_buffer[rl_point - 1]; in rl_unix_filename_rubout() 517 if (n >= 0 && STREQN (rl_line_buffer + n, rl_kill_ring[rl_kill_index], l)) in rl_yank_pop() 549 if (n >= 0 && STREQN (rl_line_buffer + n, rl_kill_ring[rl_kill_index], l)) in rl_vi_yank_pop()
|
H A D | search.c | 238 rl_line_buffer[0] = 0; in _rl_nsearch_init() 381 noninc_search_string = savestring (rl_line_buffer); in _rl_nsearch_dosearch() 567 rl_line_buffer[rl_end] = '\0'; in rl_history_search_internal() 586 t = strstr (rl_line_buffer, history_search_string); /* XXX */ in rl_history_search_internal() 587 rl_point = t ? (int)(t - rl_line_buffer) + rl_history_search_len : rl_end; in rl_history_search_internal() 618 strncpy (history_search_string + sind, rl_line_buffer, rl_point); in rl_history_search_reinit()
|
H A D | misc.c | 340 temp = replace_history_entry (where_history (), rl_line_buffer, (histdata_t)rl_undo_list); in rl_maybe_replace_line() 374 _rl_saved_line_for_history->line = savestring (rl_line_buffer); in rl_maybe_save_line() 443 lbuf = savestring (rl_line_buffer); in _rl_revert_previous_lines() 463 entry->line = savestring (rl_line_buffer); in _rl_revert_previous_lines()
|
H A D | readline.c | 255 char *rl_line_buffer = (char *)NULL; variable 719 the_line = rl_line_buffer; in _rl_init_line_state() 726 the_line = rl_line_buffer; in _rl_set_the_line() 1250 if (rl_line_buffer == 0) in readline_initialize_everything() 1251 rl_line_buffer = (char *)xmalloc (rl_line_buffer_len = DEFAULT_BUFFER_SIZE); in readline_initialize_everything() 1440 sp->buffer = rl_line_buffer; in rl_save_state() 1480 the_line = rl_line_buffer = sp->buffer; in rl_restore_state()
|
H A D | parens.c | 125 find_matching_open (rl_line_buffer, rl_point - 2, invoking_key); in rl_insert_close()
|
H A D | display.c | 984 if (_rl_utf8locale && UTF8_SINGLEBYTE(rl_line_buffer[0])) in rl_redisplay() 986 wc = (wchar_t)rl_line_buffer[0]; in rl_redisplay() 990 wc_bytes = mbrtowc (&wc, rl_line_buffer, rl_end, &ps); in rl_redisplay() 1004 c = (unsigned char)rl_line_buffer[in]; in rl_redisplay() 1140 invis_addc (&out, rl_line_buffer[i], cur_face); in rl_redisplay() 1159 if (_rl_utf8locale && UTF8_SINGLEBYTE(rl_line_buffer[in])) in rl_redisplay() 1161 wc = (wchar_t)rl_line_buffer[in]; in rl_redisplay() 1166 wc_bytes = mbrtowc (&wc, rl_line_buffer + in, rl_end - in, &ps); in rl_redisplay()
|
H A D | callback.c | 293 if (rl_line_buffer[0]) in rl_callback_read_char()
|
H A D | undo.c | 237 temp = replace_history_entry (where_history (), rl_line_buffer, (histdata_t)rl_undo_list); in rl_do_undo()
|
H A D | readline.h | 543 extern char *rl_line_buffer;
|
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/ |
H A D | manexamp.c | 103 if (_rl_uppercase_p (rl_line_buffer[start])) 104 rl_line_buffer[start] = _rl_to_lower (rl_line_buffer[start]); 105 else if (_rl_lowercase_p (rl_line_buffer[start])) 106 rl_line_buffer[start] = _rl_to_upper (rl_line_buffer[start]);
|
H A D | excallback.c | 175 strcpy(line_buf, rl_line_buffer); in change_prompt()
|
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/ |
H A D | manexamp.c | 103 if (_rl_uppercase_p (rl_line_buffer[start])) 104 rl_line_buffer[start] = _rl_to_lower (rl_line_buffer[start]); 105 else if (_rl_lowercase_p (rl_line_buffer[start])) 106 rl_line_buffer[start] = _rl_to_upper (rl_line_buffer[start]);
|
H A D | excallback.c | 175 strcpy(line_buf, rl_line_buffer); in change_prompt()
|
/netbsd-src/external/gpl2/lvm2/dist/tools/ |
H A D | lvm.c | 64 char *s = rl_line_buffer; in _list_args() 132 while (isspace((int) *(rl_line_buffer + p))) in _completion()
|
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/ |
H A D | parens.c | 125 find_matching_open (rl_line_buffer, rl_point - 2, invoking_key); in rl_insert_close()
|
/netbsd-src/external/bsd/wpa/dist/src/utils/ |
H A D | edit_readline.c | 68 rl_line_buffer, end); in readline_completion()
|
/netbsd-src/lib/libedit/readline/ |
H A D | readline.h | 114 extern char *rl_line_buffer;
|
/netbsd-src/lib/libedit/ |
H A D | readline.c | 83 char *rl_line_buffer = NULL; variable 346 el_set(e, EL_RESIZE, _resize_fun, &rl_line_buffer); in rl_initialize() 424 _resize_fun(e, &rl_line_buffer); in rl_initialize() 2310 rl_line_buffer[rl_end] = '\0'; in _rl_update_pos()
|
/netbsd-src/external/gpl3/gdb/dist/readline/readline/doc/ |
H A D | rltech.texi | 300 @deftypevar {char *} rl_line_buffer 304 the memory allocated to @code{rl_line_buffer}. 308 The offset of the current cursor position in @code{rl_line_buffer} 313 The number of characters present in @code{rl_line_buffer}. When 635 * Modifying Text:: Functions to modify @code{rl_line_buffer}. 994 of @code{rl_line_buffer}. 1232 Replace the contents of @code{rl_line_buffer} with @var{text}. 1239 Ensure that @code{rl_line_buffer} has enough space to hold @var{len} 1489 if (_rl_uppercase_p (rl_line_buffer[i])) 1490 rl_line_buffer[i] = _rl_to_lower (rl_line_buffer[i]); [all …]
|
H A D | readline.info | 1789 -- Variable: char * rl_line_buffer 1793 memory allocated to 'rl_line_buffer'. 1796 The offset of the current cursor position in 'rl_line_buffer' (the 1800 The number of characters present in 'rl_line_buffer'. When 2093 * Modifying Text:: Functions to modify 'rl_line_buffer'. 2435 contents of 'rl_line_buffer'. 2646 Replace the contents of 'rl_line_buffer' with TEXT. The point and 2651 Ensure that 'rl_line_buffer' has enough space to hold LEN 2886 if (_rl_uppercase_p (rl_line_buffer[i])) 2887 rl_line_buffer[i] = _rl_to_lower (rl_line_buffer[i]); [all …]
|
/netbsd-src/external/gpl3/gdb.old/dist/gdb/ |
H A D | ChangeLog-1994 | 755 abusing rl_line_buffer. Free completion strings after printing 3938 rl_line_buffer; they are now declared in readline.h.
|