Home
last modified time | relevance | path

Searched refs:choice (Results 1 – 25 of 185) sorted by relevance

12345678

/linux/scripts/kconfig/lxdialog/
H A Dchecklist.c18 static void print_item(WINDOW * win, int choice, int selected) in print_item() argument
28 wmove(win, choice, 0); in print_item()
32 wmove(win, choice, check_x); in print_item()
39 mvwaddch(win, choice, item_x, list_item[0]); in print_item()
43 wmove(win, choice, check_x + 1); in print_item()
52 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument
72 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
114 choice = item_n(); in dialog_checklist()
116 choice = item_n(); in dialog_checklist()
[all …]
H A Dmenubox.c81 #define print_item(index, choice, selected) \ argument
84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
168 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
229 choice = item_n(); in dialog_menu()
232 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu()
235 choice = choice - scroll; in dialog_menu()
239 if ((choice >= max_choice)) { in dialog_menu()
240 if (choice >= item_count() - max_choice / 2) in dialog_menu()
243 scroll = first_item = choice - max_choice / 2; in dialog_menu()
244 choice = choice - scroll; in dialog_menu()
[all …]
/linux/scripts/kconfig/
H A Dsymbol.c93 * sym_get_choice_menu - get the parent choice menu if present
97 * Return: a choice menu if this function is called against a choice member.
105 * and assume it resides inside a choice block. in sym_get_choice_menu()
304 * Find the default symbol for a choice. in sym_calc_choice() argument
305 * First try the default values for the choice symbol in sym_calc_choice()
306 * Next locate the first visible choice value in sym_calc_choice()
309 struct symbol *sym_choice_default(struct menu *choice) in sym_calc_choice()
316 for_all_defaults(choice->sym, prop) { in sym_calc_choice()
326 menu_for_each_sub_entry(menu, choice) in sym_calc_choice()
272 sym_choice_default(struct menu * choice) sym_choice_default() argument
604 choice_set_value(struct menu * choice,struct symbol * sym) choice_set_value() argument
643 struct menu *choice; sym_toggle_tristate_value() local
1115 struct menu *choice; sym_check_print_recursive() local
1261 sym_check_choice_deps(struct symbol * choice) sym_check_choice_deps() argument
1309 struct menu *choice; sym_check_deps() local
[all...]
H A Dconfdata.c486 struct menu *choice; in conf_read_simple()
553 * If this is a choice member, give it the highest priority. in conf_read_simple()
557 choice = sym_get_choice_menu(sym); in conf_read_simple()
558 if (choice) in conf_read_simple()
559 list_move(&sym->choice_link, &choice->choice_members); in conf_read_simple()
853 struct menu *choice; in conf_write_defconfig()
875 /* Skip choice values that are equal to the default */ in conf_write_defconfig()
876 choice = sym_get_choice_menu(sym); in conf_write_defconfig()
877 if (choice) { in conf_write_defconfig()
880 ds = sym_choice_default(choice); in conf_write_defconfig()
480 struct menu *choice; conf_read_simple() local
847 struct menu *choice; conf_write_defconfig() local
[all...]
H A Dlkc.h110 struct symbol *sym_choice_default(struct menu *choice);
111 struct symbol *sym_calc_choice(struct menu *choice);
124 /* A choice is a symbol with no name */ in sym_is_choice()
H A Dconf.c118 * randomize_choice_values - randomize choice block
120 * @choice: menu entry for the choice
122 static void randomize_choice_values(struct menu *choice) in randomize_choice_values() argument
133 menu_for_each_sub_entry(menu, choice) { in randomize_choice_values()
143 menu_for_each_sub_entry(menu, choice) { in randomize_choice_values()
158 &choice->choice_members); in randomize_choice_values()
486 /* Nothing to ask if none of the choice values is visible. */ in conf_choice()
/linux/include/linux/netfilter/
H A Dnf_conntrack_h323_types.h29 } choice; member
52 } choice; member
71 } choice; member
93 } choice; member
118 } choice; member
129 } choice; member
168 } choice; member
193 } choice; member
217 } choice; member
382 } choice; member
[all …]
/linux/scripts/kconfig/tests/choice/
H A Doldask0_expected_stdout1 boolean choice
2 1. choice 0 (BOOL_CHOICE0) (NEW)
3 > 2. choice 1 (BOOL_CHOICE1) (NEW)
4 choice[1-2?]:
H A DKconfig3 choice
4 prompt "boolean choice"
8 bool "choice 0"
11 bool "choice 1"
/linux/tools/testing/selftests/coredump/
H A Dcoredump_socket_protocol_test.c1777 struct stream_choice *choice) in check_stream_choice() argument
1907 ASSERT_EQ(read_nointr(pipefds[0], choice, sizeof(*choice)), in check_stream_choice()
1908 sizeof(*choice)); in check_stream_choice()
1921 struct stream_choice choice = {}; in TEST_F() local
1923 check_stream_choice(_metadata, self, false, &choice); in TEST_F()
1925 ASSERT_LT(choice.vm_size, (ssize_t)SPARSE_STREAM_THRESHOLD); in TEST_F()
1926 ASSERT_FALSE(choice.sparse); in TEST_F()
1927 ASSERT_GT(choice.received, 0); in TEST_F()
1933 struct stream_choice choice = {}; in TEST_F() local
1935 check_stream_choice(_metadata, self, true, &choice); in TEST_F()
[all …]
/linux/tools/perf/ui/browsers/
H A Dres_sample.c36 int choice; in res_sample_browse() local
59 choice = ui__popup_menu(num_res, names, NULL); in res_sample_browse()
64 if (choice < 0 || choice >= num_res) in res_sample_browse()
66 r = &res_samples[choice]; in res_sample_browse()
H A Dscripts.c168 int i, num, choice; in find_scripts()
208 choice = ui__popup_menu(num + max_std, (char * const *)names, NULL); in find_scripts()
209 if (choice < 0) { in find_scripts()
213 if (choice == custom_perf) { in find_scripts()
223 } else if (choice < num + max_std) { in find_scripts()
224 strcpy(script_name, paths[choice]); in find_scripts()
226 *custom = choice >= max_std; in find_scripts()
262 int i, num, choice; list_scripts() local
/linux/drivers/accessibility/speakup/
H A DKconfig38 the module can be loaded. See the decpc choice below
57 help on the Speakup choice above for more info.
66 help on the Speakup choice above for more info.
74 help on the Speakup choice above for more info.
82 Speakup choice above for more info.
90 help on the Speakup choice above for more info.
99 help on the Speakup choice above for more info.
108 configuration help on the Speakup choice above for more
120 choice above for more info.
142 configuration help on the Speakup choice above for more
[all …]
/linux/scripts/kconfig/tests/choice_randomize2/
H A DKconfig1 choice
10 choice
25 choice
/linux/scripts/kconfig/tests/new_choice_with_dep/
H A Dexpected_stdout5 choice[1-2?]:
10 choice[1-3?]:
H A DKconfig8 choice
24 choice
/linux/scripts/kconfig/tests/choice_randomize/
H A DKconfig1 choice
12 choice
/linux/net/netfilter/
H A Dnf_conntrack_h323_main.c182 if (taddr->choice != eH245_TransportAddress_unicastAddress) in get_h245_addr()
185 switch (taddr->unicastAddress.choice) { in get_h245_addr()
374 if (olc->forwardLogicalChannelParameters.multiplexParameters.choice == in process_olc()
392 choice == in process_olc()
407 olc->forwardLogicalChannelParameters.dataType.choice == in process_olc()
410 choice == eDataApplicationCapability_application_t120 && in process_olc()
412 t120.choice == eDataProtocolCapability_separateLANStack && in process_olc()
413 olc->separateStack.networkAddress.choice == in process_olc()
440 choice == in process_olca()
455 (olca->forwardMultiplexAckParameters.choice == in process_olca()
[all …]
/linux/scripts/kconfig/tests/auto_submenu/
H A Dexpected_stdout5 choice
8 choice[1-2?]:
H A DKconfig28 choice
29 prompt "choice"
/linux/arch/mips/lantiq/
H A DKconfig9 choice
32 choice
/linux/arch/csky/
H A DKconfig190 choice
217 choice
232 choice
246 choice
/linux/arch/mips/bcm63xx/boards/
H A DKconfig2 choice
/linux/scripts/kconfig/tests/no_write_if_dep_unmet/
H A DKconfig6 choice
/linux/arch/sh/boards/mach-migor/
H A DKconfig4 choice

12345678