Lines Matching refs:child
579 struct menu* child; in updateMenuList() local
597 for (child = menu->list; child; child = child->next) { in updateMenuList()
599 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
603 if (!(child->flags & MENU_ROOT)) in updateMenuList()
607 if (child->flags & MENU_ROOT) in updateMenuList()
614 visible = menu_is_visible(child); in updateMenuList()
615 if (!menuSkip(child)) { in updateMenuList()
616 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
618 if (!item || item->menu != child) in updateMenuList()
619 item = new ConfigItem(parent, last, child, visible); in updateMenuList()
624 updateMenuList(item, child); in updateMenuList()
631 if (item && item->menu == child) { in updateMenuList()
644 struct menu* child; in updateMenuList() local
662 for (child = menu->list; child; child = child->next) { in updateMenuList()
664 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
668 if (!(child->flags & MENU_ROOT)) in updateMenuList()
672 if (child->flags & MENU_ROOT) in updateMenuList()
679 visible = menu_is_visible(child); in updateMenuList()
680 if (!menuSkip(child)) { in updateMenuList()
681 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
683 if (!item || item->menu != child) in updateMenuList()
684 item = new ConfigItem(parent, last, child, visible); in updateMenuList()
689 updateMenuList(item, child); in updateMenuList()
696 if (item && item->menu == child) { in updateMenuList()
1831 struct menu *child; in fixup_rootmenu() local
1835 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
1836 if (child->prompt && child->prompt->type == P_MENU) { in fixup_rootmenu()
1838 fixup_rootmenu(child); in fixup_rootmenu()
1841 fixup_rootmenu(child); in fixup_rootmenu()