Lines Matching defs:command
31 static struct mi_cmd **lookup_table (const char *command);
171 /* Pointer to the mi command table (built at run time) */
175 /* A prime large enough to accomodate the entire command table */
183 mi_lookup (const char *command)
185 return *lookup_table (command);
199 lookup_table (const char *command)
204 for (chp = command; *chp; chp++)
219 if (strcmp (command, (*entry)->name) == 0)
234 struct mi_cmd *command;
239 for (command = commands; command->name != 0; command++)
241 struct mi_cmd **entry = lookup_table (command->name);
244 "command `%s' appears to be duplicated",
245 command->name);
246 *entry = command;
250 command->name, stats.rehash - nr_rehash);