/third_party/toybox/kconfig/ |
D | menu.c | 12 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() 49 memset(menu, 0, sizeof(*menu)); in menu_add_entry() 50 menu->sym = sym; in menu_add_entry() 51 menu->parent = current_menu; in menu_add_entry() 52 menu->file = current_file; in menu_add_entry() [all …]
|
D | mconf.c | 278 static struct menu *current_menu; 282 static void conf(struct menu *menu); 283 static void conf_choice(struct menu *menu); 284 static void conf_string(struct menu *menu); 289 static void show_help(struct menu *menu); 329 struct menu *submenu[8], *menu; in get_prompt_str() local 332 str_printf(r, " Defined at %s:%d\n", prop->menu->file->name, in get_prompt_str() 333 prop->menu->lineno); in get_prompt_str() 339 menu = prop->menu->parent; in get_prompt_str() 340 for (i = 0; menu != &rootmenu && i < 8; menu = menu->parent) in get_prompt_str() [all …]
|
D | conf.c | 17 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->sym->help) in conf_string() 191 help = menu->sym->help; in conf_string() 192 printf("\n%s\n", menu->sym->help); in conf_string() 205 static int conf_sym(struct menu *menu) in conf_sym() argument [all …]
|
D | confdata.c | 382 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->parent)); in next_menu() 392 return menu; in next_menu() 401 struct menu *menu; in conf_write() local 465 for (menu = rootmenu.list; menu; menu = next_menu(menu)) in conf_write() 466 if (menu->sym) menu->sym->flags |= SYMBOL_FORCEWRITE; in conf_write() 474 menu = rootmenu.list; in conf_write() [all …]
|
D | lkc_proto.h | 10 P(rootmenu,struct menu,); 12 P(menu_is_visible,bool,(struct menu *menu)); 13 P(menu_get_prompt,const char *,(struct menu *menu)); 14 P(menu_get_root_menu,struct menu *,(struct menu *menu)); 15 P(menu_get_parent_menu,struct menu *,(struct menu *menu));
|
D | expr.h | 120 struct menu *menu; member 134 struct menu { struct 135 struct menu *next; argument 136 struct menu *parent; argument 137 struct menu *list; argument
|
D | zconf.tab.c_shipped | 175 static struct menu *current_menu, *current_entry; 208 struct menu *menu; 520 "if_entry", "if_end", "if_stmt", "if_block", "menu", "menu_entry", 1109 (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno); 1110 if (current_menu == (yyvaluep->menu)) 1119 (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno); 1120 if (current_menu == (yyvaluep->menu)) 1129 (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno); 1130 if (current_menu == (yyvaluep->menu)) 1589 (yyval.menu) = menu_add_menu(); [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_QUERYMENU.c | 34 struct v4l2_querymenu *menu) in do_check_menu() argument 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->name))); in do_check_menu() 51 CU_ASSERT_EQUAL(menu->reserved, 0); in do_check_menu() 61 strncpy((char *)menu2.name, (char *)menu->name, in do_check_menu() 63 CU_ASSERT_EQUAL(memcmp(menu, &menu2, sizeof(*menu)), 0); in do_check_menu() 72 CU_ASSERT(memcmp(&menu, &menu2, sizeof(menu))); in do_check_menu() [all …]
|
/third_party/alsa-utils/alsamixer/ |
D | menu_widget.c | 11 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() 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() 77 scale_menu(menu, &rows, &columns); in menu_widget_create() [all …]
|
D | proc_files.c | 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() 98 menu = new_menu(items); in create_proc_files_list() 99 if (!menu) in create_proc_files_list() 101 set_menu_fore(menu, attrs.menu_selected); in create_proc_files_list() 102 set_menu_back(menu, attrs.menu); in create_proc_files_list() [all …]
|
D | card_select.c | 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() 189 menu = new_menu(items); in create_card_select_list() 190 if (!menu) in create_card_select_list() 192 set_menu_fore(menu, attrs.menu_selected); in create_card_select_list() 193 set_menu_back(menu, attrs.menu); in create_card_select_list() [all …]
|
/third_party/python/Lib/idlelib/ |
D | macosx.py | 183 root.configure(menu=menubar) 186 menudict['window'] = menu = Menu(menubar, name='window', tearoff=0) 187 menubar.add_cascade(label='Window', menu=menu, underline=0) 189 def postwindowsmenu(menu=menu): argument 190 end = menu.index('end') 195 menu.delete(0, end) 196 window.add_windows_to_menu(menu) 236 menudict['application'] = menu = Menu(menubar, name='apple', 238 menubar.add_cascade(label='IDLE', menu=menu)
|
D | scrolledlist.py | 69 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")
|
D | extend.txt | 4 An IDLE extension can define new key bindings and menu entries for IDLE 14 actions that are invoked by event bindings or menu entries. Class (or 15 instance) variables define the bindings and menu additions; these are 36 as menu entries.) 38 An extension can define menu entries. This is done with a class or instance 40 menu name (lowercase) and a list of menu entries. Each menu entry is either 42 virtual_event). Here, menu_label is the label of the menu entry, and 44 An underscore in the menu label is removed; the character following the 53 Extensions are not required to define menu entries for all the events they
|
D | editor.py | 109 self.top = top = window.ListedToplevel(root, menu=self.menubar) 286 menu = self.menudict.get('window') 287 if menu: 288 end = menu.index("end") 292 menu.add_separator() 454 menudict[name] = menu = Menu(mbar, name=name, tearoff=0, 456 mbar.add_cascade(label=label, menu=menu, underline=underline) 459 menudict['application'] = menu = Menu(mbar, name='apple', 461 mbar.add_cascade(label='IDLE', menu=menu) 466 menu=self.recent_files_menu) [all …]
|
D | HISTORY.txt | 90 'edit' menu has been split up into 'edit', 'format', and 'run'. 178 Viewer menu, not by the debugger.) 210 Most important change: a new menu entry "File -> Path browser", shows 213 browser menu entry. There's also a new internal module, 226 - Re-enable tearing off the Windows menu, and make a torn-off Windows 227 menu update itself whenever a window is opened or closed. 229 - Menu items can now be have a checkbox (when the menu label starts 231 (was: JIT stack viewer) menu items. 263 File menu: 265 The command to open the Python shell window is now in the File menu. [all …]
|
/third_party/toybox/kconfig/lxdialog/ |
D | menubox.c | 105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 189 WINDOW *dialog, *menu; in dialog_menu() local 232 menu = subwin(dialog, menu_height, menu_width, in dialog_menu() 234 keypad(menu, TRUE); in dialog_menu() 271 wnoutrefresh(menu); in dialog_menu() 277 wmove(menu, choice, item_x + 1); in dialog_menu() 278 wrefresh(menu); in dialog_menu() 281 key = wgetch(menu); in dialog_menu() 314 do_scroll(menu, &scroll, -1); in dialog_menu() 326 do_scroll(menu, &scroll, 1); in dialog_menu() [all …]
|
/third_party/python/Lib/turtledemo/ |
D | __main__.py | 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), 291 menu = Menu(master) 296 menu.add_command(label=entry, underline=0, 298 return menu 301 menu = Menu(master) 302 menu.add_command(label="Decrease (C-'-')", command=self.decrease_size, 304 menu.add_command(label="Increase (C-'+')", command=self.increase_size, 306 menu.add_separator() [all …]
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
D | DetectingViewer.java | 172 JMenu menu = getJMenuBar().getMenu(1); in setMatchMenu() local 175 menu.removeAll(); in setMatchMenu() 182 menu.add(menuItem); in setMatchMenu() 394 JMenu menu = new JMenu("File"); in makeMenus() local 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()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_mainmenu.py | 24 for menu, pattern in ( 29 with self.subTest(menu=menu, pattern=pattern): 31 if menutup[0] == menu:
|
/third_party/typescript/tests/baselines/reference/ |
D | typeAnnotationBestCommonTypeInArrayLiteral.types | 23 …Logo", "type": "image", "link": "", "icon": "modules/menu/logo.svg" }, { … 25 >{ "id": "ourLogo", "type": "image", "link": "", "icon": "modules/menu/… 39 "icon": "modules/menu/logo.svg" 41 >"modules/menu/logo.svg" : "modules/menu/logo.svg"
|
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/ |
D | MainActivity.kt | 74 popup.menuInflater.inflate(R.menu.add_menu, popup.menu) in <lambda>() 79 popup.menu.add(effectName) in <lambda>() 81 val subMenu = menuMap[cat] ?: popup.menu.addSubMenu(cat) in <lambda>() 168 override fun onCreateOptionsMenu(menu: Menu): Boolean { in <lambda>() 169 getMenuInflater().inflate(R.menu.toolbar_menu, menu) in <lambda>()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
D | peers.cpp | 175 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->addAction(tr("P2P Display PIN"), this, in context_menu() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
D | peers.cpp | 175 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->addAction(tr("P2P Display PIN"), this, in context_menu() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/static/ |
D | theme_overrides.css | 14 .wy-menu-vertical a, .wy-menu-vertical li.current > a, .wy-menu-vertical p.caption {
|