Lines Matching refs:READLINE_MAX_CMDS
184 for (idx = 0; idx < READLINE_MAX_CMDS; idx++) { in readline_up_char()
202 if (rs->hist_entry < READLINE_MAX_CMDS - 1 && in readline_down_char()
230 for (idx = 0; idx < READLINE_MAX_CMDS; idx++) { in readline_hist_add()
239 (READLINE_MAX_CMDS - idx + 1) * sizeof(char *)); in readline_hist_add()
240 rs->history[READLINE_MAX_CMDS - 1] = NULL; in readline_hist_add()
241 for (; idx < READLINE_MAX_CMDS; idx++) { in readline_hist_add()
248 if (idx == READLINE_MAX_CMDS) { in readline_hist_add()
252 (READLINE_MAX_CMDS - 1) * sizeof(char *)); in readline_hist_add()
253 rs->history[READLINE_MAX_CMDS - 1] = NULL; in readline_hist_add()
254 idx = READLINE_MAX_CMDS - 1; in readline_hist_add()
461 if (index >= READLINE_MAX_CMDS) in readline_get_history()