Home
last modified time | relevance | path

Searched refs:history_length (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/lib/libreadline/
H A Dhistory.c81 int history_length; variable
95 state->length = history_length; in history_get_history_state()
111 history_length = state->length;
223 if (history_length == 0)
245 history_length = 1;
255 history_length++;
278 if (which >= history_length)
301 if (which >= history_length || !history_length)
310 history_length--;
326 if (history_length > max)
[all …]
H A Dhistsearch.c80 if (!history_length || ((i == history_length) && !reverse))
83 if (reverse && (i == history_length))
95 if ((reverse && i < 0) || (!reverse && i == history_length))
H A Dhistfile.c400 if (nelements > history_length)
401 nelements = history_length;
412 for (buffer_size = 1, i = history_length - nelements; i < history_length; i++)
440 for (i = history_length - nelements; i < history_length; i++)
480 return (history_do_write (filename, history_length, HISTORY_OVERWRITE));
H A Dhistory.h224 extern int history_length;
H A Dhistexpand.c168 which = history_base + (history_length - 1);
189 which = (history_length + history_base) - which;
243 history_offset = history_length; free (temp) ; return (char *)NULL; \
270 history_offset = history_length;
/openbsd/regress/lib/libedit/readline/
H A Dhistory.c261 if (history_length != 2) in test_stifle_size()
262 msg("Length is %d instead of 2.", history_length); in test_stifle_size()
/openbsd/lib/libedit/
H A Dreadline.c90 int history_length = 0; variable
317 history_length = 0; in rl_initialize()
435 history_length = ev.num; in readline()
542 num = history_length - num + 1; in get_history_event()
1144 len = history_length; in stifle_history()
1416 history_length = ev.num; in add_history()
1419 return !(history_length > 0); /* return 0 if all is okay */ in add_history()
1445 history_length = ev.num; in remove_history()
1506 history_length = 0; in clear_history()
1583 if (pos >= history_length || pos < 0) in history_set_pos()
[all …]
/openbsd/lib/libedit/readline/
H A Dreadline.h107 extern int history_base, history_length;
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dtop.c1082 if ((history_is_stifled () && (history_length >= max_input_history)) || in gdb_rl_operate_and_get_next()
1083 (where >= history_length - 1)) in gdb_rl_operate_and_get_next()
/openbsd/gnu/lib/libreadline/doc/
H A Dhstech.texinfo399 @deftypevar int history_length