Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dreadline.c187 for (idx = 0; idx < READLINE_MAX_CMDS; idx++) { in readline_up_char()
207 if (rs->hist_entry < READLINE_MAX_CMDS - 1 && in readline_down_char()
236 for (idx = 0; idx < READLINE_MAX_CMDS; idx++) { in readline_hist_add()
243 if (idx == READLINE_MAX_CMDS - 1) { in readline_hist_add()
250 rs->history[READLINE_MAX_CMDS - 1] = NULL; in readline_hist_add()
251 for (; idx < READLINE_MAX_CMDS; idx++) { in readline_hist_add()
259 if (idx == READLINE_MAX_CMDS) { in readline_hist_add()
264 rs->history[READLINE_MAX_CMDS - 1] = NULL; in readline_hist_add()
265 idx = READLINE_MAX_CMDS - 1; in readline_hist_add()
524 if (index >= READLINE_MAX_CMDS) { in readline_get_history()
[all …]
/openbmc/qemu/include/qemu/
H A Dreadline.h5 #define READLINE_MAX_CMDS 64 macro
28 char *history[READLINE_MAX_CMDS];