Lines Matching refs:child
598 struct menu* child; in updateMenuList() local
616 for (child = menu->list; child; child = child->next) { in updateMenuList()
618 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
622 if (!(child->flags & MENU_ROOT)) in updateMenuList()
626 if (child->flags & MENU_ROOT) in updateMenuList()
633 visible = menu_is_visible(child); in updateMenuList()
634 if (!menuSkip(child)) { in updateMenuList()
635 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
637 if (!item || item->menu != child) in updateMenuList()
638 item = new ConfigItem(parent, last, child, visible); in updateMenuList()
643 updateMenuList(item, child); in updateMenuList()
650 if (item && item->menu == child) { in updateMenuList()
663 struct menu* child; in updateMenuList() local
681 for (child = menu->list; child; child = child->next) { in updateMenuList()
683 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
687 if (!(child->flags & MENU_ROOT)) in updateMenuList()
691 if (child->flags & MENU_ROOT) in updateMenuList()
698 visible = menu_is_visible(child); in updateMenuList()
699 if (!menuSkip(child)) { in updateMenuList()
700 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
702 if (!item || item->menu != child) in updateMenuList()
703 item = new ConfigItem(this, last, child, visible); in updateMenuList()
708 updateMenuList(item, child); in updateMenuList()
715 if (item && item->menu == child) { in updateMenuList()
1862 struct menu *child; in fixup_rootmenu() local
1866 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
1867 if (child->prompt && child->prompt->type == P_MENU) { in fixup_rootmenu()
1869 fixup_rootmenu(child); in fixup_rootmenu()
1872 fixup_rootmenu(child); in fixup_rootmenu()