Home
last modified time | relevance | path

Searched refs:history_base (Results 1 – 12 of 12) sorted by relevance

/openbsd/regress/lib/libedit/readline/
H A Dhistory.c93 if ((he = history_get(history_base + idx)) == NULL) in check_get()
94 msg("Get %d+%d returned NULL.", history_base, idx); in check_get()
96 msg("Get %d+%d returned line == NULL.", history_base, idx); in check_get()
99 history_base, idx, he->line, want); in check_get()
281 if (history_base != 2) in test_stifle_base()
282 msg("Base is %d instead of 2.", history_base); in test_stifle_base()
/openbsd/gnu/lib/libreadline/
H A Dhistory.c84 int history_base = 1; variable
203 local_index = offset - history_base;
237 history_base++;
335 history_base = i;
H A Dhistory.h223 extern int history_base;
H A Disearch.c115 snprintf (message, mlen, "[%d]", where + history_base);
H A Dhistexpand.c168 which = history_base + (history_length - 1);
189 which = (history_length + history_base) - which;
H A Dvi_mode.c227 wanted = history_base + where_history () - count;
/openbsd/gnu/lib/libreadline/examples/
H A Dhistexamp.c90 printf ("%d: %s\n", i + history_base, the_list[i]->line);
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dtop.c1503 if (!history_get (history_base + offset)) in show_commands()
1517 num = (parse_and_eval_long (args) - history_base) - Hist_print / 2; in show_commands()
1539 printf_filtered ("%5d %s\n", history_base + offset, in show_commands()
1540 (history_get (history_base + offset))->line); in show_commands()
H A DChangeLog-19943939 (show_commands): Don't declare history_base; it is declared in
/openbsd/lib/libedit/readline/
H A Dreadline.h107 extern int history_base, history_length;
/openbsd/lib/libedit/
H A Dreadline.c89 int history_base = 1; /* probably never subject to change */ variable
1148 history_base += len - max; in stifle_history()
1369 if (num < history_base) in history_get()
1381 if (history(h, &ev, H_DELDATA, num - history_base, (void **)-1) != 0) in history_get()
/openbsd/gnu/lib/libreadline/doc/
H A Dhstech.texinfo225 @code{history_base} (@pxref{History Variables}).
395 @deftypevar int history_base
527 printf ("%d: %s\n", i + history_base, the_list[i]->line);