Searched refs:menu (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/scripts/kconfig/
H A Dinternal.h14 struct menu;
16 extern struct menu *current_menu, *current_entry;
H A Dmenu.c17 struct menu rootmenu;
18 static struct menu **last_entry_ptr;
20 void menu_warn(struct menu *menu, const char *fmt, ...) argument
24 fprintf(stderr, "%s:%d:warning: ", menu->filename, menu->lineno);
48 struct menu *menu; local
50 menu = xmalloc(sizeof(*menu));
172 struct menu *menu = current_entry; local
287 struct menu *menu, *last_menu; local
595 menu_has_prompt(struct menu *menu) argument
607 menu_is_empty(struct menu *menu) argument
618 menu_is_visible(struct menu *menu) argument
656 menu_get_prompt(struct menu *menu) argument
665 menu_get_parent_menu(struct menu *menu) argument
677 get_def_str(struct gstr *r, struct menu *menu) argument
701 struct menu *submenu[8], *menu, *location = NULL; local
781 struct menu *menu; local
843 menu_get_ext_help(struct menu *menu, struct gstr *help) argument
[all...]
H A Dqconf.h48 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; member in class:ConfigItem
175 struct menu *menu; member in class:ConfigItemDelegate
[all...]
H A Dnconf.c28 "o Local help: To get help related to the current menu entry, use any\n"
64 "Go back to parent menu <Left> <Esc> <F5>\n"
68 "Start incremental, case-insensitive search for STRING in menu entries,\n"
74 "Exit menu search mode </> <Esc>\n"
121 "Single menu mode\n"
123 "If you prefer to have all of the menu entries listed in a single menu,\n"
130 "is already unfolded. Folded menu entries will be designated by a\n"
143 "Exit a submenu to its parent menu with <Esc> or <Left>.\n"
146 "To search for menu entrie
470 process_special_keys(int *key, struct menu *menu) argument
536 item_make(struct menu *menu, char tag, const char *fmt, ...) argument
758 build_conf(struct menu *menu) argument
1089 conf(struct menu *menu) argument
1094 selected_conf(struct menu *menu, struct menu *active_menu) argument
1257 show_help(struct menu *menu) argument
1270 conf_choice(struct menu *menu) argument
1389 conf_string(struct menu *menu) argument
[all...]
H A Dlkc.h81 /* menu.c */
83 void menu_warn(struct menu *menu, const char *fmt, ...);
84 struct menu *menu_add_menu(void);
95 extern struct menu rootmenu;
97 bool menu_is_empty(struct menu *menu);
98 bool menu_is_visible(struct menu *menu);
99 bool menu_has_prompt(struct menu *men
[all...]
H A Dmconf.c5 * Introduced single menu mode (show all sub-menus in one large tree).
62 "o To exit a menu use the cursor keys to highlight the <Exit> button\n"
151 "If you prefer to have all of the options listed in a single menu,\n"
184 "Arrow keys navigate the menu. "
258 "o The line 'Prompt:' shows the text used in the menu structure for\n"
263 " this symbol to be visible in the menu (selectable)\n"
264 "o The 'Location:' lines tells where in the menu structure this symbol\n"
267 " selectable menu item - and the current value is displayed inside\n"
271 " after exiting this new menu.\n"
285 static struct menu *current_men
371 show_help(struct menu *menu) argument
453 build_conf(struct menu *menu) argument
631 conf_choice(struct menu *menu) argument
692 conf_string(struct menu *menu) argument
786 conf(struct menu *menu, struct menu *active_menu) argument
[all...]
H A Dmnconf-common.h9 struct menu *target;
H A Dqconf.cc88 * update the displayed of a menu entry
106 sym = menu->sym;
107 prop = menu->prompt;
108 prompt = menu_get_prompt(menu);
116 if (sym && list->rootEntry == menu)
188 if (!menu)
191 sym_calc_value(menu->sym);
192 if (menu->flags & MENU_CHANGED) {
193 /* the menu entry changed, so update all list items */
194 menu
342 menuSkip(struct menu *menu) argument
385 findConfigItem(struct menu *menu) argument
399 struct menu *menu; local
515 struct menu* menu; local
548 setRootMenu(struct menu *menu) argument
596 updateMenuList(ConfigItem *parent, struct menu* menu) argument
661 updateMenuList(struct menu *menu) argument
730 struct menu *menu; local
794 struct menu *menu; local
847 struct menu *menu; local
875 struct menu *menu = NULL; local
1469 QMenu *menu = menuBar()->addMenu("&File"); local
1598 changeItens(struct menu *menu) argument
1603 changeMenu(struct menu *menu) argument
1608 setMenuLink(struct menu *menu) argument
1860 fixup_rootmenu(struct menu *menu) argument
[all...]
H A Dparser.y31 struct menu *current_menu, *current_entry;
40 struct menu *menu;
96 %type <menu> if_entry menu_entry choice_entry
326 /* menu entry */
328 menu: T_MENU T_WORD_QUOTE T_EOL label
332 printd(DEBUG_PARSE, "%s:%d:menu\n", cur_filename, cur_lineno);
335 menu_entry: menu menu_option_list
342 if (zconf_endtoken($1, "menu")) {
428 end: T_ENDMENU T_EOL { $$ = "menu"; }
[all...]
H A Dconf.c20 static void conf(struct menu *menu);
21 static void check_conf(struct menu *menu);
48 static struct menu *rootEntry;
50 static void print_help(struct menu *menu) argument
54 menu_get_ext_help(menu, &help);
349 static int conf_string(struct menu *menu) argument
382 conf_sym(struct menu *menu) argument
449 conf_choice(struct menu *menu) argument
559 conf(struct menu *menu) argument
626 check_conf(struct menu *menu) argument
[all...]
H A Dgconf.c56 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; local
799 change_sym_value(struct menu *menu, gint col) argument
839 toggle_sym_value(struct menu *menu) argument
880 struct menu *menu; local
937 struct menu *menu; local
979 struct menu *menu; local
998 struct menu *menu; local
1030 fill_row(struct menu *menu) argument
1159 set_node(GtkTreeIter * node, struct menu *menu, gchar ** row) argument
1195 place_node(struct menu *menu, char **row) argument
1221 struct menu *menu; local
1331 display_tree(struct menu *menu) argument
1423 fixup_rootmenu(struct menu *menu) argument
[all...]
H A Dconfdata.c787 struct menu *menu; local
797 menu = rootmenu.list;
799 while (menu != NULL)
801 sym = menu->sym;
836 if (menu->list != NULL) {
837 menu = menu->list;
839 else if (menu->next != NULL) {
840 menu
858 struct menu *menu; local
[all...]
H A Dnconf.gui.c204 MENU *menu; local
244 menu = new_menu(btns);
248 set_menu_fore(menu, attr_dialog_menu_fore);
249 set_menu_back(menu, attr_dialog_menu_back);
258 set_menu_win(menu, win);
259 set_menu_sub(menu, menu_win);
260 set_menu_format(menu, 1, btn_num);
261 menu_opts_off(menu, O_SHOWDESC);
262 menu_opts_off(menu, O_SHOWMATCH);
263 menu_opts_on(menu, O_ONEVALU
[all...]
H A Dexpr.h175 P_MENU, /* prompt associated with a menu or menuconfig symbol */
190 struct menu *menu; /* the menu the property are associated with member in struct:property
207 * Represents a node in the menu tree, as seen in e.g. menuconfig (though used
208 * for all front ends). Each symbol, menu, etc. defined in the Kconfig files
212 struct menu { struct
213 /* The next menu node at the same level */
214 struct menu *next;
216 /* The parent menu nod
[all...]
H A Dnconf.h17 #include <menu.h>
H A Dsymbol.c159 if (prop->menu)
160 prop->menu->flags |= MENU_CHANGED;
1005 struct menu *menu = NULL; local
1029 /* for choice values find the menu entry (used below) */
1032 menu = prop->menu;
1033 if (prop->menu)
1043 menu->filename, menu
[all...]
H A Dstreamline_config.pl202 if (/^\s*(menu)?config\s+(\S+)\s*$/) {
260 # stop on "help" and keywords that end a menu entry
261 } elsif (/^\s*(---)?help(---)?\s*$/ || /^(comment|choice|menu)\b/) {
/linux-master/tools/perf/ui/browsers/
H A Dheader.c32 static int list_menu__run(struct ui_browser *menu) argument
43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0)
47 key = ui_browser__run(menu, 0);
51 offset = (unsigned long)menu->priv;
53 menu->priv = (void *)offset;
56 offset = (unsigned long)menu->priv;
59 menu->priv = (void *)offset;
64 ui_browser__help_window(menu, help);
78 ui_browser__hide(menu);
84 struct ui_browser menu local
[all...]
H A Dhists.c2976 "m Display context menu\n" \
3217 /* menu */
3406 struct evsel_menu *menu = container_of(browser, local
3438 menu->lost_events = true;
3450 menu->selection = evsel;
3453 static int perf_evsel_menu__run(struct evsel_menu *menu, argument
3458 struct evlist *evlist = menu->b.priv;
3464 if (ui_browser__show(&menu->b, title,
3469 key = ui_browser__run(&menu->b, delay_secs);
3476 if (!menu
3558 struct evsel_menu menu = { local
[all...]
/linux-master/drivers/cpuidle/governors/
H A DMakefile7 obj-$(CONFIG_CPU_IDLE_GOV_MENU) += menu.o
/linux-master/tools/perf/Documentation/
H A Dcat-texi.perl6 my @menu = ();
15 push @menu, $1;
33 @menu
36 for (@menu) {
39 print "\@end menu\n";
/linux-master/scripts/kconfig/lxdialog/
H A Dmenubox.c3 * 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 */
161 * Display a menu for choosing among a number of options
170 WINDOW *dialog, *menu; local
212 /* create new window for the menu */
[all...]
/linux-master/tools/perf/ui/tui/
H A Dutil.c26 static int popup_menu__run(struct ui_browser *menu, int *keyp) argument
30 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0)
34 key = ui_browser__run(menu, 0);
39 key = menu->index;
50 key = menu->nr_entries;
59 ui_browser__hide(menu);
65 struct ui_browser menu = { local
72 return popup_menu__run(&menu, keyp);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Drsc_dump.c67 void *menu; local
71 menu = MLX5_ADDR_OF(menu_resource_dump_response, data, menu);
72 rsc_dump->number_of_menu_items = MLX5_GET(resource_dump_menu_segment, menu,
292 mlx5_core_err(dev, "Resource dump: Failed to read menu, %d\n", err);
/linux-master/tools/perf/scripts/python/
H A Dexported-sql-viewer.py2290 menu = QMenu(self.view)
2294 menu.addAction(CreateAction(menu_text, "Show Call Tree", lambda a=None, args=thread_at_time: self.RightClickSelect(args), self.view))
2295 menu.exec_(pos)
4033 # Context menu
4043 menu = QMenu(self.view)
4044 self.AddActions(menu)
4045 menu.exec_(self.view.mapToGlobal(pos))
4047 def AddCopy(self, menu):
4048 menu.addAction(CreateAction("&Copy selection", "Copy to clipboard", lambda: CopyCellsToClipboardHdr(self.view), self.view))
4049 menu
[all...]

Completed in 234 milliseconds

12