Lines Matching refs:READLINE_MAX_CMDS
187 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()
249 (READLINE_MAX_CMDS - (idx + 1)) * sizeof(char *)); 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()
263 (READLINE_MAX_CMDS - 1) * sizeof(char *)); 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()
551 if (index >= READLINE_MAX_CMDS) { in readline_get_history()
564 for (i = 0; i < READLINE_MAX_CMDS; i++) { in readline_free()