Home
last modified time | relevance | path

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

/scripts/kconfig/
Dmenu.c16 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()
53 memset(menu, 0, sizeof(*menu)); in menu_add_entry()
54 menu->sym = sym; in menu_add_entry()
55 menu->parent = current_menu; in menu_add_entry()
56 menu->file = current_file; in menu_add_entry()
[all …]
Dlkc.h83 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);
99 bool menu_has_prompt(struct menu *menu);
100 const char *menu_get_prompt(struct menu *menu);
101 struct menu *menu_get_parent_menu(struct menu *menu);
102 bool menu_has_help(struct menu *menu);
[all …]
Dnconf.c263 static struct menu *current_menu;
284 static void selected_conf(struct menu *menu, struct menu *active_menu);
285 static void conf(struct menu *menu);
286 static void conf_choice(struct menu *menu);
287 static void conf_string(struct menu *menu);
290 static void show_help(struct menu *menu);
295 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
296 static void handle_f1(int *key, struct menu *current_item);
297 static void handle_f2(int *key, struct menu *current_item);
298 static void handle_f3(int *key, struct menu *current_item);
[all …]
Dmconf.c283 static struct menu *current_menu;
291 static void conf(struct menu *menu, struct menu *active_menu);
370 static void show_help(struct menu *menu) in show_help() argument
375 menu_get_ext_help(menu, &help); in show_help()
377 show_helptext(menu_get_prompt(menu), str_get(&help)); in show_help()
383 struct menu *target;
504 static void build_conf(struct menu *menu) in build_conf() argument
508 struct menu *child; in build_conf()
518 visible = menu_is_visible(menu); in build_conf()
519 if (show_all_options && !menu_has_prompt(menu)) in build_conf()
[all …]
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 *);
94 bool menuSkip(struct menu *);
96 void updateMenuList(ConfigItem *parent, struct menu*);
97 void updateMenuList(struct menu *menu);
104 struct menu *rootEntry;
[all …]
Dqconf.cc106 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()
194 menu->flags &= ~MENU_CHANGED; in testUpdateMenu()
195 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu()
207 if (menu) { in init()
[all …]
Dconf.c19 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
351 struct symbol *sym = menu->sym; in conf_string()
355 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
368 print_help(menu); in conf_string()
382 static int conf_sym(struct menu *menu) in conf_sym() argument
[all …]
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 *menu) in text_insert_help() argument
366 const char *prompt = menu_get_prompt(menu); in text_insert_help()
369 menu_get_ext_help(menu, &help); in text_insert_help()
779 struct menu *menu; in renderer_edited() local
[all …]
Dparser.y32 struct menu *current_menu, *current_entry;
41 struct menu *menu; member
97 %type <menu> if_entry menu_entry choice_entry
329 menu: T_MENU T_WORD_QUOTE T_EOL
336 menu_entry: menu menu_option_list
580 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
582 struct symbol *sym = menu->sym; in print_symbol()
610 if (prop->menu != menu) in print_symbol()
656 fprintf(out, "%s\n", prop->menu->sym->name); in print_symbol()
663 if (menu->help) { in print_symbol()
[all …]
Dconfdata.c841 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->next != NULL) { in conf_write_defconfig()
897 menu = menu->next; in conf_write_defconfig()
899 while ((menu = menu->parent)) { in conf_write_defconfig()
[all …]
Dinternal.h5 struct menu;
7 extern struct menu *current_menu, *current_entry;
Dnconf.gui.c204 MENU *menu; in btn_dialog() local
244 menu = new_menu(btns); in btn_dialog()
248 set_menu_fore(menu, attr_dialog_menu_fore); in btn_dialog()
249 set_menu_back(menu, attr_dialog_menu_back); in btn_dialog()
258 set_menu_win(menu, win); in btn_dialog()
259 set_menu_sub(menu, menu_win); in btn_dialog()
260 set_menu_format(menu, 1, btn_num); in btn_dialog()
261 menu_opts_off(menu, O_SHOWDESC); in btn_dialog()
262 menu_opts_off(menu, O_SHOWMATCH); in btn_dialog()
263 menu_opts_on(menu, O_ONEVALUE); in btn_dialog()
[all …]
Dexpr.h195 struct menu *menu; /* the menu the property are associated with member
217 struct menu { struct
219 struct menu *next; argument
222 struct menu *parent; argument
225 struct menu *list; argument
277 struct menu *target;
Dsymbol.c163 if (prop->menu) in sym_set_changed()
164 prop->menu->flags |= MENU_CHANGED; in sym_set_changed()
1001 struct menu *menu = NULL; in sym_check_print_recursive() local
1028 menu = prop->menu; in sym_check_print_recursive()
1029 if (prop->menu) in sym_check_print_recursive()
1039 menu->file->name, menu->lineno, in sym_check_print_recursive()
1044 menu->file->name, menu->lineno, in sym_check_print_recursive()
DMakefile156 common-objs := confdata.o expr.o lexer.lex.o menu.o parser.tab.o \
/scripts/kconfig/lxdialog/
Dmenubox.c84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
170 WINDOW *dialog, *menu; in dialog_menu() local
213 menu = subwin(dialog, menu_height, menu_width, in dialog_menu()
215 keypad(menu, TRUE); in dialog_menu()
252 wnoutrefresh(menu); in dialog_menu()
258 wmove(menu, choice, item_x + 1); in dialog_menu()
259 wrefresh(menu); in dialog_menu()
262 key = wgetch(menu); in dialog_menu()
296 do_scroll(menu, &scroll, -1); in dialog_menu()
308 do_scroll(menu, &scroll, 1); in dialog_menu()
[all …]
/scripts/kconfig/tests/err_recursive_dep/
DKconfig55 # menu
57 menu "menu depending on its content"
/scripts/kconfig/tests/no_write_if_dep_unmet/
Dexpected_config3 # Main menu