Searched refs:history_length (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/contrib/libreadline/
H A Dhistory.c83 int history_length; variable
97 state->length = history_length;
113 history_length = state->length;
124 history_offset = history_length;
155 if (pos > history_length || pos < 0 || !the_history)
175 return ((history_offset == history_length) || the_history == 0)
195 return (history_offset == history_length) ? (HIST_ENTRY *)NULL : the_history[++history_offset];
207 return (local_index >= history_length || local_index < 0 || the_history == 0)
270 if (history_stifled && (history_length == history_max_entries))
274 /* If the history is stifled, and history_length i
[all...]
H A Dhistsearch.c80 if (!history_length || ((i >= history_length) && !reverse))
83 if (reverse && (i >= history_length))
84 i = history_length - 1;
95 if ((reverse && i < 0) || (!reverse && i == history_length))
H A Dhistfile.c450 if (nelements > history_length)
451 nelements = history_length;
463 for (buffer_size = 0, i = history_length - nelements; i < history_length; i++)
498 for (j = 0, i = history_length - nelements; i < history_length; i++)
545 return (history_do_write (filename, history_length, HISTORY_OVERWRITE));
H A Dhistory.h242 extern int history_length;
H A Dhistexpand.c170 which = history_base + (history_length - 1);
191 which = (history_length + history_base) - which;
247 history_offset = history_length; free (temp) ; return (char *)NULL; \
274 history_offset = history_length;
/freebsd-9.3-release/lib/libedit/edit/readline/
H A Dreadline.h108 extern int history_base, history_length;
/freebsd-9.3-release/lib/libedit/
H A Dreadline.c89 int history_length = 0; variable
302 history_length = 0;
419 history_length = ev.num;
526 num = history_length - num + 1;
1376 history_length = ev.num;
1378 return (!(history_length > 0)); /* return 0 if all is okay */
1404 history_length = ev.num;
1465 history_length = 0;
1538 if (pos >= history_length || pos < 0)
2189 hs->length = history_length;
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dtop.c1143 if ((history_is_stifled () && (history_length >= max_input_history)) ||
1144 (where >= history_length - 1))

Completed in 79 milliseconds