| /scripts/kconfig/lxdialog/ |
| D | checklist.c | 18 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 …]
|
| D | menubox.c | 81 #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 …]
|
| /scripts/kconfig/tests/choice/ |
| D | oldask0_expected_stdout | 1 boolean choice 2 1. choice 0 (BOOL_CHOICE0) (NEW) 3 > 2. choice 1 (BOOL_CHOICE1) (NEW) 4 choice[1-2?]:
|
| D | Kconfig | 3 choice 4 prompt "boolean choice" 8 bool "choice 0" 11 bool "choice 1"
|
| /scripts/kconfig/tests/choice_randomize2/ |
| D | Kconfig | 1 choice 10 choice 25 choice
|
| /scripts/kconfig/ |
| D | symbol.c | 251 struct symbol *sym_choice_default(struct menu *choice) in sym_choice_default() argument 258 for_all_defaults(choice->sym, prop) { in sym_choice_default() 268 menu_for_each_sub_entry(menu, choice) in sym_choice_default() 283 struct symbol *sym_calc_choice(struct menu *choice) in sym_calc_choice() argument 290 list_for_each_entry(sym, &choice->choice_members, choice_link) { in sym_calc_choice() 307 res = sym_choice_default(choice); in sym_calc_choice() 314 menu_for_each_sub_entry(menu, choice) { in sym_calc_choice() 330 list_for_each_entry_reverse(sym, &choice->choice_members, in sym_calc_choice() 340 menu_for_each_sub_entry(menu, choice) { in sym_calc_choice() 570 void choice_set_value(struct menu *choice, struct symbol *sym) in choice_set_value() argument [all …]
|
| D | lkc.h | 107 struct symbol *sym_choice_default(struct menu *choice); 108 struct symbol *sym_calc_choice(struct menu *choice);
|
| D | confdata.c | 408 struct menu *choice; in conf_read_simple() local 479 choice = sym_get_choice_menu(sym); in conf_read_simple() 480 if (choice) in conf_read_simple() 481 list_move(&sym->choice_link, &choice->choice_members); in conf_read_simple() 771 struct menu *choice; in conf_write_defconfig() local 790 choice = sym_get_choice_menu(sym); in conf_write_defconfig() 791 if (choice) { in conf_write_defconfig() 794 ds = sym_choice_default(choice); in conf_write_defconfig()
|
| D | lkc_proto.h | 31 void choice_set_value(struct menu *choice, struct symbol *sym);
|
| D | conf.c | 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()
|
| D | menu.c | 256 struct menu *choice = sym_get_choice_menu(sym2); in sym_check_prop() local 258 if (!choice || choice->sym != sym) in sym_check_prop()
|
| D | parser.y | 246 choice: T_CHOICE T_EOL 257 choice_entry: choice choice_option_list
|
| /scripts/kconfig/tests/new_choice_with_dep/ |
| D | expected_stdout | 5 choice[1-2?]: 10 choice[1-3?]:
|
| D | Kconfig | 8 choice 24 choice
|
| /scripts/kconfig/tests/choice_randomize/ |
| D | Kconfig | 1 choice 12 choice
|
| /scripts/kconfig/tests/auto_submenu/ |
| D | expected_stdout | 5 choice 8 choice[1-2?]:
|
| D | Kconfig | 28 choice 29 prompt "choice" choice
|
| /scripts/kconfig/tests/no_write_if_dep_unmet/ |
| D | Kconfig | 6 choice
|