Lines Matching refs:builtin
61 /* Find the builtin whose command name is COMMAND and return the
63 struct builtin *
68 struct builtin **builtin;
78 /* Seek out the builtin whose command name is COMMAND. */
79 for (builtin = builtin_table; *builtin != 0; builtin++)
81 int ret = grub_strcmp (command, (*builtin)->name);
85 /* Find the builtin for COMMAND. */
87 return *builtin;
115 /* Initialize the data for the builtin commands. */
137 struct builtin *builtin;
152 /* Find a builtin. */
153 builtin = find_command (heap);
154 if (! builtin)
158 if (! (builtin->flags & BUILTIN_CMDLINE))
174 (builtin->func) (arg, BUILTIN_CMDLINE);
195 struct builtin *builtin;
208 builtin = find_command("verbose");
209 (builtin->func) ("on", BUILTIN_SCRIPT);
247 /* Find a builtin. */
248 builtin = find_command (heap);
249 if (! builtin)
255 if (! (builtin->flags & BUILTIN_NO_ECHO))
259 if (! (builtin->flags & BUILTIN_CMDLINE))
271 (builtin->func) (arg, BUILTIN_SCRIPT);