menu               38 scripts/kconfig/conf.c static struct menu *rootEntry;
menu               44 scripts/kconfig/conf.c 	if (menu_has_help(menu))
menu               45 scripts/kconfig/conf.c 		return _(menu_get_help(menu));
menu              125 scripts/kconfig/conf.c 	struct symbol *sym = menu->sym;
menu              129 scripts/kconfig/conf.c 		printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
menu              142 scripts/kconfig/conf.c 				printf("\n%s\n", get_help(menu));
menu              157 scripts/kconfig/conf.c 	struct symbol *sym = menu->sym;
menu              162 scripts/kconfig/conf.c 		printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
menu              185 scripts/kconfig/conf.c 		if (menu_has_help(menu))
menu              222 scripts/kconfig/conf.c 		printf("\n%s\n", get_help(menu));
menu              229 scripts/kconfig/conf.c 	struct menu *child;
menu              233 scripts/kconfig/conf.c 	sym = menu->sym;
menu              237 scripts/kconfig/conf.c 		conf_sym(menu);
menu              252 scripts/kconfig/conf.c 			printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu)));
menu              262 scripts/kconfig/conf.c 		printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu)));
menu              266 scripts/kconfig/conf.c 		for (child = menu->list; child; child = child->next) {
menu              292 scripts/kconfig/conf.c 		if (menu_has_help(menu))
menu              309 scripts/kconfig/conf.c 				printf("\n%s\n", get_help(menu));
menu              324 scripts/kconfig/conf.c 		for (child = menu->list; child; child = child->next) {
menu              350 scripts/kconfig/conf.c 	struct menu *child;
menu              352 scripts/kconfig/conf.c 	if (!menu_is_visible(menu))
menu              355 scripts/kconfig/conf.c 	sym = menu->sym;
menu              356 scripts/kconfig/conf.c 	prop = menu->prompt;
menu              362 scripts/kconfig/conf.c 			if (input_mode == ask_silent && rootEntry != menu) {
menu              363 scripts/kconfig/conf.c 				check_conf(menu);
menu              367 scripts/kconfig/conf.c 			prompt = menu_get_prompt(menu);
menu              382 scripts/kconfig/conf.c 		conf_choice(menu);
menu              392 scripts/kconfig/conf.c 		conf_string(menu);
menu              395 scripts/kconfig/conf.c 		conf_sym(menu);
menu              402 scripts/kconfig/conf.c 	for (child = menu->list; child; child = child->next)
menu              411 scripts/kconfig/conf.c 	struct menu *child;
menu              413 scripts/kconfig/conf.c 	if (!menu_is_visible(menu))
menu              416 scripts/kconfig/conf.c 	sym = menu->sym;
menu              422 scripts/kconfig/conf.c 			rootEntry = menu_get_parent_menu(menu);
menu              427 scripts/kconfig/conf.c 	for (child = menu->list; child; child = child->next)
menu              396 scripts/kconfig/confdata.c 	struct menu *menu;
menu              458 scripts/kconfig/confdata.c 	menu = rootmenu.list;
menu              459 scripts/kconfig/confdata.c 	while (menu) {
menu              460 scripts/kconfig/confdata.c 		sym = menu->sym;
menu              462 scripts/kconfig/confdata.c 			if (!menu_is_visible(menu))
menu              464 scripts/kconfig/confdata.c 			str = menu_get_prompt(menu);
menu              524 scripts/kconfig/confdata.c 		if (menu->list) {
menu              525 scripts/kconfig/confdata.c 			menu = menu->list;
menu              528 scripts/kconfig/confdata.c 		if (menu->next)
menu              529 scripts/kconfig/confdata.c 			menu = menu->next;
menu              530 scripts/kconfig/confdata.c 		else while ((menu = menu->parent)) {
menu              531 scripts/kconfig/confdata.c 			if (menu->next) {
menu              532 scripts/kconfig/confdata.c 				menu = menu->next;
menu              120 scripts/kconfig/expr.h 	struct menu *menu;
menu              135 scripts/kconfig/expr.h 	struct menu *next;
menu              136 scripts/kconfig/expr.h 	struct menu *parent;
menu              137 scripts/kconfig/expr.h 	struct menu *list;
menu               59 scripts/kconfig/gconf.c static struct menu *current; // current node for SINGLE view
menu               60 scripts/kconfig/gconf.c static struct menu *browsed; // browsed node for SPLIT view
menu              458 scripts/kconfig/gconf.c 	const char *prompt = _(menu_get_prompt(menu));
menu              462 scripts/kconfig/gconf.c 	help = menu_get_help(menu);
menu              468 scripts/kconfig/gconf.c 	if (menu->sym && menu->sym->name)
menu              469 scripts/kconfig/gconf.c 		name = g_strdup_printf(menu->sym->name);
menu              880 scripts/kconfig/gconf.c 	struct menu *menu;
menu              886 scripts/kconfig/gconf.c 	gtk_tree_model_get(model2, &iter, COL_MENU, &menu, -1);
menu              887 scripts/kconfig/gconf.c 	sym = menu->sym;
menu              902 scripts/kconfig/gconf.c 	struct symbol *sym = menu->sym;
menu              943 scripts/kconfig/gconf.c 	if (!menu->sym)
menu              946 scripts/kconfig/gconf.c 	sym_toggle_tristate_value(menu->sym);
menu              963 scripts/kconfig/gconf.c 	struct menu *menu;
menu              977 scripts/kconfig/gconf.c 	gtk_tree_model_get(model2, &iter, COL_MENU, &menu, -1);
menu              978 scripts/kconfig/gconf.c 	toggle_sym_value(menu);
menu             1011 scripts/kconfig/gconf.c 	struct menu *menu;
menu             1029 scripts/kconfig/gconf.c 	gtk_tree_model_get(model2, &iter, COL_MENU, &menu, -1);
menu             1034 scripts/kconfig/gconf.c 		ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu             1038 scripts/kconfig/gconf.c 			current = menu;
menu             1042 scripts/kconfig/gconf.c 			toggle_sym_value(menu);
menu             1047 scripts/kconfig/gconf.c 			toggle_sym_value(menu);
menu             1051 scripts/kconfig/gconf.c 			change_sym_value(menu, col);
menu             1068 scripts/kconfig/gconf.c 	struct menu *menu;
menu             1088 scripts/kconfig/gconf.c 	gtk_tree_model_get(model2, &iter, COL_MENU, &menu, -1);
menu             1098 scripts/kconfig/gconf.c 	change_sym_value(menu, col);
menu             1110 scripts/kconfig/gconf.c 	struct menu *menu;
menu             1114 scripts/kconfig/gconf.c 		gtk_tree_model_get(model2, &iter, COL_MENU, &menu, -1);
menu             1115 scripts/kconfig/gconf.c 		text_insert_help(menu);
menu             1129 scripts/kconfig/gconf.c 	struct menu *menu;
menu             1141 scripts/kconfig/gconf.c 	gtk_tree_model_get(model1, &iter, COL_MENU, &menu, -1);
menu             1144 scripts/kconfig/gconf.c 		toggle_sym_value(menu);
menu             1145 scripts/kconfig/gconf.c 		current = menu;
menu             1148 scripts/kconfig/gconf.c 		browsed = menu;
menu             1164 scripts/kconfig/gconf.c 	struct symbol *sym = menu->sym;
menu             1176 scripts/kconfig/gconf.c 	    g_strdup_printf("%s %s", _(menu_get_prompt(menu)),
menu             1179 scripts/kconfig/gconf.c 	if (show_all && !menu_is_visible(menu))
menu             1184 scripts/kconfig/gconf.c 	ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu             1212 scripts/kconfig/gconf.c 		struct menu *child;
menu             1214 scripts/kconfig/gconf.c 		struct menu *def_menu = NULL;
menu             1218 scripts/kconfig/gconf.c 		for (child = menu->list; child; child = child->next) {
menu             1302 scripts/kconfig/gconf.c 			   COL_MENU, (gpointer) menu,
menu             1324 scripts/kconfig/gconf.c 	set_node(node, menu, row);
menu             1344 scripts/kconfig/gconf.c 		struct menu *menu;
menu             1346 scripts/kconfig/gconf.c 		gtk_tree_model_get(model2, child, 6, &menu, -1);
menu             1348 scripts/kconfig/gconf.c 		if (menu == tofind) {
menu             1370 scripts/kconfig/gconf.c 	struct menu *child1;
menu             1377 scripts/kconfig/gconf.c 	struct menu *menu1, *menu2;
menu             1456 scripts/kconfig/gconf.c 	struct menu *child;
menu             1459 scripts/kconfig/gconf.c 	if (menu == &rootmenu) {
menu             1464 scripts/kconfig/gconf.c 	for (child = menu->list; child; child = child->next) {
menu             1502 scripts/kconfig/gconf.c 		if (((view_mode == SINGLE_VIEW) && (menu->flags & MENU_ROOT))
menu             1538 scripts/kconfig/gconf.c 	struct menu *child;
menu             1541 scripts/kconfig/gconf.c 	menu->flags |= MENU_ROOT;
menu             1542 scripts/kconfig/gconf.c 	for (child = menu->list; child; child = child->next) {
menu              167 scripts/kconfig/kxgettext.c 	struct menu *child;
menu              169 scripts/kconfig/kxgettext.c 	message__add(menu_get_prompt(menu), NULL,
menu              170 scripts/kconfig/kxgettext.c 		     menu->file == NULL ? "Root Menu" : menu->file->name,
menu              171 scripts/kconfig/kxgettext.c 		     menu->lineno);
menu              173 scripts/kconfig/kxgettext.c 	if (menu->sym != NULL && menu_has_help(menu))
menu              174 scripts/kconfig/kxgettext.c 		message__add(menu_get_help(menu), menu->sym->name,
menu              175 scripts/kconfig/kxgettext.c 			     menu->file == NULL ? "Root Menu" : menu->file->name,
menu              176 scripts/kconfig/kxgettext.c 			     menu->lineno);
menu              178 scripts/kconfig/kxgettext.c 	for (child = menu->list; child != NULL; child = child->next)
menu               87 scripts/kconfig/lkc.h void menu_warn(struct menu *menu, const char *fmt, ...);
menu               88 scripts/kconfig/lkc.h struct menu *menu_add_menu(void);
menu               98 scripts/kconfig/lkc.h void menu_finalize(struct menu *parent);
menu              105 scripts/kconfig/lxdialog/menubox.c 	do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
menu              189 scripts/kconfig/lxdialog/menubox.c 	WINDOW *dialog, *menu;
menu              232 scripts/kconfig/lxdialog/menubox.c 	menu = subwin(dialog, menu_height, menu_width,
menu              234 scripts/kconfig/lxdialog/menubox.c 	keypad(menu, TRUE);
menu              271 scripts/kconfig/lxdialog/menubox.c 	wnoutrefresh(menu);
menu              277 scripts/kconfig/lxdialog/menubox.c 	wmove(menu, choice, item_x + 1);
menu              278 scripts/kconfig/lxdialog/menubox.c 	wrefresh(menu);
menu              281 scripts/kconfig/lxdialog/menubox.c 		key = wgetch(menu);
menu              314 scripts/kconfig/lxdialog/menubox.c 					do_scroll(menu, &scroll, -1);
menu              326 scripts/kconfig/lxdialog/menubox.c 					do_scroll(menu, &scroll, 1);
menu              334 scripts/kconfig/lxdialog/menubox.c 				scrollok(menu, TRUE);
menu              337 scripts/kconfig/lxdialog/menubox.c 						do_scroll(menu, &scroll, -1);
menu              348 scripts/kconfig/lxdialog/menubox.c 						do_scroll(menu, &scroll, 1);
menu              365 scripts/kconfig/lxdialog/menubox.c 			wrefresh(menu);
menu              378 scripts/kconfig/lxdialog/menubox.c 			wrefresh(menu);
menu              388 scripts/kconfig/lxdialog/menubox.c 			delwin(menu);
menu              412 scripts/kconfig/lxdialog/menubox.c 			delwin(menu);
menu              422 scripts/kconfig/lxdialog/menubox.c 			key = on_key_esc(menu);
menu              426 scripts/kconfig/lxdialog/menubox.c 			delwin(menu);
menu              431 scripts/kconfig/lxdialog/menubox.c 	delwin(menu);
menu              274 scripts/kconfig/mconf.c static struct menu *current_menu;
menu              290 scripts/kconfig/mconf.c 	struct menu *submenu[8], *menu;
menu              293 scripts/kconfig/mconf.c 	str_printf(r, _("  Defined at %s:%d\n"), prop->menu->file->name,
menu              294 scripts/kconfig/mconf.c 		prop->menu->lineno);
menu              300 scripts/kconfig/mconf.c 	menu = prop->menu->parent;
menu              301 scripts/kconfig/mconf.c 	for (i = 0; menu != &rootmenu && i < 8; menu = menu->parent)
menu              302 scripts/kconfig/mconf.c 		submenu[i++] = menu;
menu              306 scripts/kconfig/mconf.c 			menu = submenu[i];
menu              307 scripts/kconfig/mconf.c 			str_printf(r, "%*c-> %s", j, ' ', _(menu_get_prompt(menu)));
menu              308 scripts/kconfig/mconf.c 			if (menu->sym) {
menu              309 scripts/kconfig/mconf.c 				str_printf(r, " (%s [=%s])", menu->sym->name ?
menu              310 scripts/kconfig/mconf.c 					menu->sym->name : _("<choice>"),
menu              311 scripts/kconfig/mconf.c 					sym_get_string_value(menu->sym));
menu              420 scripts/kconfig/mconf.c 	struct menu *child;
menu              425 scripts/kconfig/mconf.c 	if (!menu_is_visible(menu))
menu              428 scripts/kconfig/mconf.c 	sym = menu->sym;
menu              429 scripts/kconfig/mconf.c 	prop = menu->prompt;
menu              431 scripts/kconfig/mconf.c 		if (prop && menu != current_menu) {
menu              432 scripts/kconfig/mconf.c 			const char *prompt = menu_get_prompt(menu);
menu              439 scripts/kconfig/mconf.c 						  menu->data ? "-->" : "++>",
menu              445 scripts/kconfig/mconf.c 				item_set_data(menu);
menu              446 scripts/kconfig/mconf.c 				if (single_menu_mode && menu->data)
menu              454 scripts/kconfig/mconf.c 					item_set_data(menu);
menu              462 scripts/kconfig/mconf.c 					item_set_data(menu);
menu              473 scripts/kconfig/mconf.c 		struct menu *def_menu = NULL;
menu              476 scripts/kconfig/mconf.c 		for (child = menu->list; child; child = child->next) {
menu              497 scripts/kconfig/mconf.c 			item_set_data(menu);
menu              501 scripts/kconfig/mconf.c 			item_set_data(menu);
menu              504 scripts/kconfig/mconf.c 		item_add_str("%*c%s", indent + 1, ' ', _(menu_get_prompt(menu)));
menu              518 scripts/kconfig/mconf.c 		if (menu == current_menu) {
menu              519 scripts/kconfig/mconf.c 			item_make("---%*c%s", indent + 1, ' ', _(menu_get_prompt(menu)));
menu              521 scripts/kconfig/mconf.c 			item_set_data(menu);
menu              529 scripts/kconfig/mconf.c 			item_set_data(menu);
menu              538 scripts/kconfig/mconf.c 				item_set_data(menu);
menu              554 scripts/kconfig/mconf.c 				item_set_data(menu);
menu              562 scripts/kconfig/mconf.c 				item_add_str("%*c%s%s", tmp, ' ', _(menu_get_prompt(menu)),
menu              566 scripts/kconfig/mconf.c 				item_set_data(menu);
menu              570 scripts/kconfig/mconf.c 		item_add_str("%*c%s%s", indent + 1, ' ', _(menu_get_prompt(menu)),
menu              573 scripts/kconfig/mconf.c 		if (menu->prompt->type == P_MENU) {
menu              581 scripts/kconfig/mconf.c 	for (child = menu->list; child; child = child->next)
menu              588 scripts/kconfig/mconf.c 	struct menu *submenu;
menu              589 scripts/kconfig/mconf.c 	const char *prompt = menu_get_prompt(menu);
menu              591 scripts/kconfig/mconf.c 	struct menu *active_menu = NULL;
menu              597 scripts/kconfig/mconf.c 		current_menu = menu;
menu              598 scripts/kconfig/mconf.c 		build_conf(menu);
menu              601 scripts/kconfig/mconf.c 		if (menu == &rootmenu) {
menu              702 scripts/kconfig/mconf.c 	struct symbol *sym = menu->sym;
menu              704 scripts/kconfig/mconf.c 	if (menu_has_help(menu))
menu              708 scripts/kconfig/mconf.c 			str_append(&help, _(menu_get_help(menu)));
menu              715 scripts/kconfig/mconf.c 	show_helptext(_(menu_get_prompt(menu)), str_get(&help));
menu              721 scripts/kconfig/mconf.c 	const char *prompt = _(menu_get_prompt(menu));
menu              722 scripts/kconfig/mconf.c 	struct menu *child;
menu              725 scripts/kconfig/mconf.c 	active = sym_get_choice_value(menu->sym);
menu              731 scripts/kconfig/mconf.c 		current_menu = menu;
menu              732 scripts/kconfig/mconf.c 		for (child = menu->list; child; child = child->next) {
menu              739 scripts/kconfig/mconf.c 			if (child->sym == sym_get_choice_value(menu->sym))
menu              760 scripts/kconfig/mconf.c 				show_help(menu);
menu              772 scripts/kconfig/mconf.c 	const char *prompt = menu_get_prompt(menu);
menu              778 scripts/kconfig/mconf.c 		switch (sym_get_type(menu->sym)) {
menu              794 scripts/kconfig/mconf.c 				      sym_get_string_value(menu->sym));
menu              797 scripts/kconfig/mconf.c 			if (sym_set_string_value(menu->sym, dialog_input_result))
menu              802 scripts/kconfig/mconf.c 			show_help(menu);
menu               12 scripts/kconfig/menu.c struct menu rootmenu;
menu               13 scripts/kconfig/menu.c static struct menu **last_entry_ptr;
menu               22 scripts/kconfig/menu.c 	fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno);
menu               46 scripts/kconfig/menu.c 	struct menu *menu;
menu               48 scripts/kconfig/menu.c 	menu = malloc(sizeof(*menu));
menu               49 scripts/kconfig/menu.c 	memset(menu, 0, sizeof(*menu));
menu               50 scripts/kconfig/menu.c 	menu->sym = sym;
menu               51 scripts/kconfig/menu.c 	menu->parent = current_menu;
menu               52 scripts/kconfig/menu.c 	menu->file = current_file;
menu               53 scripts/kconfig/menu.c 	menu->lineno = zconf_lineno();
menu               55 scripts/kconfig/menu.c 	*last_entry_ptr = menu;
menu               56 scripts/kconfig/menu.c 	last_entry_ptr = &menu->next;
menu               57 scripts/kconfig/menu.c 	current_entry = menu;
menu               64 scripts/kconfig/menu.c struct menu *menu_add_menu(void)
menu              126 scripts/kconfig/menu.c 	prop->menu = current_entry;
menu              230 scripts/kconfig/menu.c 	struct menu *menu, *last_menu;
menu              241 scripts/kconfig/menu.c 				for (menu = parent->list; menu; menu = menu->next) {
menu              242 scripts/kconfig/menu.c 					if (menu->sym && menu->sym->type != S_UNKNOWN) {
menu              243 scripts/kconfig/menu.c 						menu_set_type(menu->sym->type);
menu              249 scripts/kconfig/menu.c 			for (menu = parent->list; menu; menu = menu->next) {
menu              250 scripts/kconfig/menu.c 				current_entry = menu;
menu              251 scripts/kconfig/menu.c 				if (menu->sym && menu->sym->type == S_UNKNOWN)
menu              260 scripts/kconfig/menu.c 		for (menu = parent->list; menu; menu = menu->next) {
menu              261 scripts/kconfig/menu.c 			basedep = expr_transform(menu->dep);
menu              264 scripts/kconfig/menu.c 			menu->dep = basedep;
menu              265 scripts/kconfig/menu.c 			if (menu->sym)
menu              266 scripts/kconfig/menu.c 				prop = menu->sym->prop;
menu              268 scripts/kconfig/menu.c 				prop = menu->prompt;
menu              270 scripts/kconfig/menu.c 				if (prop->menu != menu)
menu              275 scripts/kconfig/menu.c 				if (menu->sym && menu->sym->type != S_TRISTATE)
menu              281 scripts/kconfig/menu.c 							expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep)));
menu              285 scripts/kconfig/menu.c 		for (menu = parent->list; menu; menu = menu->next)
menu              286 scripts/kconfig/menu.c 			menu_finalize(menu);
menu              292 scripts/kconfig/menu.c 		for (menu = parent->next; menu; menu = menu->next) {
menu              293 scripts/kconfig/menu.c 			dep = menu->prompt ? menu->prompt->visible.expr : menu->dep;
menu              309 scripts/kconfig/menu.c 			menu_finalize(menu);
menu              310 scripts/kconfig/menu.c 			menu->parent = parent;
menu              311 scripts/kconfig/menu.c 			last_menu = menu;
menu              319 scripts/kconfig/menu.c 	for (menu = parent->list; menu; menu = menu->next) {
menu              321 scripts/kconfig/menu.c 		    menu->sym && !sym_is_choice_value(menu->sym)) {
menu              322 scripts/kconfig/menu.c 			current_entry = menu;
menu              323 scripts/kconfig/menu.c 			menu->sym->flags |= SYMBOL_CHOICEVAL;
menu              324 scripts/kconfig/menu.c 			if (!menu->prompt)
menu              325 scripts/kconfig/menu.c 				menu_warn(menu, "choice value must have a prompt");
menu              326 scripts/kconfig/menu.c 			for (prop = menu->sym->prop; prop; prop = prop->next) {
menu              330 scripts/kconfig/menu.c 				if (prop->menu == menu)
menu              333 scripts/kconfig/menu.c 				    prop->menu->parent->sym != sym)
menu              342 scripts/kconfig/menu.c 			if (sym->type == S_TRISTATE && menu->sym->type != S_TRISTATE) {
menu              344 scripts/kconfig/menu.c 				menu->dep = expr_alloc_and(basedep, menu->dep);
menu              345 scripts/kconfig/menu.c 				for (prop = menu->sym->prop; prop; prop = prop->next) {
menu              346 scripts/kconfig/menu.c 					if (prop->menu != menu)
menu              357 scripts/kconfig/menu.c 			(*ep)->right.sym = menu->sym;
menu              359 scripts/kconfig/menu.c 		if (menu->list && (!menu->prompt || !menu->prompt->text)) {
menu              360 scripts/kconfig/menu.c 			for (last_menu = menu->list; ; last_menu = last_menu->next) {
menu              365 scripts/kconfig/menu.c 			last_menu->next = menu->next;
menu              366 scripts/kconfig/menu.c 			menu->next = menu->list;
menu              367 scripts/kconfig/menu.c 			menu->list = NULL;
menu              392 scripts/kconfig/menu.c 	struct menu *child;
menu              396 scripts/kconfig/menu.c 	if (!menu->prompt)
menu              398 scripts/kconfig/menu.c 	sym = menu->sym;
menu              401 scripts/kconfig/menu.c 		visible = menu->prompt->visible.tri;
menu              403 scripts/kconfig/menu.c 		visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr);
menu              407 scripts/kconfig/menu.c 	if (!sym || sym_get_tristate_value(menu->sym) == no)
menu              410 scripts/kconfig/menu.c 	for (child = menu->list; child; child = child->next)
menu              418 scripts/kconfig/menu.c 	if (menu->prompt)
menu              419 scripts/kconfig/menu.c 		return menu->prompt->text;
menu              420 scripts/kconfig/menu.c 	else if (menu->sym)
menu              421 scripts/kconfig/menu.c 		return menu->sym->name;
menu              425 scripts/kconfig/menu.c struct menu *menu_get_root_menu(struct menu *menu)
menu              430 scripts/kconfig/menu.c struct menu *menu_get_parent_menu(struct menu *menu)
menu              434 scripts/kconfig/menu.c 	for (; menu != &rootmenu; menu = menu->parent) {
menu              435 scripts/kconfig/menu.c 		type = menu->prompt ? menu->prompt->type : 0;
menu              439 scripts/kconfig/menu.c 	return menu;
menu              444 scripts/kconfig/menu.c 	return menu->help != NULL;
menu              449 scripts/kconfig/menu.c 	if (menu->help)
menu              450 scripts/kconfig/menu.c 		return menu->help;
menu               91 scripts/kconfig/qconf.cc 	sym_set_string_value(menu->sym, text(dataColIdx).latin1());
menu              115 scripts/kconfig/qconf.cc 	sym = menu->sym;
menu              116 scripts/kconfig/qconf.cc 	prop = menu->prompt;
menu              117 scripts/kconfig/qconf.cc 	prompt = _(menu_get_prompt(menu));
menu              125 scripts/kconfig/qconf.cc 			if (sym && list->rootEntry == menu)
menu              221 scripts/kconfig/qconf.cc 	if (!menu)
menu              224 scripts/kconfig/qconf.cc 	sym_calc_value(menu->sym);
menu              225 scripts/kconfig/qconf.cc 	if (menu->flags & MENU_CHANGED) {
menu              227 scripts/kconfig/qconf.cc 		menu->flags &= ~MENU_CHANGED;
menu              228 scripts/kconfig/qconf.cc 		for (i = (ConfigItem*)menu->data; i; i = i->nextItem)
menu              252 scripts/kconfig/qconf.cc 	if (menu) {
menu              254 scripts/kconfig/qconf.cc 		nextItem = (ConfigItem*)menu->data;
menu              255 scripts/kconfig/qconf.cc 		menu->data = this;
menu              259 scripts/kconfig/qconf.cc 		sym_calc_value(menu->sym);
menu              269 scripts/kconfig/qconf.cc 	if (menu) {
menu              270 scripts/kconfig/qconf.cc 		ConfigItem** ip = (ConfigItem**)&menu->data;
menu              289 scripts/kconfig/qconf.cc 	if (sym_get_string_value(item->menu->sym))
menu              290 scripts/kconfig/qconf.cc 		setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym)));
menu              304 scripts/kconfig/qconf.cc 		sym_set_string_value(item->menu->sym, text().latin1());
menu              389 scripts/kconfig/qconf.cc 	ConfigItem* item = (ConfigItem*)menu->data;
menu              401 scripts/kconfig/qconf.cc 	struct menu *menu;
menu              408 scripts/kconfig/qconf.cc 	menu = item->menu;
menu              409 scripts/kconfig/qconf.cc 	emit menuChanged(menu);
menu              410 scripts/kconfig/qconf.cc 	if (!menu)
menu              412 scripts/kconfig/qconf.cc 	type = menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu              414 scripts/kconfig/qconf.cc 		emit menuSelected(menu);
menu              429 scripts/kconfig/qconf.cc 			if (!item->menu)
menu              431 scripts/kconfig/qconf.cc 			item->testUpdateMenu(menu_is_visible(item->menu));
menu              466 scripts/kconfig/qconf.cc 	sym = item->menu ? item->menu->sym : 0;
menu              478 scripts/kconfig/qconf.cc 		if (oldval == no && item->menu->list)
menu              488 scripts/kconfig/qconf.cc 	struct menu* menu;
menu              491 scripts/kconfig/qconf.cc 	menu = item->menu;
menu              492 scripts/kconfig/qconf.cc 	if (!menu)
menu              494 scripts/kconfig/qconf.cc 	sym = menu->sym;
menu              496 scripts/kconfig/qconf.cc 		if (item->menu->list)
menu              507 scripts/kconfig/qconf.cc 		if (item->menu->list) {
menu              533 scripts/kconfig/qconf.cc 	if (rootEntry == menu)
menu              535 scripts/kconfig/qconf.cc 	type = menu && menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu              539 scripts/kconfig/qconf.cc 	rootEntry = menu;
menu              548 scripts/kconfig/qconf.cc 	struct menu *oldroot;
menu              557 scripts/kconfig/qconf.cc 		if (item->menu == oldroot) {
menu              575 scripts/kconfig/qconf.cc 	struct menu* child;
menu              581 scripts/kconfig/qconf.cc 	if (!menu) {
menu              590 scripts/kconfig/qconf.cc 	for (child = menu->list; child; child = child->next) {
menu              611 scripts/kconfig/qconf.cc 			if (!item || item->menu != child)
menu              624 scripts/kconfig/qconf.cc 		if (item && item->menu == child) {
menu              639 scripts/kconfig/qconf.cc 	struct menu *menu;
menu              661 scripts/kconfig/qconf.cc 		menu = item->menu;
menu              662 scripts/kconfig/qconf.cc 		if (!menu)
menu              664 scripts/kconfig/qconf.cc 		type = menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu              665 scripts/kconfig/qconf.cc 		if (type == P_MENU && rootEntry != menu &&
menu              667 scripts/kconfig/qconf.cc 			emit menuSelected(menu);
menu              700 scripts/kconfig/qconf.cc 	struct menu *menu;
menu              708 scripts/kconfig/qconf.cc 	menu = item->menu;
menu              721 scripts/kconfig/qconf.cc 				} else if (!menu)
menu              723 scripts/kconfig/qconf.cc 				ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu              724 scripts/kconfig/qconf.cc 				if (ptype == P_MENU && rootEntry != menu &&
menu              726 scripts/kconfig/qconf.cc 					emit menuSelected(menu);
menu              762 scripts/kconfig/qconf.cc 	struct menu *menu;
menu              771 scripts/kconfig/qconf.cc 	menu = item->menu;
menu              772 scripts/kconfig/qconf.cc 	if (!menu)
menu              774 scripts/kconfig/qconf.cc 	ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
menu              776 scripts/kconfig/qconf.cc 		emit menuSelected(menu);
menu              777 scripts/kconfig/qconf.cc 	else if (menu->sym)
menu              787 scripts/kconfig/qconf.cc 	struct menu *menu = NULL;
menu              794 scripts/kconfig/qconf.cc 		menu = item->menu;
menu              796 scripts/kconfig/qconf.cc 	emit gotFocus(menu);
menu              923 scripts/kconfig/qconf.cc 	: Parent(parent, name), menu(0), sym(0)
menu              946 scripts/kconfig/qconf.cc 		if (menu)
menu              956 scripts/kconfig/qconf.cc 	if (menu == m)
menu              958 scripts/kconfig/qconf.cc 	menu = m;
menu              960 scripts/kconfig/qconf.cc 	if (!menu)
menu              970 scripts/kconfig/qconf.cc 	menu = NULL;
menu              975 scripts/kconfig/qconf.cc 		struct menu *m;
menu              977 scripts/kconfig/qconf.cc 		if (sscanf(p, "m%p", &m) == 1 && menu != m) {
menu              978 scripts/kconfig/qconf.cc 			menu = m;
menu              980 scripts/kconfig/qconf.cc 			emit menuSelected(menu);
menu             1015 scripts/kconfig/qconf.cc 	sym = menu->sym;
menu             1017 scripts/kconfig/qconf.cc 		if (menu->prompt) {
menu             1019 scripts/kconfig/qconf.cc 			head += print_filter(_(menu->prompt->text));
menu             1044 scripts/kconfig/qconf.cc 		help = menu_get_help(menu);
menu             1047 scripts/kconfig/qconf.cc 			help = print_filter(menu_get_help(menu));
menu             1049 scripts/kconfig/qconf.cc 			help = print_filter(_(menu_get_help(menu)));
menu             1050 scripts/kconfig/qconf.cc 	} else if (menu->prompt) {
menu             1052 scripts/kconfig/qconf.cc 		head += print_filter(_(menu->prompt->text));
menu             1055 scripts/kconfig/qconf.cc 			if (menu->prompt->visible.expr) {
menu             1057 scripts/kconfig/qconf.cc 				expr_print(menu->prompt->visible.expr, expr_print_help, &debug, E_NONE);
menu             1063 scripts/kconfig/qconf.cc 		debug += QString().sprintf("defined at %s:%d<br><br>", menu->file->name, menu->lineno);
menu             1086 scripts/kconfig/qconf.cc 			debug += QString().sprintf("prompt: <a href=\"m%p\">", prop->menu);
menu             1206 scripts/kconfig/qconf.cc 	connect(list->list, SIGNAL(menuChanged(struct menu *)),
menu             1207 scripts/kconfig/qconf.cc 		info, SLOT(setInfo(struct menu *)));
menu             1208 scripts/kconfig/qconf.cc 	connect(list->list, SIGNAL(menuChanged(struct menu *)),
menu             1209 scripts/kconfig/qconf.cc 		parent, SLOT(setMenuLink(struct menu *)));
menu             1262 scripts/kconfig/qconf.cc 			lastItem = new ConfigItem(list->list, lastItem, prop->menu,
menu             1263 scripts/kconfig/qconf.cc 						  menu_is_visible(prop->menu));
menu             1273 scripts/kconfig/qconf.cc 	QMenuBar* menu;
menu             1312 scripts/kconfig/qconf.cc 	menu = menuBar();
menu             1381 scripts/kconfig/qconf.cc 	menu->insertItem(_("&File"), config);
menu             1390 scripts/kconfig/qconf.cc 	menu->insertItem(_("&Edit"), editMenu);
menu             1395 scripts/kconfig/qconf.cc 	menu->insertItem(_("&Option"), optionMenu);
menu             1405 scripts/kconfig/qconf.cc 	menu->insertSeparator();
menu             1406 scripts/kconfig/qconf.cc 	menu->insertItem(_("&Help"), helpMenu);
menu             1410 scripts/kconfig/qconf.cc 	connect(configList, SIGNAL(menuChanged(struct menu *)),
menu             1411 scripts/kconfig/qconf.cc 		helpText, SLOT(setInfo(struct menu *)));
menu             1412 scripts/kconfig/qconf.cc 	connect(configList, SIGNAL(menuSelected(struct menu *)),
menu             1413 scripts/kconfig/qconf.cc 		SLOT(changeMenu(struct menu *)));
menu             1416 scripts/kconfig/qconf.cc 	connect(menuList, SIGNAL(menuChanged(struct menu *)),
menu             1417 scripts/kconfig/qconf.cc 		helpText, SLOT(setInfo(struct menu *)));
menu             1418 scripts/kconfig/qconf.cc 	connect(menuList, SIGNAL(menuSelected(struct menu *)),
menu             1419 scripts/kconfig/qconf.cc 		SLOT(changeMenu(struct menu *)));
menu             1421 scripts/kconfig/qconf.cc 	connect(configList, SIGNAL(gotFocus(struct menu *)),
menu             1422 scripts/kconfig/qconf.cc 		helpText, SLOT(setInfo(struct menu *)));
menu             1423 scripts/kconfig/qconf.cc 	connect(menuList, SIGNAL(gotFocus(struct menu *)),
menu             1424 scripts/kconfig/qconf.cc 		helpText, SLOT(setInfo(struct menu *)));
menu             1425 scripts/kconfig/qconf.cc 	connect(menuList, SIGNAL(gotFocus(struct menu *)),
menu             1427 scripts/kconfig/qconf.cc 	connect(helpText, SIGNAL(menuSelected(struct menu *)),
menu             1428 scripts/kconfig/qconf.cc 		SLOT(setMenuLink(struct menu *)));
menu             1482 scripts/kconfig/qconf.cc 	configList->setRootMenu(menu);
menu             1491 scripts/kconfig/qconf.cc 	struct menu *parent;
menu             1495 scripts/kconfig/qconf.cc 	if (!menu_is_visible(menu) && !configView->showAll())
menu             1501 scripts/kconfig/qconf.cc 		parent = menu_get_parent_menu(menu);
menu             1507 scripts/kconfig/qconf.cc 		if (menu->flags & MENU_ROOT) {
menu             1508 scripts/kconfig/qconf.cc 			configList->setRootMenu(menu);
menu             1513 scripts/kconfig/qconf.cc 			parent = menu_get_parent_menu(menu->parent);
menu             1530 scripts/kconfig/qconf.cc 		item = list->findConfigItem(menu);
menu             1554 scripts/kconfig/qconf.cc 		if (item->menu == configList->rootEntry) {
menu             1691 scripts/kconfig/qconf.cc 	struct menu *child;
menu             1694 scripts/kconfig/qconf.cc 	menu->flags |= MENU_ROOT;
menu             1695 scripts/kconfig/qconf.cc 	for (child = menu->list; child; child = child->next) {
menu               58 scripts/kconfig/qconf.h 	ConfigItem* findConfigItem(struct menu *);
menu               70 scripts/kconfig/qconf.h 	void setRootMenu(struct menu *menu);
menu               78 scripts/kconfig/qconf.h 	void menuChanged(struct menu *menu);
menu               79 scripts/kconfig/qconf.h 	void menuSelected(struct menu *menu);
menu               81 scripts/kconfig/qconf.h 	void gotFocus(struct menu *);
menu              119 scripts/kconfig/qconf.h 	void updateMenuList(P*, struct menu*);
menu              129 scripts/kconfig/qconf.h 	struct menu *rootEntry;
menu              142 scripts/kconfig/qconf.h 	ConfigItem(QListView *parent, ConfigItem *after, struct menu *m, bool v)
menu              143 scripts/kconfig/qconf.h 	: Parent(parent, after), menu(m), visible(v), goParent(false)
menu              147 scripts/kconfig/qconf.h 	ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v)
menu              148 scripts/kconfig/qconf.h 	: Parent(parent, after), menu(m), visible(v), goParent(false)
menu              153 scripts/kconfig/qconf.h 	: Parent(parent, after), menu(0), visible(v), goParent(true)
menu              195 scripts/kconfig/qconf.h 	struct menu *menu;
menu              255 scripts/kconfig/qconf.h 	void setInfo(struct menu *menu);
menu              262 scripts/kconfig/qconf.h 	void menuSelected(struct menu *);
menu              274 scripts/kconfig/qconf.h 	struct menu *menu;
menu              306 scripts/kconfig/qconf.h 	void changeMenu(struct menu *);
menu              307 scripts/kconfig/qconf.h 	void setMenuLink(struct menu *);
menu              400 scripts/kconfig/symbol.c 		if (prop->menu)
menu              401 scripts/kconfig/symbol.c 			prop->menu->flags |= MENU_CHANGED;
menu               34 scripts/kconfig/zconf.y static struct menu *current_menu, *current_entry;
menu               49 scripts/kconfig/zconf.y 	struct menu *menu;
menu               93 scripts/kconfig/zconf.y %type <menu> if_entry menu_entry choice_entry
menu              344 scripts/kconfig/zconf.y menu: T_MENU prompt T_EOL
menu              351 scripts/kconfig/zconf.y menu_entry: menu depends_list
menu              587 scripts/kconfig/zconf.y 	struct symbol *sym = menu->sym;
menu              615 scripts/kconfig/zconf.y 		if (prop->menu != menu)
menu              644 scripts/kconfig/zconf.y 	if (menu->help) {
menu              645 scripts/kconfig/zconf.y 		int len = strlen(menu->help);
menu              646 scripts/kconfig/zconf.y 		while (menu->help[--len] == '\n')
menu              647 scripts/kconfig/zconf.y 			menu->help[len] = 0;
menu              648 scripts/kconfig/zconf.y 		fprintf(out, "  help\n%s\n", menu->help);
menu              657 scripts/kconfig/zconf.y 	struct menu *menu;
menu              659 scripts/kconfig/zconf.y 	menu = rootmenu.list;
menu              660 scripts/kconfig/zconf.y 	while (menu) {
menu              661 scripts/kconfig/zconf.y 		if ((sym = menu->sym))
menu              662 scripts/kconfig/zconf.y 			print_symbol(out, menu);
menu              663 scripts/kconfig/zconf.y 		else if ((prop = menu->prompt)) {
menu              686 scripts/kconfig/zconf.y 		if (menu->list)
menu              687 scripts/kconfig/zconf.y 			menu = menu->list;
menu              688 scripts/kconfig/zconf.y 		else if (menu->next)
menu              689 scripts/kconfig/zconf.y 			menu = menu->next;
menu              690 scripts/kconfig/zconf.y 		else while ((menu = menu->parent)) {
menu              691 scripts/kconfig/zconf.y 			if (menu->prompt && menu->prompt->type == P_MENU)
menu              693 scripts/kconfig/zconf.y 			if (menu->next) {
menu              694 scripts/kconfig/zconf.y 				menu = menu->next;