Searched refs:longest (Results 1 – 5 of 5) sorted by relevance
/tools/lib/subcmd/ |
D | help.c | 116 static void pretty_print_string_list(struct cmdnames *cmds, int longest) in pretty_print_string_list() argument 119 int space = longest + 1; /* min 1 SP between words */ in pretty_print_string_list() 244 unsigned int i, longest = 0; in list_commands() local 247 if (longest < main_cmds->names[i]->len) in list_commands() 248 longest = main_cmds->names[i]->len; in list_commands() 250 if (longest < other_cmds->names[i]->len) in list_commands() 251 longest = other_cmds->names[i]->len; in list_commands() 259 pretty_print_string_list(main_cmds, longest); in list_commands() 269 pretty_print_string_list(other_cmds, longest); in list_commands()
|
/tools/objtool/ |
D | objtool.c | 77 unsigned int i, longest = 0; in cmd_usage() local 82 if (longest < strlen(objtool_cmds[i].name)) in cmd_usage() 83 longest = strlen(objtool_cmds[i].name); in cmd_usage() 88 printf(" %-*s ", longest, objtool_cmds[i].name); in cmd_usage()
|
/tools/perf/ |
D | builtin-help.c | 302 unsigned int i, longest = 0; in list_common_cmds_help() local 305 if (longest < strlen(common_cmds[i].name)) in list_common_cmds_help() 306 longest = strlen(common_cmds[i].name); in list_common_cmds_help() 311 printf(" %-*s ", longest, common_cmds[i].name); in list_common_cmds_help()
|
/tools/perf/util/ |
D | parse-events.c | 429 int n, longest = -1; in parse_aliases() local 434 if (n > longest && !strncasecmp(str, names[i][j], n)) in parse_aliases() 435 longest = n; in parse_aliases() 437 if (longest > 0) in parse_aliases()
|
/tools/lib/traceevent/ |
D | event-parse.c | 4664 int longest = 1; in print_ip6c_addr() local 4692 if (zerolength[i] > longest) { in print_ip6c_addr() 4693 longest = zerolength[i]; in print_ip6c_addr() 4697 if (longest == 1) /* don't compress a single 0 */ in print_ip6c_addr() 4707 i += longest - 1; in print_ip6c_addr()
|