Home
last modified time | relevance | path

Searched refs:rl_end (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dtext.c94 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 Dvi_mode.c404 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 Dmisc.c360 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 Dsearch.c92 _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 Dreadline.c163 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 Dutil.c188 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 Dundo.c175 #define TRANS(i) ((i) == -1 ? rl_point : ((i) == -2 ? rl_end : (i))) in rl_do_undo()
H A Ddisplay.c719 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 Dkill.c294 rl_kill_text (rl_point, rl_end); in rl_kill_full_line()
H A Dcomplete.c1825 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 Dreadline.h547 extern int rl_end;
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/
H A Dmanexamp.c82 if (end > rl_end)
83 end = rl_end;
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/
H A Dmanexamp.c82 if (end > rl_end)
83 end = rl_end;
/netbsd-src/lib/libedit/readline/
H A Dreadline.h115 extern int rl_point, rl_end;
/netbsd-src/lib/libedit/
H A Dreadline.c82 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 Drlfe.c243 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 Drlfe.c243 if (ch == eof_char && rl_point == rl_end) in is_special_char()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/doc/
H A Drltech.texi312 @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 Dreadline.info1799 -- 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)