/netbsd-src/external/gpl3/gdb/dist/readline/readline/ |
H A D | text.c | 94 if (rl_end + l >= rl_line_buffer_len) in rl_insert_text() 95 rl_extend_line_buffer (rl_end + l); in rl_insert_text() 97 for (i = rl_end; i >= rl_point; i--) in rl_insert_text() 115 rl_end += l; in rl_insert_text() 116 rl_line_buffer[rl_end] = '\0'; in rl_insert_text() 133 if (to > rl_end) in rl_delete_text() 135 to = rl_end; in rl_delete_text() 146 for (i = from; i < rl_end - diff; i++) in rl_delete_text() 155 rl_end -= diff; in rl_delete_text() 156 rl_line_buffer[rl_end] = '\0'; in rl_delete_text() [all …]
|
H A D | vi_mode.c | 404 if ((rl_point < rl_end) && (!whitespace (rl_line_buffer[rl_point]))) in rl_vi_complete() 463 if (rl_point >= (rl_end - 1)) in rl_vi_next_word() 482 if (rl_point < rl_end) in _rl_vi_advance_point() 491 if (point == rl_point || rl_point > rl_end) in _rl_vi_advance_point() 492 rl_point = rl_end; in _rl_vi_advance_point() 560 while (count-- && rl_point < (rl_end - 1)) in rl_vi_fWord() 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() 607 while (count-- && rl_point < (rl_end - 1)) in rl_vi_eWord() 614 while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point])) in rl_vi_eWord() [all …]
|
H A D | misc.c | 360 rl_point = rl_end; /* rl_replace_line sets rl_end */ in rl_maybe_unsave_line() 398 : rl_end; in _rl_history_set_point() 399 if (rl_point > rl_end) in _rl_history_set_point() 400 rl_point = rl_end; in _rl_history_set_point() 408 rl_mark = (rl_point == rl_end ? 0 : rl_end); in _rl_history_set_point() 418 rl_point = rl_end; in rl_replace_from_history() 425 rl_mark = rl_end; in rl_replace_from_history() 562 if (_rl_history_saved_point == -1 && (rl_point || rl_end)) in rl_get_next_history() 563 _rl_history_saved_point = (rl_point == rl_end) ? -1 : rl_point; in rl_get_next_history() 599 if (_rl_history_saved_point == -1 && (rl_point || rl_end)) in rl_get_previous_history() [all …]
|
H A D | search.c | 92 _rl_replace_text (entry->line, 0, rl_end); in make_history_line_current() 195 if (_rl_enable_active_region && ((flags & SF_PATTERN) == 0) && ind > 0 && ind < rl_end) in noninc_dosearch() 199 if (rl_mark > rl_end) in noninc_dosearch() 200 rl_mark = rl_end; /* can't happen? */ in noninc_dosearch() 206 rl_mark = rl_end; in noninc_dosearch() 239 rl_end = rl_point = 0; in _rl_nsearch_init() 566 rl_point = rl_end = rl_history_search_len; in rl_history_search_internal() 567 rl_line_buffer[rl_end] = '\0'; in rl_history_search_internal() 572 rl_mark = rl_end; 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() [all …]
|
H A D | readline.c | 163 int rl_end; variable 524 if (rl_num_chars_to_read && rl_end >= rl_num_chars_to_read) in _rl_internal_char_cleanup() 540 rl_point == 0 && rl_end == 0) in _rl_internal_char_cleanup() 612 if (c == EOF && rl_end) in readline_internal_char() 625 rl_end = 0; in readline_internal_char() 637 if (((c == _rl_eof_char && lastc != c) || c == EOF) && rl_end == 0) in readline_internal_char() 718 rl_point = rl_end = rl_mark = 0; in _rl_init_line_state() 1438 sp->end = rl_end; in rl_save_state() 1478 rl_end = sp->end; in rl_restore_state()
|
H A D | util.c | 188 if (rl_point == rl_end && rl_line_buffer[rl_point] == '~') 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()
|
H A D | undo.c | 175 #define TRANS(i) ((i) == -1 ? rl_point : ((i) == -2 ? rl_end : (i))) in rl_do_undo()
|
H A D | display.c | 719 if (rl_point >= 0 && rl_point <= rl_end && rl_mark >= 0 && rl_mark <= rl_end) in set_active_region() 990 wc_bytes = mbrtowc (&wc, rl_line_buffer, rl_end, &ps); in rl_redisplay() 994 while (in < rl_end) in rl_redisplay() 996 for (in = 0; in < rl_end; in++) in rl_redisplay() 1166 wc_bytes = mbrtowc (&wc, rl_line_buffer + in, rl_end - in, &ps); in rl_redisplay()
|
H A D | kill.c | 294 rl_kill_text (rl_point, rl_end); in rl_kill_full_line()
|
H A D | complete.c | 1825 while (start < rl_end && *r && rl_line_buffer[start] == *r) in insert_match() 1905 if (rl_point == rl_end && temp_string_index) in append_to_match() 1912 if (rl_point == rl_end && temp_string_index) in append_to_match()
|
H A D | readline.h | 547 extern int rl_end;
|
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/ |
H A D | manexamp.c | 82 if (end > rl_end) 83 end = rl_end;
|
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/ |
H A D | manexamp.c | 82 if (end > rl_end) 83 end = rl_end;
|
/netbsd-src/lib/libedit/readline/ |
H A D | readline.h | 115 extern int rl_point, rl_end;
|
/netbsd-src/lib/libedit/ |
H A D | readline.c | 82 int rl_end = 0; variable 1991 &rl_point, &rl_end, 0); in rl_complete() 2309 rl_end = (int)(li->lastchar - li->buffer); in _rl_update_pos() 2310 rl_line_buffer[rl_end] = '\0'; in _rl_update_pos()
|
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/rlfe/ |
H A D | rlfe.c | 243 if (ch == eof_char && rl_point == rl_end) in is_special_char()
|
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/ |
H A D | rlfe.c | 243 if (ch == eof_char && rl_point == rl_end) in is_special_char()
|
/netbsd-src/external/gpl3/gdb/dist/readline/readline/doc/ |
H A D | rltech.texi | 312 @deftypevar int rl_end 315 @code{rl_end} are equal. 1453 if (rl_point >= rl_end) 1468 if (end > rl_end) 1469 end = rl_end;
|
H A D | readline.info | 1799 -- Variable: int rl_end 1801 'rl_point' is at the end of the line, 'rl_point' and 'rl_end' are 2850 if (rl_point >= rl_end) 2865 if (end > rl_end) 2866 end = rl_end; 4932 * rl_end: Readline Variables. (line 18)
|