Lines Matching refs:pTo
130 bool ObjectBuilder::MoveSectionData(SectionData& pFrom, SectionData& pTo) { in MoveSectionData() argument
131 assert(&pFrom != &pTo && "Cannot move section data to itself!"); in MoveSectionData()
133 uint64_t offset = pTo.getSection().size(); in MoveSectionData()
143 align->setParent(&pTo); in MoveSectionData()
144 pTo.getFragmentList().push_back(align); in MoveSectionData()
150 SectionData::FragmentListType& to_list = pTo.getFragmentList(); in MoveSectionData()
153 frag->setParent(&pTo); in MoveSectionData()
160 pTo.getSection().setSize(offset); in MoveSectionData()
166 void ObjectBuilder::UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom) { in UpdateSectionAlign() argument
167 if (pFrom.align() > pTo.align()) in UpdateSectionAlign()
168 pTo.setAlign(pFrom.align()); in UpdateSectionAlign()