Home
last modified time | relevance | path

Searched refs:cmdnames (Results 1 – 7 of 7) sorted by relevance

/tools/lib/subcmd/
A Dhelp.h8 struct cmdnames { struct
24 struct cmdnames *main_cmds, argument
25 struct cmdnames *other_cmds);
26 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len);
27 void clean_cmdnames(struct cmdnames *cmds);
29 void uniq(struct cmdnames *cmds);
31 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
32 int is_in_cmdlist(struct cmdnames *c, const char *s);
33 void list_commands(const char *title, struct cmdnames *main_cmds,
34 struct cmdnames *other_cmds);
A Dhelp.c17 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) in add_cmdname()
31 void clean_cmdnames(struct cmdnames *cmds) in clean_cmdnames()
49 void uniq(struct cmdnames *cmds) in uniq()
73 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) in exclude_cmds()
130 static void pretty_print_string_list(struct cmdnames *cmds, int longest) in pretty_print_string_list()
181 static void list_commands_in_dir(struct cmdnames *cmds, in list_commands_in_dir()
219 struct cmdnames *main_cmds, in load_command_list()
220 struct cmdnames *other_cmds) in load_command_list()
255 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands()
256 struct cmdnames *other_cmds) in list_commands()
[all …]
/tools/perf/tests/
A Dsubcmd-help.c9 struct cmdnames cmds = {}; in test__load_cmdnames()
26 struct cmdnames cmds = {}; in test__uniq_cmdnames()
49 struct cmdnames cmds1 = {}; in test__exclude_cmdnames()
50 struct cmdnames cmds2 = {}; in test__exclude_cmdnames()
/tools/perf/util/
A Dhelp-unknown-cmd.c32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) in add_cmd_list()
55 const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds) in help_unknown_cmd()
58 struct cmdnames other_cmds; in help_unknown_cmd()
/tools/perf/
A Dbuiltin.h16 struct cmdnames;
19 const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds);
A Dbuiltin-help.c300 static struct cmdnames main_cmds, other_cmds;
A Dperf.c559 struct cmdnames main_cmds = {}; in main()

Completed in 9 milliseconds