Searched refs:history_base (Results 1 – 12 of 12) sorted by relevance
/openbsd/regress/lib/libedit/readline/ |
H A D | history.c | 93 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 D | history.c | 84 int history_base = 1; variable 203 local_index = offset - history_base; 237 history_base++; 335 history_base = i;
|
H A D | history.h | 223 extern int history_base;
|
H A D | isearch.c | 115 snprintf (message, mlen, "[%d]", where + history_base);
|
H A D | histexpand.c | 168 which = history_base + (history_length - 1); 189 which = (history_length + history_base) - which;
|
H A D | vi_mode.c | 227 wanted = history_base + where_history () - count;
|
/openbsd/gnu/lib/libreadline/examples/ |
H A D | histexamp.c | 90 printf ("%d: %s\n", i + history_base, the_list[i]->line);
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | top.c | 1503 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 D | ChangeLog-1994 | 3939 (show_commands): Don't declare history_base; it is declared in
|
/openbsd/lib/libedit/readline/ |
H A D | readline.h | 107 extern int history_base, history_length;
|
/openbsd/lib/libedit/ |
H A D | readline.c | 89 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 D | hstech.texinfo | 225 @code{history_base} (@pxref{History Variables}). 395 @deftypevar int history_base 527 printf ("%d: %s\n", i + history_base, the_list[i]->line);
|