/frameworks/compile/mclinker/unittests/ |
D | FragmentRefTest.cpp | 51 RegionFragment* frag = new RegionFragment(region); variable 52 FragmentRef* ref = FragmentRef::Create(*frag, 0x0); 56 ASSERT_EQ('H', frag->getRegion().data()[0]); 57 ASSERT_TRUE(4096 == frag->getRegion().size()); 58 ASSERT_EQ(frag, ref->frag()); 60 static_cast<RegionFragment*>(ref->frag())->getRegion().data()[0]); 62 static_cast<RegionFragment*>(ref->frag())->getRegion().size()); 65 ASSERT_TRUE(RegionFragment::classof(frag)); 67 delete frag;
|
D | MCRegionFragmentTest.cpp | 47 MCRegionFragment* frag = new MCRegionFragment(*region); in TEST_F() local 49 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); in TEST_F() 50 ASSERT_TRUE(MCRegionFragment::classof(frag)); in TEST_F() 51 delete frag; in TEST_F() 62 llvm::MCFragment* frag = new MCRegionFragment(*region); in TEST_F() local 64 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); in TEST_F() 65 ASSERT_TRUE(MCRegionFragment::classof(frag)); in TEST_F() 66 delete frag; in TEST_F()
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | FragmentRef.cpp | 52 Fragment* frag = &pFrag; in Create() local 54 while (frag != NULL) { in Create() 55 offset -= frag->size(); in Create() 58 frag = frag->getNextNode(); in Create() 60 if ((frag != NULL) && (frag->size() != 0)) { in Create() 62 frag = frag->getNextNode(); in Create() 64 offset += frag->size(); in Create() 67 if (frag == NULL) in Create() 71 new (result) FragmentRef(*frag, offset); in Create()
|
D | Relocation.cpp | 75 m_TargetAddress.assign(*pTargetRef->frag(), pTargetRef->offset()); in Relocation() 82 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place() 90 return fragRef->frag()->getParent()->getSection().addr() + in symValue()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GOT.cpp | 33 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize() local 34 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 35 frag->setOffset(offset); in finalizeSectionSize() 36 offset += frag->size(); in finalizeSectionSize()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 572 symbol->fragRef()->frag()->getParent()->getSection().addr(); in doRelax() 791 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols() local 798 *frag, *(m_pscommon_1->getSectionData()), (*com_sym)->value()); in allocateCommonSymbols() 799 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 805 *frag, *(m_pscommon_2->getSectionData()), (*com_sym)->value()); in allocateCommonSymbols() 806 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 812 *frag, *(m_pscommon_4->getSectionData()), (*com_sym)->value()); in allocateCommonSymbols() 813 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 819 *frag, *(m_pscommon_8->getSectionData()), (*com_sym)->value()); in allocateCommonSymbols() 820 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() [all …]
|
D | HexagonPLT.cpp | 80 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 81 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 82 frag->setOffset(offset); in finalizeSectionSize() 83 offset += frag->size(); in finalizeSectionSize()
|
/frameworks/base/core/java/android/app/ |
D | FragmentState.java | 41 FragmentState(Fragment frag) { in FragmentState() argument 42 mClassName = frag.getClass().getName(); in FragmentState() 43 mIndex = frag.mIndex; in FragmentState() 44 mFromLayout = frag.mFromLayout; in FragmentState() 45 mFragmentId = frag.mFragmentId; in FragmentState() 46 mContainerId = frag.mContainerId; in FragmentState() 47 mTag = frag.mTag; in FragmentState() 48 mRetainInstance = frag.mRetainInstance; in FragmentState() 49 mDetached = frag.mDetached; in FragmentState() 50 mArguments = frag.mArguments; in FragmentState() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | BranchIslandFactory.cpp | 49 Fragment* frag = (*it).getPrevNode(); in group() local 50 while (frag != NULL && frag->getKind() == Fragment::Alignment) { in group() 51 frag = frag->getPrevNode(); in group() 53 if (frag != NULL) { in group() 54 produce(*frag); in group()
|
D | DebugString.cpp | 46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it)); in merge() local 47 strings = frag->getRegion().data(); in merge() 73 if (info->outSymbol()->fragRef()->frag()->getKind() == Fragment::Region) { in applyOffset() 74 RegionFragment* frag = in applyOffset() local 75 llvm::cast<RegionFragment>(info->outSymbol()->fragRef()->frag()); in applyOffset() 76 d_str = frag->getRegion(); in applyOffset()
|
D | EhFrame.cpp | 320 Fragment* frag = in_frag_list.remove(in_frag_list.begin()); in moveInputFragments() local 321 out_frag_list.push_back(frag); in moveInputFragments() 322 frag->setParent(&out_sd); in moveInputFragments() 334 Fragment* frag = in_frag_list.remove(SectionData::iterator(pInCIE)); in moveInputFragments() local 335 out_frag_list.push_back(frag); in moveInputFragments() 336 frag->setParent(&out_sd); in moveInputFragments() 338 frag = in_frag_list.remove(SectionData::iterator(**i)); in moveInputFragments() 339 out_frag_list.push_back(frag); in moveInputFragments() 340 frag->setParent(&out_sd); in moveInputFragments() 348 Fragment* frag = in_frag_list.remove(SectionData::iterator(**i)); in moveInputFragments() local [all …]
|
D | IdenticalCodeFolding.cpp | 107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection()); in foldIdenticalCode() 145 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates() 217 SectionData::const_iterator frag, fragEnd = sect->getSectionData()->end(); in initConstantContent() local 218 for (frag = sect->getSectionData()->begin(); frag != fragEnd; ++frag) { in initConstantContent() 219 switch (frag->getKind()) { in initConstantContent() 221 const RegionFragment& region = llvm::cast<RegionFragment>(*frag); in initConstantContent() 250 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent() 258 &sym->fragRef()->frag()->getParent()->getSection()) != in initConstantContent() 285 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in getContentWithVariables()
|
D | StubFactory.cpp | 48 const Fragment* frag = pReloc.targetRef().frag(); in create() local 51 pBRIslandFactory.getIslands(*frag); in create() 88 pBRIslandFactory.getIslands(*(pFragRef.frag())); in create()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsPLT.cpp | 67 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 68 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 69 frag->setOffset(offset); in finalizeSectionSize() 70 offset += frag->size(); in finalizeSectionSize()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMGOT.cpp | 55 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize() local 56 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 57 frag->setOffset(offset); in finalizeSectionSize() 58 offset += frag->size(); in finalizeSectionSize()
|
D | ARMLDBackend.cpp | 511 AlignFragment* frag = in mergeSection() local 516 frag->setOffset(0); in mergeSection() 517 frag->setParent(sectData); in mergeSection() 518 sectData->getFragmentList().push_back(frag); in mergeSection() 519 m_pEXIDX->setSize(frag->size()); in mergeSection() 528 SectionData::FragmentListType::iterator frag = src.begin(); in mergeSection() local 530 while (frag != fragEnd) { in mergeSection() 531 if (frag->getKind() != Fragment::Region) { in mergeSection() 532 ++frag; in mergeSection() 534 frag->setParent(m_pEXIDX->getSectionData()); in mergeSection() [all …]
|
D | ARMPLT.cpp | 48 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 49 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 50 frag->setOffset(offset); in finalizeSectionSize() 51 offset += frag->size(); in finalizeSectionSize()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64GOT.cpp | 58 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize() local 59 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 60 frag->setOffset(offset); in finalizeSectionSize() 61 offset += frag->size(); in finalizeSectionSize()
|
D | AArch64PLT.cpp | 51 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 52 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 53 frag->setOffset(offset); in finalizeSectionSize() 54 offset += frag->size(); in finalizeSectionSize()
|
D | AArch64CA53Erratum843419Stub2.cpp | 52 pFragRef.frag()->size()) { in isMyDuty() 57 const uint64_t vma = pFragRef.frag()->getParent()->getSection().addr() + in isMyDuty()
|
/frameworks/rs/driver/ |
D | rsdShaderCache.cpp | 74 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms() argument 82 for (uint32_t ct=0; ct < frag->getUniformCount(); ct++) { in hasArrayUniforms() 114 RsdShader *frag = mFragment; in link() local 117 uint32_t fID = frag->getStateBasedShaderID(rsc); in link() 125 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link() 137 frag->getUniformCount()); in link() 141 e->frag = fID; in link() 185 populateUniformData(frag, pgm, e->fragUniforms); in link() 190 bool hasArrays = hasArrayUniforms(vtx, frag); in link() 216 updateUniformArrayData(rsc, frag, pgm, e->fragUniforms, "frag", in link() [all …]
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectBuilder.cpp | 151 SectionData::FragmentListType::iterator frag, fragEnd = from_list.end(); in MoveSectionData() local 152 for (frag = from_list.begin(); frag != fragEnd; ++frag) { in MoveSectionData() 153 frag->setParent(&pTo); in MoveSectionData() 154 frag->setOffset(offset); in MoveSectionData() 155 offset += frag->size(); in MoveSectionData()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86PLT.cpp | 103 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 104 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 105 frag->setOffset(offset); in finalizeSectionSize() 106 offset += frag->size(); in finalizeSectionSize()
|
D | X86Relocator.cpp | 226 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); in defineSymbolforCopyReloc() local 227 uint64_t size = ObjectBuilder::AppendFragment(*frag, *bss_section, addralign); in defineSymbolforCopyReloc() 243 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 261 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 329 *pReloc.targetRef().frag(), in scanLocalReloc() 344 *pReloc.targetRef().frag(), in scanLocalReloc() 397 &rsym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in scanLocalReloc() 444 *pReloc.targetRef().frag(), in scanLocalReloc() 494 *pReloc.targetRef().frag(), in scanLocalReloc() 554 *pReloc.targetRef().frag(), in scanGlobalReloc() [all …]
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | FragmentRef.h | 66 Fragment* frag() { return m_pFragment; } in frag() function 68 const Fragment* frag() const { return m_pFragment; } in frag() function
|