/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/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/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/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 | 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 | 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 | IdenticalCodeFolding.cpp | 107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection()); in foldIdenticalCode() 146 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates() 218 SectionData::const_iterator frag, fragEnd = sect->getSectionData()->end(); in initConstantContent() local 219 for (frag = sect->getSectionData()->begin(); frag != fragEnd; ++frag) { in initConstantContent() 220 switch (frag->getKind()) { in initConstantContent() 222 const RegionFragment& region = llvm::cast<RegionFragment>(*frag); in initConstantContent() 251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent() 259 &sym->fragRef()->frag()->getParent()->getSection()) != in initConstantContent() 286 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/rs/driver/ |
D | rsdShaderCache.cpp | 77 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms() argument 85 for (uint32_t ct=0; ct < frag->getUniformCount(); ct++) { in hasArrayUniforms() 117 RsdShader *frag = mFragment; in link() local 120 uint32_t fID = frag->getStateBasedShaderID(rsc); in link() 128 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link() 141 frag->getUniformCount()); in link() 145 e->frag = fID; in link() 189 populateUniformData(frag, pgm, e->fragUniforms); in link() 194 bool hasArrays = hasArrayUniforms(vtx, frag); in link() 220 updateUniformArrayData(rsc, frag, pgm, e->fragUniforms, "frag", in link() [all …]
|
/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()
|
D | MipsLDBackend.cpp | 454 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readSection() local 455 ObjectBuilder::AppendFragment(*frag, pSD); in readSection() 626 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols() local 631 *frag, *tbss_sect_data, (*com_sym)->value()); in allocateCommonSymbols() 633 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 637 *frag, *bss_sect_data, (*com_sym)->value()); in allocateCommonSymbols() 639 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 653 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); in allocateCommonSymbols() local 658 *frag, *tbss_sect_data, (*com_sym)->value()); in allocateCommonSymbols() 660 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
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 | 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 | 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()
|
/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/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 | 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/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentAlertDialogSupport.java | 78 MyAlertDialogFragment frag = new MyAlertDialogFragment(); in newInstance() local 81 frag.setArguments(args); in newInstance() 82 return frag; in newInstance()
|