Home
last modified time | relevance | path

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

/external/qemu/
Dreadline.c183 for (idx = 0; idx < READLINE_MAX_CMDS; idx++) { in readline_up_char()
201 if (rs->hist_entry < READLINE_MAX_CMDS - 1 && in readline_down_char()
229 for (idx = 0; idx < READLINE_MAX_CMDS; idx++) { in readline_hist_add()
238 (READLINE_MAX_CMDS - idx + 1) * sizeof(char *)); in readline_hist_add()
239 rs->history[READLINE_MAX_CMDS - 1] = NULL; in readline_hist_add()
240 for (; idx < READLINE_MAX_CMDS; idx++) { in readline_hist_add()
247 if (idx == READLINE_MAX_CMDS) { in readline_hist_add()
251 (READLINE_MAX_CMDS - 1) * sizeof(char *)); in readline_hist_add()
252 rs->history[READLINE_MAX_CMDS - 1] = NULL; in readline_hist_add()
253 idx = READLINE_MAX_CMDS - 1; in readline_hist_add()
[all …]
Dreadline.h7 #define READLINE_MAX_CMDS 64 macro
25 char *history[READLINE_MAX_CMDS];