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

/freebsd-11-stable/contrib/libreadline/examples/
H A Dmanexamp.c83 if (end > rl_end)
84 end = rl_end;
/freebsd-11-stable/contrib/libreadline/
H A Dvi_mode.c327 if ((rl_point < rl_end) && (!whitespace (rl_line_buffer[rl_point])))
389 if (rl_point >= (rl_end - 1))
425 while (count-- && rl_point < (rl_end - 1))
428 while (!whitespace (rl_line_buffer[rl_point]) && rl_point < rl_end)
432 while (whitespace (rl_line_buffer[rl_point]) && rl_point < rl_end)
466 while (count-- && rl_point < (rl_end - 1))
473 while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point]))
476 if (rl_point && rl_point < rl_end)
479 while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point]))
483 while (rl_point < rl_end
[all...]
H A Dmisc.c364 rl_point = rl_end; /* rl_replace_line sets rl_end */
402 : rl_end;
403 if (rl_point > rl_end)
404 rl_point = rl_end;
412 rl_mark = (rl_point == rl_end ? 0 : rl_end);
424 rl_point = rl_end;
431 rl_mark = rl_end;
477 if (_rl_history_saved_point == -1 && (rl_point || rl_end))
[all...]
H A Dtext.c89 if (rl_end + l >= rl_line_buffer_len)
90 rl_extend_line_buffer (rl_end + l);
92 for (i = rl_end; i >= rl_point; i--)
110 rl_end += l;
111 rl_line_buffer[rl_end] = '\0';
129 if (to > rl_end)
131 to = rl_end;
142 for (i = from; i < rl_end - diff; i++)
151 rl_end -= diff;
152 rl_line_buffer[rl_end]
[all...]
H A Dsearch.c92 _rl_replace_text (entry->line, 0, rl_end);
182 rl_mark = rl_end;
211 rl_end = rl_point = 0;
499 rl_point = rl_end = rl_history_search_len;
500 rl_line_buffer[rl_end] = '\0';
505 rl_mark = rl_end;
514 rl_mark = rl_end;
H A Dreadline.c157 int rl_end; variable
423 if (rl_num_chars_to_read && rl_end >= rl_num_chars_to_read)
439 rl_point == 0 && rl_end == 0)
502 if (c == EOF && rl_end)
507 if (((c == _rl_eof_char && lastc != c) || c == EOF) && !rl_end)
566 rl_point = rl_end = rl_mark = 0;
1161 sp->end = rl_end;
1195 rl_end = sp->end;
H A Dutil.c185 if (rl_point == rl_end && rl_line_buffer[rl_point] == '~')
201 while (whitespace (rl_line_buffer[end]) == 0 && end < rl_end);
203 if (whitespace (rl_line_buffer[end]) || end >= rl_end)
H A Disearch.c461 if (wstart >= rl_end)
475 while (n < rl_end)
496 if (wstart >= rl_end)
501 n = rl_end - wstart + 1;
507 for (n = wstart; n < rl_end; n++)
H A Dundo.c169 #define TRANS(i) ((i) == -1 ? rl_point : ((i) == -2 ? rl_end : (i)))
181 rl_point, and a value of -2 means rl_end. */
302 rl_point = rl_mark = 0; /* rl_end should be set correctly */
H A Dkill.c303 rl_kill_text (rl_point, rl_end);
H A Ddisplay.c700 wc_bytes = mbrtowc (&wc, rl_line_buffer, rl_end, &ps);
704 while (in < rl_end)
706 for (in = 0; in < rl_end; in++)
860 wc_bytes = mbrtowc (&wc, rl_line_buffer + in, rl_end - in, &ps);
H A Dreadline.h502 extern int rl_end;
H A Dcomplete.c1562 if (rl_point == rl_end && temp_string_index)
1569 if (rl_point == rl_end && temp_string_index)
/freebsd-11-stable/sbin/hastd/
H A Drangelock.c58 off_t rl_end; member in struct:rlock
108 rl->rl_end = offset + length;
121 if (rl->rl_start == offset && rl->rl_end == offset + length)
139 if (rl->rl_start < end && rl->rl_end > offset)
/freebsd-11-stable/lib/libedit/edit/readline/
H A Dreadline.h106 extern int rl_point, rl_end;
/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui-io.c208 if (tui_current_key_mode == TUI_ONE_COMMAND_MODE && rl_end == 0)
231 for (in = 0; in < rl_end; in++)
662 if (rl_end == 0)
H A Dtui.c110 if (rl_end)
111 rl_kill_text (0, rl_end);
/freebsd-11-stable/contrib/libreadline/examples/rlfe/
H A Drlfe.c238 if (ch == eof_char && rl_point == rl_end)
/freebsd-11-stable/lib/libedit/
H A Dreadline.c80 int rl_end = 0; variable
1842 &rl_point, &rl_end, NULL, NULL, NULL);
2155 rl_end = (int)(li->lastchar - li->buffer);

Completed in 190 milliseconds