Lines Matching refs:menu
97 struct menu *current_menu, *current_entry;
1060 ((*yyvaluep).menu)->file->name, ((*yyvaluep).menu)->lineno); in yydestruct()
1061 if (current_menu == ((*yyvaluep).menu)) in yydestruct()
1069 ((*yyvaluep).menu)->file->name, ((*yyvaluep).menu)->lineno); in yydestruct()
1070 if (current_menu == ((*yyvaluep).menu)) in yydestruct()
1078 ((*yyvaluep).menu)->file->name, ((*yyvaluep).menu)->lineno); in yydestruct()
1079 if (current_menu == ((*yyvaluep).menu)) in yydestruct()
1466 (yyval.menu) = menu_add_menu(); in yyparse()
1546 (yyval.menu) = menu_add_menu(); in yyparse()
1569 (yyval.menu) = menu_add_menu(); in yyparse()
2035 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
2037 struct symbol *sym = menu->sym; in print_symbol()
2065 if (prop->menu != menu) in print_symbol()
2111 fprintf(out, "%s\n", prop->menu->sym->name); in print_symbol()
2118 if (menu->help) { in print_symbol()
2119 int len = strlen(menu->help); in print_symbol()
2120 while (menu->help[--len] == '\n') in print_symbol()
2121 menu->help[len] = 0; in print_symbol()
2122 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
2130 struct menu *menu; in zconfdump() local
2132 menu = rootmenu.list; in zconfdump()
2133 while (menu) { in zconfdump()
2134 if ((sym = menu->sym)) in zconfdump()
2135 print_symbol(out, menu); in zconfdump()
2136 else if ((prop = menu->prompt)) { in zconfdump()
2158 if (menu->list) in zconfdump()
2159 menu = menu->list; in zconfdump()
2160 else if (menu->next) in zconfdump()
2161 menu = menu->next; in zconfdump()
2162 else while ((menu = menu->parent)) { in zconfdump()
2163 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
2165 if (menu->next) { in zconfdump()
2166 menu = menu->next; in zconfdump()