Lines Matching refs:other_cmds
164 struct cmdnames *other_cmds) in load_command_list() argument
183 list_commands_in_dir(other_cmds, path, prefix); in load_command_list()
191 qsort(other_cmds->names, other_cmds->cnt, in load_command_list()
192 sizeof(*other_cmds->names), cmdname_compare); in load_command_list()
193 uniq(other_cmds); in load_command_list()
195 exclude_cmds(other_cmds, main_cmds); in load_command_list()
199 struct cmdnames *other_cmds) in list_commands() argument
206 for (i = 0; i < other_cmds->cnt; i++) in list_commands()
207 if (longest < other_cmds->names[i]->len) in list_commands()
208 longest = other_cmds->names[i]->len; in list_commands()
220 if (other_cmds->cnt) { in list_commands()
225 pretty_print_string_list(other_cmds, longest); in list_commands()
279 struct cmdnames main_cmds, other_cmds; in help_unknown_cmd() local
282 memset(&other_cmds, 0, sizeof(main_cmds)); in help_unknown_cmd()
287 load_command_list("perf-", &main_cmds, &other_cmds); in help_unknown_cmd()
290 add_cmd_list(&main_cmds, &other_cmds); in help_unknown_cmd()