Lines Matching refs:child
610 struct menu* child; in updateMenuList() local
627 for (child = menu->list; child; child = child->next) { in updateMenuList()
629 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
633 if (!(child->flags & MENU_ROOT)) in updateMenuList()
637 if (child->flags & MENU_ROOT) in updateMenuList()
644 if (!menuSkip(child)) { in updateMenuList()
645 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
647 if (!item || item->menu != child) in updateMenuList()
648 item = new ConfigItem(parent, last, child); in updateMenuList()
653 updateMenuList(item, child); in updateMenuList()
660 if (item && item->menu == child) { in updateMenuList()
673 struct menu* child; in updateMenuList() local
690 for (child = menu->list; child; child = child->next) { in updateMenuList()
692 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
696 if (!(child->flags & MENU_ROOT)) in updateMenuList()
700 if (child->flags & MENU_ROOT) in updateMenuList()
707 if (!menuSkip(child)) { in updateMenuList()
708 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
710 if (!item || item->menu != child) in updateMenuList()
711 item = new ConfigItem(this, last, child); in updateMenuList()
716 updateMenuList(item, child); in updateMenuList()
723 if (item && item->menu == child) { in updateMenuList()
1788 struct menu *child; in fixup_rootmenu() local
1792 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
1793 if (child->prompt && child->prompt->type == P_MENU) { in fixup_rootmenu()
1795 fixup_rootmenu(child); in fixup_rootmenu()
1798 fixup_rootmenu(child); in fixup_rootmenu()