Lines Matching refs:parent

51 	menu->parent = current_menu;  in menu_add_entry()
74 current_menu = current_menu->parent; in menu_end_menu()
205 void menu_finalize(struct menu *parent) in menu_finalize() argument
212 sym = parent->sym; in menu_finalize()
213 if (parent->list) { in menu_finalize()
216 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
218 current_entry = parent; in menu_finalize()
226 } else if (parent->prompt) in menu_finalize()
227 parentdep = parent->prompt->visible.expr; in menu_finalize()
229 parentdep = parent->dep; in menu_finalize()
231 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
256 for (menu = parent->list; menu; menu = menu->next) in menu_finalize()
259 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; in menu_finalize()
263 for (menu = parent->next; menu; menu = menu->next) { in menu_finalize()
281 menu->parent = parent; in menu_finalize()
285 parent->list = parent->next; in menu_finalize()
286 parent->next = last_menu->next; in menu_finalize()
290 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
316 last_menu->parent = parent; in menu_finalize()
328 menu_warn(parent, "config symbol defined " in menu_finalize()
331 if (sym_is_choice(sym) && !parent->prompt) in menu_finalize()
332 menu_warn(parent, "choice must have a prompt\n"); in menu_finalize()
339 if (sym && !sym_is_optional(sym) && parent->prompt) { in menu_finalize()
341 expr_alloc_and(parent->prompt->visible.expr, in menu_finalize()
390 for (; menu != &rootmenu; menu = menu->parent) { in menu_get_parent_menu()