Lines Matching refs:READLINE_MAX_CMDS
183 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()
460 if (index >= READLINE_MAX_CMDS) in readline_get_history()