/frameworks/compile/mclinker/unittests/ |
D | FragmentRefTest.cpp | 53 RegionFragment *frag = new RegionFragment(region); variable 54 FragmentRef *ref = FragmentRef::Create(*frag, 0x0); 58 ASSERT_EQ('H', frag->getRegion().data()[0]); 59 ASSERT_TRUE(4096 == frag->getRegion().size()); 60 ASSERT_EQ(frag, ref->frag()); 61 ASSERT_EQ('H', static_cast<RegionFragment*>(ref->frag())->getRegion().data()[0]); 62 ASSERT_TRUE(4096 == static_cast<RegionFragment*>(ref->frag())->getRegion().size()); 65 ASSERT_TRUE(RegionFragment::classof(frag)); 67 delete frag;
|
D | MCRegionFragmentTest.cpp | 52 MCRegionFragment *frag = new MCRegionFragment(*region); in TEST_F() local 54 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); in TEST_F() 55 ASSERT_TRUE(MCRegionFragment::classof(frag)); in TEST_F() 56 delete frag; in TEST_F() 67 llvm::MCFragment *frag = new MCRegionFragment(*region); in TEST_F() local 69 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); in TEST_F() 70 ASSERT_TRUE(MCRegionFragment::classof(frag)); in TEST_F() 71 delete frag; in TEST_F()
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | FragmentRef.cpp | 55 Fragment* frag = &pFrag; in Create() local 57 while (NULL != frag) { in Create() 58 offset -= frag->size(); in Create() 61 frag = frag->getNextNode(); in Create() 63 if ((frag != NULL) && (frag->size() != 0)) { in Create() 65 frag = frag->getNextNode(); in Create() 67 offset += frag->size(); in Create() 70 if (NULL == frag) in Create() 74 new (result) FragmentRef(*frag, offset); in Create()
|
D | Relocation.cpp | 78 m_TargetAddress.assign(*pTargetRef->frag(), pTargetRef->offset()) ; in Relocation() 87 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place() 96 return fragRef->frag()->getParent()->getSection().addr() + in symValue()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 604 symbol->fragRef()->frag()->getParent()->getSection().addr(); in doRelax() 801 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols() local 807 ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 810 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 815 ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 818 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 823 ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 826 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 831 ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 834 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() [all …]
|
D | HexagonPLT.cpp | 88 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 89 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 90 frag->setOffset(offset); in finalizeSectionSize() 91 offset += frag->size(); in finalizeSectionSize()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GOT.cpp | 36 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize() local 37 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 38 frag->setOffset(offset); in finalizeSectionSize() 39 offset += frag->size(); in finalizeSectionSize()
|
/frameworks/compile/mclinker/lib/LD/ |
D | BranchIslandFactory.cpp | 50 Fragment* frag = (*it).getPrevNode(); in group() local 51 while (frag != NULL && frag->getKind() == Fragment::Alignment) { in group() 52 frag = frag->getPrevNode(); in group() 54 if (frag != NULL) { in group() 55 produce(*frag); in group()
|
D | EhFrame.cpp | 329 Fragment* frag = in_frag_list.remove(in_frag_list.begin()); in moveInputFragments() local 330 out_frag_list.push_back(frag); in moveInputFragments() 331 frag->setParent(&out_sd); in moveInputFragments() 345 Fragment* frag = in_frag_list.remove(SectionData::iterator(pInCIE)); in moveInputFragments() local 346 out_frag_list.push_back(frag); in moveInputFragments() 347 frag->setParent(&out_sd); in moveInputFragments() 349 frag = in_frag_list.remove(SectionData::iterator(**i)); in moveInputFragments() 350 out_frag_list.push_back(frag); in moveInputFragments() 351 frag->setParent(&out_sd); in moveInputFragments() 359 Fragment* frag = in_frag_list.remove(SectionData::iterator(**i)); in moveInputFragments() local [all …]
|
D | StubFactory.cpp | 48 const Fragment* frag = pReloc.targetRef().frag(); in create() local 51 pBRIslandFactory.getIslands(*frag); in create()
|
D | GarbageCollection.cpp | 174 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSections() 222 pEntry.push_back(&entry_sym->fragRef()->frag()->getParent()->getSection()); in getEntrySections() 243 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections() 269 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections() 288 const LDSection* sect = &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
|
/frameworks/rs/driver/ |
D | rsdShaderCache.cpp | 70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms() argument 78 for (uint32_t ct=0; ct < frag->getUniformCount(); ct++) { in hasArrayUniforms() 110 RsdShader *frag = mFragment; in link() local 113 uint32_t fID = frag->getStateBasedShaderID(rsc); in link() 121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link() 134 frag->getUniformCount()); in link() 138 e->frag = fID; in link() 180 populateUniformData(frag, pgm, e->fragUniforms); in link() 185 bool hasArrays = hasArrayUniforms(vtx, frag); in link() 211 updateUniformArrayData(rsc, frag, pgm, e->fragUniforms, "frag", in link() [all …]
|
D | rsdShaderCache.h | 104 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), in ProgramEntry() 138 uint32_t frag; member 149 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMGOT.cpp | 61 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize() local 62 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 63 frag->setOffset(offset); in finalizeSectionSize() 64 offset += frag->size(); in finalizeSectionSize()
|
D | ARMPLT.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()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64GOT.cpp | 65 SectionData::iterator frag, fragEnd = m_SectionData->end(); in finalizeSectionSize() local 66 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 67 frag->setOffset(offset); in finalizeSectionSize() 68 offset += frag->size(); in finalizeSectionSize()
|
D | AArch64PLT.cpp | 52 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 53 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 54 frag->setOffset(offset); in finalizeSectionSize() 55 offset += frag->size(); in finalizeSectionSize()
|
D | AArch64Relocator.cpp | 132 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); in defineSymbolforCopyReloc() local 133 uint64_t size = ObjectBuilder::AppendFragment(*frag, *bss_data, addralign); in defineSymbolforCopyReloc() 149 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 171 *pReloc.targetRef().frag(), in scanLocalReloc() 187 *pReloc.targetRef().frag(), in scanLocalReloc() 256 *pReloc.targetRef().frag(), in scanGlobalReloc() 264 *pReloc.targetRef().frag(), in scanGlobalReloc() 434 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in abs() 486 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in rel()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsPLT.cpp | 78 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 79 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 80 frag->setOffset(offset); in finalizeSectionSize() 81 offset += frag->size(); in finalizeSectionSize()
|
D | MipsLDBackend.cpp | 380 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readSection() local 381 ObjectBuilder::AppendFragment(*frag, pSD); in readSection() 559 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols() local 563 tbss_offset += ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 567 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 571 bss_offset += ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 575 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 589 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols() local 593 tbss_offset += ObjectBuilder::AppendFragment(*frag, in allocateCommonSymbols() 597 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() [all …]
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectBuilder.cpp | 139 SectionData::FragmentListType::iterator frag, fragEnd = from_list.end(); in MoveSectionData() local 140 for (frag = from_list.begin(); frag != fragEnd; ++frag) { in MoveSectionData() 141 frag->setParent(&pTo); in MoveSectionData() 142 frag->setOffset(offset); in MoveSectionData() 143 offset += frag->size(); in MoveSectionData()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 139 void dumpFragmentStats(const Fragment &frag); 527 int64_t delayMs = (nowUs - frag.mTimeUs) / 1000ll; in dumpFragmentStats() 545 frag.mTimeUs / 1000, in dumpFragmentStats() 557 const Fragment &frag = *mOutFragments.begin(); in writeMore() local 558 const sp<ABuffer> &datagram = frag.mBuffer; in writeMore() 568 if (frag.mFlags & FRAGMENT_FLAG_TIME_VALID) { in writeMore() 569 dumpFragmentStats(frag); in writeMore() 628 const Fragment &frag = *mOutFragments.begin(); in writeMore() local 631 n = send(mSocket, frag.mBuffer->data(), frag.mBuffer->size(), 0); in writeMore() 638 frag.mBuffer->setRange( in writeMore() [all …]
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86PLT.cpp | 115 SectionData::iterator frag, fragEnd = m_pSectionData->end(); in finalizeSectionSize() local 116 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) { in finalizeSectionSize() 117 frag->setOffset(offset); in finalizeSectionSize() 118 offset += frag->size(); in finalizeSectionSize()
|
D | X86Relocator.cpp | 249 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); in defineSymbolforCopyReloc() local 250 uint64_t size = ObjectBuilder::AppendFragment(*frag, in defineSymbolforCopyReloc() 268 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 286 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 363 *pReloc.targetRef().frag(), in scanLocalReloc() 377 helper_DynRel_init(rsym, *pReloc.targetRef().frag(), in scanLocalReloc() 434 &rsym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in scanLocalReloc() 481 helper_DynRel_init(rsym, *pReloc.targetRef().frag(), in scanLocalReloc() 531 *pReloc.targetRef().frag(), in scanLocalReloc() 591 *pReloc.targetRef().frag(), in scanGlobalReloc() [all …]
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | FragmentRef.h | 67 Fragment* frag() in frag() function 70 const Fragment* frag() const in frag() function
|