Home | History | Annotate | Download | only in stage2

Lines Matching defs:builtin

59 /* Find the builtin whose command name is COMMAND and return the
61 struct builtin *
66 struct builtin **builtin;
76 /* Seek out the builtin whose command name is COMMAND. */
77 for (builtin = builtin_table; *builtin != 0; builtin++)
79 int ret = grub_strcmp (command, (*builtin)->name);
83 /* Find the builtin for COMMAND. */
85 return *builtin;
113 /* Initialize the data for the builtin commands. */
135 struct builtin *builtin;
150 /* Find a builtin. */
151 builtin = find_command (heap);
152 if (! builtin)
155 /* If BUILTIN cannot be run in the command-line, skip it. */
156 if (! (builtin->flags & BUILTIN_CMDLINE))
170 /* Run BUILTIN->FUNC. */
172 (builtin->func) (arg, BUILTIN_CMDLINE);
193 struct builtin *builtin;
231 /* Find a builtin. */
232 builtin = find_command (heap);
233 if (! builtin)
239 if (! (builtin->flags & BUILTIN_NO_ECHO))
242 /* If BUILTIN cannot be run in the command-line, skip it. */
243 if (! (builtin->flags & BUILTIN_CMDLINE))
253 /* Run BUILTIN->FUNC. */
255 (builtin->func) (arg, BUILTIN_SCRIPT);