Home
last modified time | relevance | path

Searched refs:MAX_CMDLINE (Results 1 – 3 of 3) sorted by relevance

/external/grub/stage2/
Dchar_io.c256 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 …]
Dshared.h55 #define MAX_CMDLINE 1600 macro
106 #define CMDLINE_BUFLEN MAX_CMDLINE
110 #define KILL_BUFLEN MAX_CMDLINE
115 #define HISTORY_BUFLEN (MAX_CMDLINE * HISTORY_SIZE)
119 #define COMPLETION_BUFLEN MAX_CMDLINE
123 #define UNIQUE_BUFLEN MAX_CMDLINE
/external/grub/
DChangeLog7058 (MAX_CMDLINE): Moved near the beginning of the file.
7060 (CMDLINE_BUFLEN): Set to MAX_CMDLINE.