/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | menu.c | 15 struct menu rootmenu; 16 static struct menu **last_entry_ptr; 21 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument 25 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn() 49 struct menu *menu; in menu_add_entry() local 51 menu = xmalloc(sizeof(*menu)); in menu_add_entry() 171 struct menu *menu = current_entry; menu_add_prompt() local 308 struct menu *menu, *last_menu; menu_finalize() local 615 menu_has_prompt(struct menu *menu) menu_has_prompt() argument 627 menu_is_empty(struct menu *menu) menu_is_empty() argument 638 menu_is_visible(struct menu *menu) menu_is_visible() argument 676 menu_get_prompt(struct menu *menu) menu_get_prompt() argument 685 menu_get_root_menu(struct menu *menu) menu_get_root_menu() argument 690 menu_get_parent_menu(struct menu *menu) menu_get_parent_menu() argument 702 menu_has_help(struct menu *menu) menu_has_help() argument 707 menu_get_help(struct menu *menu) menu_get_help() argument 715 get_def_str(struct gstr *r, struct menu *menu) get_def_str() argument 734 struct menu *submenu[8], *menu, *location = NULL; get_prompt_str() local 886 menu_get_ext_help(struct menu *menu, struct gstr *help) menu_get_ext_help() argument [all...] |
H A D | nconf.c | 26 "o Local help: To get help related to the current menu entry, use any\n" 62 "Go back to parent menu <Left> <Esc> <F5>\n" 66 "Start incremental, case-insensitive search for STRING in menu entries,\n" 72 "Exit menu search mode </> <Esc>\n" 119 "Single menu mode\n" 121 "If you prefer to have all of the menu entries listed in a single menu,\n" 128 "is already unfolded. Folded menu entries will be designated by a\n" 141 "Exit a submenu to its parent menu with <Esc> or <Left>.\n" 144 "To search for menu entrie 463 process_special_keys(int *key, struct menu *menu) process_special_keys() argument 525 item_make(struct menu *menu, char tag, const char *fmt, ...) item_make() argument 736 build_conf(struct menu *menu) build_conf() argument 1068 conf(struct menu *menu) conf() argument 1218 show_help(struct menu *menu) show_help() argument 1231 conf_choice(struct menu *menu) conf_choice() argument 1348 conf_string(struct menu *menu) conf_string() argument [all...] |
H A D | mconf.c | 5 * Introduced single menu mode (show all sub-menus in one large tree). 60 "o To exit a menu use the cursor keys to highlight the <Exit> button\n" 149 "If you prefer to have all of the options listed in a single menu,\n" 176 "Arrow keys navigate the menu. " 250 "o The line 'Prompt:' shows the text used in the menu structure for\n" 255 " this symbol to be visible in the menu (selectable)\n" 256 "o The 'Location:' lines tells where in the menu structure this symbol\n" 259 " selectable menu item - and the current value is displayed inside\n" 263 " after exiting this new menu.\n" 277 static struct menu *current_men 466 build_conf(struct menu *menu) build_conf() argument 644 conf(struct menu *menu, struct menu *active_menu) conf() argument 785 show_help(struct menu *menu) show_help() argument 796 conf_choice(struct menu *menu) conf_choice() argument 857 conf_string(struct menu *menu) conf_string() argument [all...] |
H A D | lkc.h | 95 /* menu.c */ 97 void menu_warn(struct menu *menu, const char *fmt, ...); 98 struct menu *menu_add_menu(void); 109 void menu_finalize(struct menu *parent); 112 extern struct menu rootmenu; 114 bool menu_is_empty(struct menu *menu); 115 bool menu_is_visible(struct menu *menu); [all...] |
H A D | qconf.cc | 86 * update the displayed of a menu entry 104 sym = menu->sym; in updateMenu() 105 prop = menu->prompt; in updateMenu() 106 prompt = menu_get_prompt(menu); in updateMenu() 114 if (sym && list->rootEntry == menu) in updateMenu() 185 if (!menu) in testUpdateMenu() 188 sym_calc_value(menu->sym); in testUpdateMenu() 189 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() 190 /* the menu entry changed, so update all list items */ in testUpdateMenu() 191 menu in testUpdateMenu() 338 menuSkip(struct menu *menu) menuSkip() argument 381 findConfigItem(struct menu *menu) findConfigItem() argument 395 struct menu *menu; updateSelection() local 511 struct menu* menu; changeValue() local 544 setRootMenu(struct menu *menu) setRootMenu() argument 592 updateMenuList(ConfigItem *parent, struct menu* menu) updateMenuList() argument 657 updateMenuList(struct menu *menu) updateMenuList() argument 726 struct menu *menu; keyPressEvent() local 790 struct menu *menu; mouseReleaseEvent() local 843 struct menu *menu; mouseDoubleClickEvent() local 871 struct menu *menu = NULL; focusInEvent() local 1446 QMenu *menu = menuBar()->addMenu("&File"); ConfigMainWindow() local 1575 changeItens(struct menu *menu) changeItens() argument 1580 changeMenu(struct menu *menu) changeMenu() argument 1585 setMenuLink(struct menu *menu) setMenuLink() argument 1824 fixup_rootmenu(struct menu *menu) fixup_rootmenu() argument [all...] |
H A D | conf.c | 20 static void conf(struct menu *menu); 21 static void check_conf(struct menu *menu); 47 static struct menu *rootEntry; 49 static void print_help(struct menu *menu) in print_help() argument 53 menu_get_ext_help(menu, &help); in print_help() 132 static int conf_string(struct menu *menu) in conf_string() argument 165 conf_sym(struct menu *menu) conf_sym() argument 232 conf_choice(struct menu *menu) conf_choice() argument 347 conf(struct menu *menu) conf() argument 414 check_conf(struct menu *menu) check_conf() argument [all...] |
H A D | qconf.h | 48 ConfigItem* findConfigItem(struct menu *); 66 void setRootMenu(struct menu *menu); 77 void menuChanged(struct menu *menu); 78 void menuSelected(struct menu *menu); 79 void itemSelected(struct menu *menu); 81 void gotFocus(struct menu *); 163 struct menu *menu; global() member in ConfigItem 175 struct menu *menu; global() member in ConfigItemDelegate [all...] |
H A D | gconf.c | 60 static struct menu *current; // current node for SINGLE view 61 static struct menu *browsed; // browsed node for SPLIT view 71 static void display_tree(struct menu *menu); 73 static void update_tree(struct menu *src, GtkTreeIter * dst); 74 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row); 75 static gchar **fill_row(struct menu *menu); 366 static void text_insert_help(struct menu *men argument 786 struct menu *menu; renderer_edited() local 806 change_sym_value(struct menu *menu, gint col) change_sym_value() argument 846 toggle_sym_value(struct menu *menu) toggle_sym_value() argument 887 struct menu *menu; on_treeview2_button_press_event() local 944 struct menu *menu; on_treeview2_key_press_event() local 986 struct menu *menu; on_treeview2_cursor_changed() local 1005 struct menu *menu; on_treeview1_button_press_event() local 1037 fill_row(struct menu *menu) fill_row() argument 1162 set_node(GtkTreeIter * node, struct menu *menu, gchar ** row) set_node() argument 1198 place_node(struct menu *menu, char **row) place_node() argument 1224 struct menu *menu; gtktree_iter_find_node() local 1334 display_tree(struct menu *menu) display_tree() argument 1426 fixup_rootmenu(struct menu *menu) fixup_rootmenu() argument [all...] |
H A D | parser.y | 31 static struct menu *current_menu, *current_entry; 40 struct menu *menu; 99 %type <menu> if_entry menu_entry choice_entry 336 /* menu entry */ 338 menu: T_MENU T_WORD_QUOTE T_EOL label 342 printd(DEBUG_PARSE, "%s:%d:menu\n", zconf_curname(), zconf_lineno()); 345 menu_entry: menu menu_option_list 352 if (zconf_endtoken($1, "menu")) { 438 end: T_ENDMENU T_EOL { $$ = "menu"; } [all...] |
H A D | confdata.c | 754 struct menu *menu; in conf_write_defconfig() local 764 menu = rootmenu.list; in conf_write_defconfig() 766 while (menu != NULL) in conf_write_defconfig() 768 sym = menu->sym; in conf_write_defconfig() 770 if (!menu_is_visible(menu)) in conf_write_defconfig() 806 if (menu->list != NULL) { in conf_write_defconfig() 807 menu = menu->list; in conf_write_defconfig() 809 else if (menu in conf_write_defconfig() 828 struct menu *menu; conf_write() local [all...] |
H A D | nconf.gui.c | 253 MENU *menu; in btn_dialog() local 293 menu = new_menu(btns); in btn_dialog() 297 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog() 298 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog() 307 set_menu_win(menu, win); in btn_dialog() 308 set_menu_sub(menu, menu_win); in btn_dialog() 309 set_menu_format(menu, 1, btn_num); in btn_dialog() 310 menu_opts_off(menu, O_SHOWDESC); in btn_dialog() 311 menu_opts_off(menu, O_SHOWMATCH); in btn_dialog() 312 menu_opts_on(menu, O_ONEVALU in btn_dialog() [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | menu.c | 16 struct menu rootmenu; 17 static struct menu **last_entry_ptr; 22 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument 26 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn() 50 struct menu *menu; in menu_add_entry() local 52 menu = xmalloc(sizeof(*menu)); in menu_add_entry() 172 struct menu *menu = current_entry; menu_add_prompt() local 287 struct menu *menu, *last_menu; menu_finalize() local 594 menu_has_prompt(struct menu *menu) menu_has_prompt() argument 606 menu_is_empty(struct menu *menu) menu_is_empty() argument 617 menu_is_visible(struct menu *menu) menu_is_visible() argument 655 menu_get_prompt(struct menu *menu) menu_get_prompt() argument 664 menu_get_parent_menu(struct menu *menu) menu_get_parent_menu() argument 676 menu_has_help(struct menu *menu) menu_has_help() argument 681 menu_get_help(struct menu *menu) menu_get_help() argument 689 get_def_str(struct gstr *r, struct menu *menu) get_def_str() argument 713 struct menu *submenu[8], *menu, *location = NULL; get_prompt_str() local 854 menu_get_ext_help(struct menu *menu, struct gstr *help) menu_get_ext_help() argument [all...] |
H A D | nconf.c | 26 "o Local help: To get help related to the current menu entry, use any\n" 62 "Go back to parent menu <Left> <Esc> <F5>\n" 66 "Start incremental, case-insensitive search for STRING in menu entries,\n" 72 "Exit menu search mode </> <Esc>\n" 119 "Single menu mode\n" 121 "If you prefer to have all of the menu entries listed in a single menu,\n" 128 "is already unfolded. Folded menu entries will be designated by a\n" 141 "Exit a submenu to its parent menu with <Esc> or <Left>.\n" 144 "To search for menu entrie 469 process_special_keys(int *key, struct menu *menu) process_special_keys() argument 535 item_make(struct menu *menu, char tag, const char *fmt, ...) item_make() argument 808 build_conf(struct menu *menu) build_conf() argument 1139 conf(struct menu *menu) conf() argument 1144 selected_conf(struct menu *menu, struct menu *active_menu) selected_conf() argument 1307 show_help(struct menu *menu) show_help() argument 1320 conf_choice(struct menu *menu) conf_choice() argument 1439 conf_string(struct menu *menu) conf_string() argument [all...] |
H A D | mconf.c | 5 * Introduced single menu mode (show all sub-menus in one large tree). 60 "o To exit a menu use the cursor keys to highlight the <Exit> button\n" 149 "If you prefer to have all of the options listed in a single menu,\n" 182 "Arrow keys navigate the menu. " 256 "o The line 'Prompt:' shows the text used in the menu structure for\n" 261 " this symbol to be visible in the menu (selectable)\n" 262 "o The 'Location:' lines tells where in the menu structure this symbol\n" 265 " selectable menu item - and the current value is displayed inside\n" 269 " after exiting this new menu.\n" 283 static struct menu *current_men 370 show_help(struct menu *menu) show_help() argument 504 build_conf(struct menu *menu) build_conf() argument 682 conf_choice(struct menu *menu) conf_choice() argument 743 conf_string(struct menu *menu) conf_string() argument 837 conf(struct menu *menu, struct menu *active_menu) conf() argument [all...] |
H A D | lkc.h | 81 /* menu.c */ 83 void menu_warn(struct menu *menu, const char *fmt, ...); 84 struct menu *menu_add_menu(void); 92 void menu_finalize(struct menu *parent); 95 extern struct menu rootmenu; 97 bool menu_is_empty(struct menu *menu); 98 bool menu_is_visible(struct menu *menu); [all...] |
H A D | qconf.cc | 88 * update the displayed of a menu entry 106 sym = menu->sym; in updateMenu() 107 prop = menu->prompt; in updateMenu() 108 prompt = menu_get_prompt(menu); in updateMenu() 116 if (sym && list->rootEntry == menu) in updateMenu() 188 if (!menu) in testUpdateMenu() 191 sym_calc_value(menu->sym); in testUpdateMenu() 192 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() 193 /* the menu entry changed, so update all list items */ in testUpdateMenu() 194 menu in testUpdateMenu() 342 menuSkip(struct menu *menu) menuSkip() argument 385 findConfigItem(struct menu *menu) findConfigItem() argument 399 struct menu *menu; updateSelection() local 515 struct menu* menu; changeValue() local 548 setRootMenu(struct menu *menu) setRootMenu() argument 596 updateMenuList(ConfigItem *parent, struct menu* menu) updateMenuList() argument 661 updateMenuList(struct menu *menu) updateMenuList() argument 730 struct menu *menu; keyPressEvent() local 794 struct menu *menu; mouseReleaseEvent() local 847 struct menu *menu; mouseDoubleClickEvent() local 875 struct menu *menu = NULL; focusInEvent() local 1469 QMenu *menu = menuBar()->addMenu("&File"); ConfigMainWindow() local 1598 changeItens(struct menu *menu) changeItens() argument 1603 changeMenu(struct menu *menu) changeMenu() argument 1608 setMenuLink(struct menu *menu) setMenuLink() argument 1860 fixup_rootmenu(struct menu *menu) fixup_rootmenu() argument [all...] |
H A D | qconf.h | 48 ConfigItem* findConfigItem(struct menu *); 66 void setRootMenu(struct menu *menu); 77 void menuChanged(struct menu *menu); 78 void menuSelected(struct menu *menu); 79 void itemSelected(struct menu *menu); 81 void gotFocus(struct menu *); 163 struct menu *menu; global() member in ConfigItem 175 struct menu *menu; global() member in ConfigItemDelegate [all...] |
H A D | conf.c | 19 static void conf(struct menu *menu); 20 static void check_conf(struct menu *menu); 47 static struct menu *rootEntry; 49 static void print_help(struct menu *menu) in print_help() argument 53 menu_get_ext_help(menu, &help); in print_help() 349 static int conf_string(struct menu *menu) in conf_string() argument 382 conf_sym(struct menu *menu) conf_sym() argument 449 conf_choice(struct menu *menu) conf_choice() argument 564 conf(struct menu *menu) conf() argument 631 check_conf(struct menu *menu) check_conf() argument [all...] |
H A D | gconf.c | 56 static struct menu *current; // current node for SINGLE view 57 static struct menu *browsed; // browsed node for SPLIT view 67 static void display_tree(struct menu *menu); 69 static void update_tree(struct menu *src, GtkTreeIter * dst); 70 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row); 71 static gchar **fill_row(struct menu *menu); 362 static void text_insert_help(struct menu *men argument 779 struct menu *menu; renderer_edited() local 799 change_sym_value(struct menu *menu, gint col) change_sym_value() argument 839 toggle_sym_value(struct menu *menu) toggle_sym_value() argument 880 struct menu *menu; on_treeview2_button_press_event() local 937 struct menu *menu; on_treeview2_key_press_event() local 979 struct menu *menu; on_treeview2_cursor_changed() local 998 struct menu *menu; on_treeview1_button_press_event() local 1030 fill_row(struct menu *menu) fill_row() argument 1159 set_node(GtkTreeIter * node, struct menu *menu, gchar ** row) set_node() argument 1195 place_node(struct menu *menu, char **row) place_node() argument 1221 struct menu *menu; gtktree_iter_find_node() local 1331 display_tree(struct menu *menu) display_tree() argument 1423 fixup_rootmenu(struct menu *menu) fixup_rootmenu() argument [all...] |
H A D | parser.y | 32 struct menu *current_menu, *current_entry; 41 struct menu *menu; 97 %type <menu> if_entry menu_entry choice_entry 327 /* menu entry */ 329 menu: T_MENU T_WORD_QUOTE T_EOL label 333 printd(DEBUG_PARSE, "%s:%d:menu\n", zconf_curname(), zconf_lineno()); 336 menu_entry: menu menu_option_list 343 if (zconf_endtoken($1, "menu")) { 429 end: T_ENDMENU T_EOL { $$ = "menu"; } [all...] |
H A D | confdata.c | 841 struct menu *menu; in conf_write_defconfig() local 851 menu = rootmenu.list; in conf_write_defconfig() 853 while (menu != NULL) in conf_write_defconfig() 855 sym = menu->sym; in conf_write_defconfig() 857 if (!menu_is_visible(menu)) in conf_write_defconfig() 893 if (menu->list != NULL) { in conf_write_defconfig() 894 menu = menu->list; in conf_write_defconfig() 896 else if (menu in conf_write_defconfig() 915 struct menu *menu; conf_write() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | header.c | 32 static int list_menu__run(struct ui_browser *menu) in list_menu__run() argument 43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run() 47 key = ui_browser__run(menu, 0); in list_menu__run() 51 offset = (unsigned long)menu->priv; in list_menu__run() 53 menu->priv = (void *)offset; in list_menu__run() 56 offset = (unsigned long)menu->priv; in list_menu__run() 59 menu->priv = (void *)offset; in list_menu__run() 64 ui_browser__help_window(menu, help); in list_menu__run() 78 ui_browser__hide(menu); in list_menu__run() 84 struct ui_browser menu in ui__list_menu() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | header.c | 32 static int list_menu__run(struct ui_browser *menu) in list_menu__run() argument 43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run() 47 key = ui_browser__run(menu, 0); in list_menu__run() 51 offset = (unsigned long)menu->priv; in list_menu__run() 53 menu->priv = (void *)offset; in list_menu__run() 56 offset = (unsigned long)menu->priv; in list_menu__run() 59 menu->priv = (void *)offset; in list_menu__run() 64 ui_browser__help_window(menu, help); in list_menu__run() 78 ui_browser__hide(menu); in list_menu__run() 84 struct ui_browser menu in ui__list_menu() local [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/lxdialog/ |
H A D | menubox.c | 3 * menubox.c -- implements the menu box 17 * to the first position in the menu box. Now lxdialog is a bit 18 * smarter and works more like other menu systems (just have a look at 37 * middle of the menu box, not at the bottom. 51 * Print menu item 92 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 160 /* Scroll menu up */ in do_scroll() 169 * Display a menu for choosing among a number of options 178 WINDOW *dialog, *menu; in dialog_menu() local 220 /* create new window for the menu */ in dialog_menu() [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/lxdialog/ |
H A D | menubox.c | 3 * menubox.c -- implements the menu box 17 * to the first position in the menu box. Now lxdialog is a bit 18 * smarter and works more like other menu systems (just have a look at 37 * middle of the menu box, not at the bottom. 51 * Print menu item 84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 152 /* Scroll menu up */ in do_scroll() 161 * Display a menu for choosing among a number of options 170 WINDOW *dialog, *menu; in dialog_menu() local 212 /* create new window for the menu */ in dialog_menu() [all...] |