Home
last modified time | relevance | path

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

12

/third_party/toybox/kconfig/
H A Dmenu.c12 struct menu rootmenu;
13 static struct menu **last_entry_ptr;
18 static void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument
22 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn()
46 struct menu *menu; in menu_add_entry() local
48 menu = malloc(sizeof(*menu)); in menu_add_entry()
230 struct menu *menu, *last_menu; menu_finalize() local
368 menu_is_visible(struct menu *menu) menu_is_visible() argument
394 menu_get_prompt(struct menu *menu) menu_get_prompt() argument
403 menu_get_root_menu(struct menu *menu) menu_get_root_menu() argument
408 menu_get_parent_menu(struct menu *menu) menu_get_parent_menu() argument
[all...]
H A Dmconf.c5 * Introduced single menu mode (show all sub-menus in one large tree).
63 "o To exit a menu use the cursor keys to highlight the <Exit> button\n"
121 "At the end of the main menu you will find two options. One is\n"
153 "menu, rather than the default multimenu hierarchy, run the menuconfig\n"
179 "Arrow keys navigate the menu. "
252 "o The line 'Prompt:' shows the text used in the menu structure for\n"
257 " this symbol to be visible in the menu (selectable)\n"
258 "o The 'Location:' lines tell where in the menu structure this symbol\n"
261 " menu item - and current value is displayed inside brackets.\n"
278 static struct menu *current_men
329 struct menu *submenu[8], *menu; get_prompt_str() local
425 build_conf(struct menu *menu) build_conf() argument
583 conf(struct menu *menu) conf() argument
696 show_help(struct menu *menu) show_help() argument
716 conf_choice(struct menu *menu) conf_choice() argument
767 conf_string(struct menu *menu) conf_string() argument
[all...]
H A Dconf.c17 static void conf(struct menu *menu);
18 static void check_conf(struct menu *menu);
36 static struct menu *rootEntry;
171 int conf_string(struct menu *menu) in conf_string() argument
173 struct symbol *sym = menu->sym; in conf_string()
177 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
190 if (menu in conf_string()
205 conf_sym(struct menu *menu) conf_sym() argument
279 conf_choice(struct menu *menu) conf_choice() argument
408 conf(struct menu *menu) conf() argument
470 check_conf(struct menu *menu) check_conf() argument
[all...]
H A Dconfdata.c382 struct menu *next_menu(struct menu *menu) in next_menu() argument
384 if (menu->list) return menu->list; in next_menu()
386 if (menu->next) { in next_menu()
387 menu = menu->next; in next_menu()
390 } while ((menu = menu in next_menu()
401 struct menu *menu; conf_write() local
[all...]
H A Dexpr.h120 struct menu *menu; member
134 struct menu { struct
135 struct menu *next;
136 struct menu *parent;
137 struct menu *list;
H A Dlkc.h76 /* menu.c */
78 struct menu *menu_add_menu(void);
88 void menu_finalize(struct menu *parent);
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_QUERYMENU.c34 struct v4l2_querymenu *menu) in do_check_menu()
43 menu->id, menu->index, menu->name, menu->reserved); in do_check_menu()
45 CU_ASSERT_EQUAL(menu->id, id); in do_check_menu()
46 CU_ASSERT_EQUAL(menu->index, index); in do_check_menu()
48 CU_ASSERT(0 < strlen((char *)menu->name)); in do_check_menu()
49 CU_ASSERT(valid_string((char *)menu->name, sizeof(menu in do_check_menu()
32 do_check_menu(__u32 id, __u32 index, int ret_query, int errno_query, struct v4l2_querymenu *menu) do_check_menu() argument
80 struct v4l2_querymenu menu; do_query_menu() local
107 struct v4l2_querymenu menu; do_query_menu_invalid() local
290 struct v4l2_querymenu menu; test_VIDIOC_QUERYMENU_NULL() local
[all...]
/third_party/alsa-utils/alsamixer/
H A Dproc_files.c21 #include <menu.h>
36 static MENU *menu; variable
42 switch (menu_widget_handle_key(menu, key)) { in on_handle_key()
44 item = current_item(menu); in on_handle_key()
56 menu_widget_create(&proc_widget, menu, _("Select File")); in create()
63 unpost_menu(menu); in on_close()
64 free_menu(menu); in on_close()
75 fatal_error("cannot create menu item"); in add_item()
98 menu = new_menu(items); in create_proc_files_list()
99 if (!menu) in create_proc_files_list()
[all...]
H A Dmenu_widget.c11 int menu_widget_handle_key(MENU *menu, int key) in menu_widget_handle_key() argument
27 switch (menu_driver(menu, KEY_MOUSE)) { in menu_widget_handle_key()
33 /* If menu did not handle KEY_MOUSE is has to be removed from in menu_widget_handle_key()
35 key = wgetch(menu_win(menu)); in menu_widget_handle_key()
40 menu_driver(menu, REQ_UP_ITEM); in menu_widget_handle_key()
43 menu_driver(menu, REQ_DOWN_ITEM); in menu_widget_handle_key()
58 menu_driver(menu, key + KEY_MAX); in menu_widget_handle_key()
65 void menu_widget_create(struct widget *widget, MENU *menu, const char *title) in menu_widget_create() argument
69 if (menu) in menu_widget_create()
70 unpost_menu(menu); in menu_widget_create()
[all...]
H A Dcard_select.c24 #include <menu.h>
46 static MENU *menu; variable
51 ITEM *item = current_item(menu); in on_key_enter()
65 switch (menu_widget_handle_key(menu, key)) { in on_handle_key()
77 menu_widget_create(&list_widget, menu, _("Sound Card")); in create()
85 unpost_menu(menu); in close_card_select_list()
86 free_menu(menu); in close_card_select_list()
170 fatal_error("cannot create menu item"); in create_list_items()
189 menu = new_menu(items); in create_card_select_list()
190 if (!menu) in create_card_select_list()
[all...]
H A Dmenu_widget.h5 #include <menu.h>
7 int menu_widget_handle_key(MENU *menu, int key);
8 void menu_widget_create(struct widget *widget, MENU *menu, const char *title);
H A Dcolors.c102 .menu = A_BOLD | COLOR_PAIR(6), in init_colors()
129 .menu = A_NORMAL, in init_colors()
/third_party/python/Lib/idlelib/
H A Dmacosx.py118 ## Fix the menu and related functions.
143 Replace the Tk root menu by something that is more appropriate for
146 # The menu that is attached to the Tk root (".") is also used by AquaTk for
147 # all windows that don't specify a menu of their own. The default menubar
149 # Most annoying of those is an 'About Tck/Tk...' menu in the application
150 # menu.
153 # should only contain the correct application menu and the window menu.
156 # menu.
163 # Remove the last 3 items of the file menu
[all...]
H A Dscrolledlist.py69 menu = None variable in ScrolledList
72 if not self.menu:
74 menu = self.menu
78 menu.tk_popup(event.x_root, event.y_root)
82 menu = Menu(self.listbox, tearoff=0)
83 self.menu = menu
136 def fill_menu(self): self.menu.add_command(label="right click")
H A Deditor.py121 self.top = top = window.ListedToplevel(root, menu=self.menubar)
298 menu = self.menudict.get('window')
299 if menu:
300 end = menu.index("end")
304 menu.add_separator()
451 * self.menubar - the always visible horizontal menu bar.
459 * self.menudict - map menu name to dropdown menu.
480 """Populate the menu bar widget for the editor window.
483 with the menubar as the parent. The names, labels, and menu
[all...]
H A Dwindow.py23 def add_windows_to_menu(self, menu):
34 menu.add_command(label=title, command=window.wakeup)
91 # This can happen when the Window menu was torn off.
/third_party/toybox/kconfig/lxdialog/
H A Dmenubox.c2 * menubox.c -- implements the menu box
30 * to the first position in the menu box. Now lxdialog is a bit
31 * smarter and works more like other menu systems (just have a look at
50 * middle of the menu box, not at the bottom.
64 * Print menu item
105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
171 /* Scroll menu up */ in do_scroll()
180 * Display a menu for choosing among a number of options
189 WINDOW *dialog, *menu; in dialog_menu() local
231 /* create new window for the menu */ in dialog_menu()
[all...]
/third_party/python/Lib/turtledemo/
H A D__main__.py16 Select a demoscript from the example menu.
22 size can be changed from the menu and with Control/Command '-'/'+'.
43 While the EVENTLOOP is running, the examples menu is disabled.
137 # so that our menu bar appears.
156 self.mBar.add_cascade(menu=self.makeLoadDemoMenu(self.mBar),
158 self.mBar.add_cascade(menu=self.makeFontMenu(self.mBar),
160 self.mBar.add_cascade(menu=self.makeHelpMenu(self.mBar),
162 root['menu'] = self.mBar
201 "Choose example from menu", "black")
295 menu
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_mainmenu.py24 for menu, pattern in (
29 with self.subTest(menu=menu, pattern=pattern):
31 if menutup[0] == menu:
34 self.assertTrue(0, f"{menu} not in menudefs")
38 f"{pattern} not in {menu}")
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
H A DDetectingViewer.java172 JMenu menu = getJMenuBar().getMenu(1); in setMatchMenu()
175 menu.removeAll(); in setMatchMenu()
182 menu.add(menuItem); in setMatchMenu()
394 JMenu menu = new JMenu("File"); in makeMenus()
400 menu.add(mi); in makeMenus()
408 menu.add(mi); in makeMenus()
413 menu.add(mi); in makeMenus()
416 mbar.add(menu); in makeMenus()
418 menu = new JMenu("Detected Encodings"); in makeMenus()
419 mbar.add(menu); in makeMenus()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
H A Dpeers.cpp175 QMenu *menu = new QMenu; in context_menu() local
176 if (menu == NULL) in context_menu()
183 menu->addAction(Peers::ItemType(type))->setEnabled(false); in context_menu()
184 menu->addSeparator(); in context_menu()
202 menu->addAction(tr("Enter WPS PIN"), this, in context_menu()
207 menu->addAction(tr("P2P Connect"), this, in context_menu()
213 menu->addAction(tr("P2P Connect (PBC)"), this, in context_menu()
216 menu->addAction(tr("P2P Request PIN"), this, in context_menu()
218 menu->addAction(tr("P2P Show PIN"), this, in context_menu()
224 menu in context_menu()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
H A Dpeers.cpp175 QMenu *menu = new QMenu; in context_menu() local
176 if (menu == NULL) in context_menu()
183 menu->addAction(Peers::ItemType(type))->setEnabled(false); in context_menu()
184 menu->addSeparator(); in context_menu()
202 menu->addAction(tr("Enter WPS PIN"), this, in context_menu()
207 menu->addAction(tr("P2P Connect"), this, in context_menu()
213 menu->addAction(tr("P2P Connect (PBC)"), this, in context_menu()
216 menu->addAction(tr("P2P Request PIN"), this, in context_menu()
218 menu->addAction(tr("P2P Show PIN"), this, in context_menu()
224 menu in context_menu()
[all...]
/third_party/ltp/
H A Dltpmenu38 # March 31 2003 - Made scenario menu creation dynamic and code
42 # April 17 2003 - Added menu selection to list contents of selected
173 --menu "Move using[UP] [DOWN], Select using [ENTER]" 15 70 8 \
246 --menu "Move using[UP] [DOWN], Select using [ENTER]" 15 70 4 \
298 # Description: This function provides a menu of testcases that can be
329 to execute them. Returning to main menu. \
398 to execute them. Returning to main menu. \
459 --menu "Move using[UP] [DOWN], Select using [ENTER]" 15 70 8 \
476 # Description: Displays the main menu to the LTP Control Centre. The menu
[all...]
/third_party/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
H A DViewerActivity.java45 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() argument
47 inflater.inflate(R.menu.title, menu); in onCreateOptionsMenu()
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DResourceBundlePerf.java340 UResourceBundle menu = menus.get(i); in call()
341 String menu_name = menu.getKey(); in call()
344 int sizej = menu.getSize(); in call()
346 UResourceBundle menu_item = menu.get(j); in call()
359 return new GetMenuJava("menu", expected); in TestGetMenuJava()
364 return new GetMenuIcu("menu", expected); in TestGetMenuICU()

Completed in 15 milliseconds

12