Searched refs:MAX_CMDLINE (Results 1 – 3 of 3) sorted by relevance
256 return (char *) HISTORY_BUF + MAX_CMDLINE * no; in get_history()263 grub_memmove ((char *) HISTORY_BUF + MAX_CMDLINE * (no + 1), in add_history()264 (char *) HISTORY_BUF + MAX_CMDLINE * no, in add_history()265 MAX_CMDLINE * (num_history - no)); in add_history()266 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline); in add_history()545 if (maxlen > MAX_CMDLINE) in real_get_cmdline()547 maxlen = MAX_CMDLINE; in real_get_cmdline()548 if (llen >= MAX_CMDLINE) in real_get_cmdline()550 llen = MAX_CMDLINE - 1; in real_get_cmdline()551 cmdline[MAX_CMDLINE] = 0; in real_get_cmdline()[all …]
55 #define MAX_CMDLINE 1600 macro106 #define CMDLINE_BUFLEN MAX_CMDLINE110 #define KILL_BUFLEN MAX_CMDLINE115 #define HISTORY_BUFLEN (MAX_CMDLINE * HISTORY_SIZE)119 #define COMPLETION_BUFLEN MAX_CMDLINE123 #define UNIQUE_BUFLEN MAX_CMDLINE
7058 (MAX_CMDLINE): Moved near the beginning of the file.7060 (CMDLINE_BUFLEN): Set to MAX_CMDLINE.