Lines Matching refs:parent

55 	menu->parent = current_menu;  in menu_add_entry()
76 current_menu = current_menu->parent; in menu_end_menu()
174 while ((menu = menu->parent) != NULL) { in menu_add_prompt()
285 void menu_finalize(struct menu *parent) in menu_finalize() argument
292 sym = parent->sym; in menu_finalize()
293 if (parent->list) { in menu_finalize()
302 current_entry = parent; in menu_finalize()
303 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
311 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
326 parentdep = parent->dep; in menu_finalize()
330 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
408 for (menu = parent->list; menu; menu = menu->next) in menu_finalize()
433 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; in menu_finalize()
439 for (menu = parent->next; menu; menu = menu->next) { in menu_finalize()
471 menu->parent = parent; in menu_finalize()
476 parent->list = parent->next; in menu_finalize()
477 parent->next = last_menu->next; in menu_finalize()
481 sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); in menu_finalize()
483 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
497 prop->menu->parent->sym != sym) in menu_finalize()
554 last_menu->parent = parent; in menu_finalize()
566 menu_warn(parent, "config symbol defined without type"); in menu_finalize()
568 if (sym_is_choice(sym) && !parent->prompt) in menu_finalize()
569 menu_warn(parent, "choice must have a prompt"); in menu_finalize()
585 if (sym && !sym_is_optional(sym) && parent->prompt) { in menu_finalize()
587 expr_alloc_and(parent->prompt->visible.expr, in menu_finalize()
666 for (; menu != &rootmenu; menu = menu->parent) { in menu_get_parent_menu()
729 for (i = 0; menu != &rootmenu && i < 8; menu = menu->parent) { in get_prompt_str()