Home
last modified time | relevance | path

Searched refs:menu (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/Linux-v5.4/scripts/kconfig/
Dmenu.c15 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()
52 memset(menu, 0, sizeof(*menu)); in menu_add_entry()
53 menu->sym = sym; in menu_add_entry()
54 menu->parent = current_menu; in menu_add_entry()
55 menu->file = current_file; in menu_add_entry()
[all …]
Dmconf.c276 static struct menu *current_menu;
283 static void conf(struct menu *menu, struct menu *active_menu);
284 static void conf_choice(struct menu *menu);
285 static void conf_string(struct menu *menu);
293 static void show_help(struct menu *menu);
359 struct menu **targets;
434 struct menu *targets[JUMP_NB]; in search_conf()
465 static void build_conf(struct menu *menu) in build_conf() argument
469 struct menu *child; in build_conf()
479 visible = menu_is_visible(menu); in build_conf()
[all …]
Dlkc_proto.h16 extern struct menu rootmenu;
18 bool menu_is_empty(struct menu *menu);
19 bool menu_is_visible(struct menu *menu);
20 bool menu_has_prompt(struct menu *menu);
21 const char * menu_get_prompt(struct menu *menu);
22 struct menu * menu_get_root_menu(struct menu *menu);
23 struct menu * menu_get_parent_menu(struct menu *menu);
24 bool menu_has_help(struct menu *menu);
25 const char * menu_get_help(struct menu *menu);
27 void menu_get_ext_help(struct menu *menu, struct gstr *help);
Dnconf.c258 static struct menu *current_menu;
278 static void conf(struct menu *menu);
279 static void conf_choice(struct menu *menu);
280 static void conf_string(struct menu *menu);
283 static void show_help(struct menu *menu);
288 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
289 static void handle_f1(int *key, struct menu *current_item);
290 static void handle_f2(int *key, struct menu *current_item);
291 static void handle_f3(int *key, struct menu *current_item);
292 static void handle_f4(int *key, struct menu *current_item);
[all …]
Dconf.c20 static void conf(struct menu *menu);
21 static void check_conf(struct menu *menu);
44 static struct menu *rootEntry;
46 static void print_help(struct menu *menu) in print_help() argument
50 menu_get_ext_help(menu, &help); in print_help()
129 static int conf_string(struct menu *menu) in conf_string() argument
131 struct symbol *sym = menu->sym; in conf_string()
135 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
148 print_help(menu); in conf_string()
162 static int conf_sym(struct menu *menu) in conf_sym() argument
[all …]
Dqconf.cc119 sym = menu->sym; in updateMenu()
120 prop = menu->prompt; in updateMenu()
121 prompt = qgettext(menu_get_prompt(menu)); in updateMenu()
129 if (sym && list->rootEntry == menu) in updateMenu()
220 if (!menu) in testUpdateMenu()
223 sym_calc_value(menu->sym); in testUpdateMenu()
224 if (menu->flags & MENU_CHANGED) { in testUpdateMenu()
226 menu->flags &= ~MENU_CHANGED; in testUpdateMenu()
227 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu()
239 if (menu) { in init()
[all …]
Dqconf.h52 ConfigItem* findConfigItem(struct menu *);
64 void setRootMenu(struct menu *menu);
72 void menuChanged(struct menu *menu);
73 void menuSelected(struct menu *menu);
75 void gotFocus(struct menu *);
103 bool menuSkip(struct menu *);
105 void updateMenuList(ConfigItem *parent, struct menu*);
106 void updateMenuList(ConfigList *parent, struct menu*);
117 struct menu *rootEntry;
126 ConfigItem(ConfigList *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem()
[all …]
Dgconf.c59 static struct menu *current; // current node for SINGLE view
60 static struct menu *browsed; // browsed node for SPLIT view
70 static void display_tree(struct menu *menu);
72 static void update_tree(struct menu *src, GtkTreeIter * dst);
73 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row);
74 static gchar **fill_row(struct menu *menu);
365 static void text_insert_help(struct menu *menu) in text_insert_help() argument
369 const char *prompt = menu_get_prompt(menu); in text_insert_help()
372 menu_get_ext_help(menu, &help); in text_insert_help()
785 struct menu *menu; in renderer_edited() local
[all …]
Dparser.y31 static struct menu *current_menu, *current_entry;
40 struct menu *menu; member
100 %type <menu> if_entry menu_entry choice_entry
337 menu: T_MENU prompt T_EOL
344 menu_entry: menu menu_option_list
592 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
594 struct symbol *sym = menu->sym; in print_symbol()
622 if (prop->menu != menu) in print_symbol()
675 if (menu->help) { in print_symbol()
676 int len = strlen(menu->help); in print_symbol()
[all …]
Dconfdata.c773 struct menu *menu; in conf_write_defconfig() local
783 menu = rootmenu.list; in conf_write_defconfig()
785 while (menu != NULL) in conf_write_defconfig()
787 sym = menu->sym; in conf_write_defconfig()
789 if (!menu_is_visible(menu)) in conf_write_defconfig()
825 if (menu->list != NULL) { in conf_write_defconfig()
826 menu = menu->list; in conf_write_defconfig()
828 else if (menu->next != NULL) { in conf_write_defconfig()
829 menu = menu->next; in conf_write_defconfig()
831 while ((menu = menu->parent)) { in conf_write_defconfig()
[all …]
Dnconf.gui.c253 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_ONEVALUE); in btn_dialog()
[all …]
Dexpr.h199 struct menu *menu; /* the menu the property are associated with member
221 struct menu { struct
223 struct menu *next; argument
226 struct menu *parent; argument
229 struct menu *list; argument
281 struct menu *target;
Dlkc.h68 void menu_warn(struct menu *menu, const char *fmt, ...);
69 struct menu *menu_add_menu(void);
80 void menu_finalize(struct menu *parent);
/Linux-v5.4/tools/perf/ui/browsers/
Dheader.c32 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 …]
/Linux-v5.4/scripts/kconfig/lxdialog/
Dmenubox.c92 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
178 WINDOW *dialog, *menu; in dialog_menu() local
221 menu = subwin(dialog, menu_height, menu_width, in dialog_menu()
223 keypad(menu, TRUE); in dialog_menu()
260 wnoutrefresh(menu); in dialog_menu()
266 wmove(menu, choice, item_x + 1); in dialog_menu()
267 wrefresh(menu); in dialog_menu()
270 key = wgetch(menu); in dialog_menu()
304 do_scroll(menu, &scroll, -1); in dialog_menu()
316 do_scroll(menu, &scroll, 1); in dialog_menu()
[all …]
/Linux-v5.4/tools/perf/ui/tui/
Dutil.c26 static int popup_menu__run(struct ui_browser *menu) in popup_menu__run() argument
30 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0) in popup_menu__run()
34 key = ui_browser__run(menu, 0); in popup_menu__run()
39 key = menu->index; in popup_menu__run()
54 ui_browser__hide(menu); in popup_menu__run()
60 struct ui_browser menu = { in ui__popup_menu() local
68 return popup_menu__run(&menu); in ui__popup_menu()
/Linux-v5.4/scripts/kconfig/tests/err_recursive_dep/
DKconfig55 # menu
57 menu "menu depending on its content"
/Linux-v5.4/drivers/cpuidle/
DKconfig2 menu "CPU Idle"
50 menu "ARM CPU Idle Drivers"
55 menu "MIPS CPU Idle Drivers"
60 menu "POWERPC CPU Idle Drivers"
/Linux-v5.4/Documentation/admin-guide/
Dsvga.rst34 ASK_VGA - Display a video mode menu upon startup (see below).
36 0..35 - Menu item number (when you have used the menu to view the list of
37 modes available on your adapter, you can specify the menu item you want
43 0x.... - Hexadecimal video mode ID (also displayed on the menu, see below
50 The ASK_VGA mode causes the kernel to offer a video mode menu upon
53 menu, if you press <SPACE> or wait 30 seconds, the kernel will boot up in
56 The menu looks like::
73 "0 0F00 80x25" means that the first menu item (the menu items are numbered
88 The modes displayed on the menu are partially sorted: The list starts with
112 by entering its mode directly if you know it even if it isn't shown on the menu.
[all …]
/Linux-v5.4/arch/unicore32/
DKconfig61 menu "System Type"
115 menu "Kernel Features"
136 menu "Boot options"
155 menu "Power management options"
179 menu "PKUnity NetBook-0916 Features"
/Linux-v5.4/Documentation/kbuild/
Dkconfig-language.rst52 A menu entry can have a number of attributes. Not all of them are
71 Every menu entry can have at most one prompt, which is used to display
79 Default values are not limited to the menu entry where they are
119 This defines a dependency for this menu entry. If multiple
121 are applied to all other options within this menu entry (which also
137 another symbol. The value of the current menu symbol is used as the
184 - limiting menu display: "visible if" <expr>
186 This attribute is only applicable to menu blocks, if the condition is
187 false, the menu block is not displayed to the user (the symbols
189 similar to a conditional "prompt" attribute for individual menu
[all …]
/Linux-v5.4/drivers/iio/frequency/
DKconfig10 menu "Frequency Synthesizers DDS/PLL"
12 menu "Clock Generator/Distribution"
30 menu "Phase-Locked Loop (PLL) frequency synthesizers"
/Linux-v5.4/arch/nds32/
DKconfig78 menu "System Type"
94 menu "Kernel Features"
98 menu "Power management options"
/Linux-v5.4/Documentation/sphinx-static/
Dtheme_overrides.css19 .wy-menu-vertical li.current a {
23 .wy-menu-vertical li.on a, .wy-menu-vertical li.current > a {
33 .wy-menu-vertical {
/Linux-v5.4/Documentation/media/uapi/v4l/
Dext-ctrls-image-process.rst30 ``V4L2_CID_LINK_FREQ (integer menu)``
49 ``V4L2_CID_TEST_PATTERN (menu)``
54 ``V4L2_CID_DEINTERLACING_MODE (menu)``
55 The video deinterlacing mode (such as Bob, Weave, ...). The menu items are

12345678910>>...15