Home
last modified time | relevance | path

Searched refs:hist_entry (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dreadline.c180 if (rs->hist_entry == 0) in readline_up_char()
182 if (rs->hist_entry == -1) { in readline_up_char()
188 rs->hist_entry = idx; in readline_up_char()
190 rs->hist_entry--; in readline_up_char()
191 if (rs->hist_entry >= 0) { in readline_up_char()
193 rs->history[rs->hist_entry]); in readline_up_char()
200 if (rs->hist_entry == -1) in readline_down_char()
202 if (rs->hist_entry < READLINE_MAX_CMDS - 1 && in readline_down_char()
203 rs->history[++rs->hist_entry] != NULL) { in readline_down_char()
205 rs->history[rs->hist_entry]); in readline_down_char()
[all …]
Dreadline.h26 int hist_entry; member