Lines Matching refs:other_cmds
159 struct cmdnames *other_cmds) in load_command_list() argument
178 list_commands_in_dir(other_cmds, path, prefix); in load_command_list()
186 qsort(other_cmds->names, other_cmds->cnt, in load_command_list()
187 sizeof(*other_cmds->names), cmdname_compare); in load_command_list()
188 uniq(other_cmds); in load_command_list()
190 exclude_cmds(other_cmds, main_cmds); in load_command_list()
194 struct cmdnames *other_cmds) in list_commands() argument
201 for (i = 0; i < other_cmds->cnt; i++) in list_commands()
202 if (longest < other_cmds->names[i]->len) in list_commands()
203 longest = other_cmds->names[i]->len; in list_commands()
215 if (other_cmds->cnt) { in list_commands()
220 pretty_print_string_list(other_cmds, longest); in list_commands()
274 struct cmdnames main_cmds, other_cmds; in help_unknown_cmd() local
277 memset(&other_cmds, 0, sizeof(main_cmds)); in help_unknown_cmd()
282 load_command_list("perf-", &main_cmds, &other_cmds); in help_unknown_cmd()
285 add_cmd_list(&main_cmds, &other_cmds); in help_unknown_cmd()