/scripts/kconfig/ |
D | menu.c | 15 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 …]
|
D | lkc.h | 97 void menu_warn(struct menu *menu, const char *fmt, ...); 98 struct menu *menu_add_menu(void); 109 void menu_finalize(struct menu *parent); 112 extern struct menu rootmenu; 114 bool menu_is_empty(struct menu *menu); 115 bool menu_is_visible(struct menu *menu); 116 bool menu_has_prompt(struct menu *menu); 117 const char *menu_get_prompt(struct menu *menu); 118 struct menu *menu_get_root_menu(struct menu *menu); 119 struct menu *menu_get_parent_menu(struct menu *menu); [all …]
|
D | mconf.c | 277 static struct menu *current_menu; 284 static void conf(struct menu *menu, struct menu *active_menu); 285 static void conf_choice(struct menu *menu); 286 static void conf_string(struct menu *menu); 294 static void show_help(struct menu *menu); 360 struct menu **targets; 435 struct menu *targets[JUMP_NB]; in search_conf() 466 static void build_conf(struct menu *menu) in build_conf() argument 470 struct menu *child; in build_conf() 480 visible = menu_is_visible(menu); in build_conf() [all …]
|
D | nconf.c | 259 static struct menu *current_menu; 279 static void conf(struct menu *menu); 280 static void conf_choice(struct menu *menu); 281 static void conf_string(struct menu *menu); 284 static void show_help(struct menu *menu); 289 typedef void (*function_key_handler_t)(int *key, struct menu *menu); 290 static void handle_f1(int *key, struct menu *current_item); 291 static void handle_f2(int *key, struct menu *current_item); 292 static void handle_f3(int *key, struct menu *current_item); 293 static void handle_f4(int *key, struct menu *current_item); [all …]
|
D | qconf.h | 48 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 …]
|
D | conf.c | 20 static void conf(struct menu *menu); 21 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() 132 static int conf_string(struct menu *menu) in conf_string() argument 134 struct symbol *sym = menu->sym; in conf_string() 138 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string() 151 print_help(menu); in conf_string() 165 static int conf_sym(struct menu *menu) in conf_sym() argument [all …]
|
D | qconf.cc | 104 sym = menu->sym; in updateMenu() 105 prop = menu->prompt; in updateMenu() 106 prompt = menu_get_prompt(menu); in updateMenu() 114 if (sym && list->rootEntry == menu) in updateMenu() 185 if (!menu) in testUpdateMenu() 188 sym_calc_value(menu->sym); in testUpdateMenu() 189 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() 191 menu->flags &= ~MENU_CHANGED; in testUpdateMenu() 192 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu() 204 if (menu) { in init() [all …]
|
D | gconf.c | 60 static struct menu *current; // current node for SINGLE view 61 static struct menu *browsed; // browsed node for SPLIT view 71 static void display_tree(struct menu *menu); 73 static void update_tree(struct menu *src, GtkTreeIter * dst); 74 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row); 75 static gchar **fill_row(struct menu *menu); 366 static void text_insert_help(struct menu *menu) in text_insert_help() argument 370 const char *prompt = menu_get_prompt(menu); in text_insert_help() 373 menu_get_ext_help(menu, &help); in text_insert_help() 786 struct menu *menu; in renderer_edited() local [all …]
|
D | parser.y | 31 static struct menu *current_menu, *current_entry; 40 struct menu *menu; member 99 %type <menu> if_entry menu_entry choice_entry 338 menu: T_MENU T_WORD_QUOTE T_EOL 345 menu_entry: menu menu_option_list 589 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument 591 struct symbol *sym = menu->sym; in print_symbol() 619 if (prop->menu != menu) in print_symbol() 665 fprintf(out, "%s\n", prop->menu->sym->name); in print_symbol() 672 if (menu->help) { in print_symbol() [all …]
|
D | confdata.c | 754 struct menu *menu; in conf_write_defconfig() local 764 menu = rootmenu.list; in conf_write_defconfig() 766 while (menu != NULL) in conf_write_defconfig() 768 sym = menu->sym; in conf_write_defconfig() 770 if (!menu_is_visible(menu)) in conf_write_defconfig() 806 if (menu->list != NULL) { in conf_write_defconfig() 807 menu = menu->list; in conf_write_defconfig() 809 else if (menu->next != NULL) { in conf_write_defconfig() 810 menu = menu->next; in conf_write_defconfig() 812 while ((menu = menu->parent)) { in conf_write_defconfig() [all …]
|
D | nconf.gui.c | 253 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 …]
|
D | expr.h | 198 struct menu *menu; /* the menu the property are associated with member 220 struct menu { struct 222 struct menu *next; argument 225 struct menu *parent; argument 228 struct menu *list; argument 280 struct menu *target;
|
D | symbol.c | 161 if (prop->menu) in sym_set_changed() 162 prop->menu->flags |= MENU_CHANGED; in sym_set_changed() 1043 struct menu *menu = NULL; in sym_check_print_recursive() local 1070 menu = prop->menu; in sym_check_print_recursive() 1071 if (prop->menu) in sym_check_print_recursive() 1081 menu->file->name, menu->lineno, in sym_check_print_recursive() 1086 menu->file->name, menu->lineno, in sym_check_print_recursive()
|
/scripts/kconfig/lxdialog/ |
D | menubox.c | 92 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 …]
|
/scripts/kconfig/tests/err_recursive_dep/ |
D | Kconfig | 55 # menu 57 menu "menu depending on its content"
|
/scripts/kconfig/tests/no_write_if_dep_unmet/ |
D | expected_config | 3 # Main menu
|