Searched refs:optstr (Results 1 – 6 of 6) sorted by relevance
| /tools/testing/selftests/bpf/ |
| A D | xdping.c | 93 const char *optstr = "c:I:NsS"; in main() local 106 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
|
| /tools/perf/ui/browsers/ |
| A D | hists.c | 2610 char **optstr, struct thread *thread) in add_thread_opt() argument 2622 ret = asprintf(optstr, "Zoom %s %s(%d) thread", in add_thread_opt() 2667 char **optstr, struct map *map) in add_dso_opt() argument 2719 if (asprintf(optstr, "Browse map details") < 0) in add_map_opt() 2810 struct popup_action *act, char **optstr, in add_script_opt() argument 2822 optstr++; in add_script_opt() 2838 struct popup_action *act, char **optstr, in add_res_sample_opt() argument 2870 struct popup_action *act, char **optstr) in add_switch_opt() argument 2891 struct popup_action *act, char **optstr) in add_exit_opt() argument 2893 if (asprintf(optstr, "Exit") < 0) in add_exit_opt() [all …]
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 58 static const char *const optstr[] = { variable 561 r = set_trace_opt(optstr[i], state->opt[i]); in restore_trace_opts() 564 optstr[i], bool2str(state->opt[i])); in restore_trace_opts() 567 optstr[i], TR_OPTIONS, in restore_trace_opts() 1334 state->opt[i] = get_trace_opt(allopt, optstr[i], in save_trace_opts() 1422 r = set_trace_opt(optstr[i], new[i]); in set_trace_opts() 1425 optstr[i], bool2str(new[i])); in set_trace_opts() 1430 printf("%s in %s was set to %s\n", optstr[i], in set_trace_opts() 2067 optstr[OPTIDX_FUNC_TR], in show_params() 2069 optstr[OPTIDX_DISP_GR], in show_params()
|
| /tools/lib/subcmd/ |
| A D | parse-options.c | 953 const char *optstr, bool short_opt) in parse_options_usage() argument 972 if (opts->short_name == *optstr) { in parse_options_usage() 982 if (strstarts(opts->long_name, optstr)) in parse_options_usage() 984 if (strstarts("no-", optstr) && in parse_options_usage() 985 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
|
| A D | parse-options.h | 215 const char *optstr,
|
| /tools/testing/selftests/mm/ |
| A D | mremap_test.c | 1034 const char *optstr = "t:p:"; in parse_args() local 1037 while ((opt = getopt(argc, argv, optstr)) != -1) { in parse_args()
|
Completed in 21 milliseconds