Lines Matching refs:nr_options

2337 	int nr_options = 0, choice = -1, ret = -1;  in switch_data_file()  local
2370 options[nr_options] = strdup(name); in switch_data_file()
2371 if (!options[nr_options]) in switch_data_file()
2374 abs_path[nr_options] = strdup(path); in switch_data_file()
2375 if (!abs_path[nr_options]) { in switch_data_file()
2376 zfree(&options[nr_options]); in switch_data_file()
2382 nr_options++; in switch_data_file()
2387 if (nr_options >= 32) { in switch_data_file()
2395 if (nr_options) { in switch_data_file()
2396 choice = ui__popup_menu(nr_options, options, NULL); in switch_data_file()
2397 if (choice < nr_options && choice >= 0) { in switch_data_file()
2410 free_popup_options(options, nr_options); in switch_data_file()
2411 free_popup_options(abs_path, nr_options); in switch_data_file()
2978 int nr_options = 0; in evsel__hists_browse() local
3059 choice = nr_options = 0; in evsel__hists_browse()
3318 nr_options += add_annotate_opt(browser, in evsel__hists_browse()
3319 &actions[nr_options], in evsel__hists_browse()
3320 &options[nr_options], in evsel__hists_browse()
3324 nr_options += add_annotate_opt(browser, in evsel__hists_browse()
3325 &actions[nr_options], in evsel__hists_browse()
3326 &options[nr_options], in evsel__hists_browse()
3330 nr_options += add_annotate_opt(browser, in evsel__hists_browse()
3331 &actions[nr_options], in evsel__hists_browse()
3332 &options[nr_options], in evsel__hists_browse()
3337 nr_options += add_annotate_type_opt(browser, in evsel__hists_browse()
3338 &actions[nr_options], in evsel__hists_browse()
3339 &options[nr_options], in evsel__hists_browse()
3341 nr_options += add_thread_opt(browser, &actions[nr_options], in evsel__hists_browse()
3342 &options[nr_options], thread); in evsel__hists_browse()
3343 nr_options += add_dso_opt(browser, &actions[nr_options], in evsel__hists_browse()
3344 &options[nr_options], map); in evsel__hists_browse()
3345 nr_options += add_callchain_toggle_opt(browser, &actions[nr_options], &options[nr_options]); in evsel__hists_browse()
3346 nr_options += add_map_opt(browser, &actions[nr_options], in evsel__hists_browse()
3347 &options[nr_options], in evsel__hists_browse()
3350 nr_options += add_socket_opt(browser, &actions[nr_options], in evsel__hists_browse()
3351 &options[nr_options], in evsel__hists_browse()
3359 nr_options += add_script_opt(browser, in evsel__hists_browse()
3360 &actions[nr_options], in evsel__hists_browse()
3361 &options[nr_options], in evsel__hists_browse()
3374 nr_options += add_script_opt(browser, in evsel__hists_browse()
3375 &actions[nr_options], in evsel__hists_browse()
3376 &options[nr_options], in evsel__hists_browse()
3381 nr_options += add_script_opt(browser, &actions[nr_options], in evsel__hists_browse()
3382 &options[nr_options], NULL, NULL, evsel); in evsel__hists_browse()
3383 nr_options += add_res_sample_opt(browser, &actions[nr_options], in evsel__hists_browse()
3384 &options[nr_options], in evsel__hists_browse()
3387 nr_options += add_res_sample_opt(browser, &actions[nr_options], in evsel__hists_browse()
3388 &options[nr_options], in evsel__hists_browse()
3391 nr_options += add_res_sample_opt(browser, &actions[nr_options], in evsel__hists_browse()
3392 &options[nr_options], in evsel__hists_browse()
3395 nr_options += add_switch_opt(browser, &actions[nr_options], in evsel__hists_browse()
3396 &options[nr_options]); in evsel__hists_browse()
3398 nr_options += add_exit_opt(browser, &actions[nr_options], in evsel__hists_browse()
3399 &options[nr_options]); in evsel__hists_browse()
3404 choice = ui__popup_menu(nr_options, options, &key); in evsel__hists_browse()
3408 if (choice == nr_options) in evsel__hists_browse()