Searched refs:frag (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/compile/mclinker/unittests/
H A DFragmentRefTest.cpp53 RegionFragment *frag = new RegionFragment(region); local
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;
[all...]
H A DMCRegionFragmentTest.cpp52 MCRegionFragment *frag = new MCRegionFragment(*region); local
54 ASSERT_FALSE(llvm::MCDataFragment::classof(frag));
55 ASSERT_TRUE(MCRegionFragment::classof(frag));
56 delete frag;
67 llvm::MCFragment *frag = new MCRegionFragment(*region); local
69 ASSERT_FALSE(llvm::MCDataFragment::classof(frag));
70 ASSERT_TRUE(MCRegionFragment::classof(frag));
71 delete frag;
/frameworks/compile/mclinker/lib/Target/
H A DGOT.cpp36 SectionData::iterator frag, fragEnd = m_SectionData->end(); local
37 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) {
38 frag->setOffset(offset);
39 offset += frag->size();
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp55 Fragment* frag = &pFrag; local
57 while (NULL != frag) {
58 offset -= frag->size();
61 frag = frag->getNextNode();
63 if ((frag != NULL) && (frag->size() != 0)) {
65 frag = frag->getNextNode();
67 offset += frag
[all...]
H A DRelocation.cpp78 m_TargetAddress.assign(*pTargetRef->frag(), pTargetRef->offset()) ;
87 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr();
96 return fragRef->frag()->getParent()->getSection().addr() +
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp50 Fragment* frag = (*it).getPrevNode(); local
51 while (frag != NULL && frag->getKind() == Fragment::Alignment) {
52 frag = frag->getPrevNode();
54 if (frag != NULL) {
55 produce(*frag);
H A DEhFrame.cpp329 Fragment* frag = in_frag_list.remove(in_frag_list.begin()); local
330 out_frag_list.push_back(frag);
331 frag->setParent(&out_sd);
345 Fragment* frag = in_frag_list.remove(SectionData::iterator(pInCIE)); local
346 out_frag_list.push_back(frag);
347 frag->setParent(&out_sd);
349 frag = in_frag_list.remove(SectionData::iterator(**i));
350 out_frag_list.push_back(frag);
351 frag->setParent(&out_sd);
359 Fragment* frag local
371 Fragment& frag = *i; local
[all...]
H A DStubFactory.cpp48 const Fragment* frag = pReloc.targetRef().frag(); local
51 pBRIslandFactory.getIslands(*frag);
H A DELFBinaryReader.cpp62 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); local
63 m_Builder.AppendFragment(*frag, *data);
H A DGarbageCollection.cpp174 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection();
222 pEntry.push_back(&entry_sym->fragRef()->frag()->getParent()->getSection());
243 &sym->fragRef()->frag()->getParent()->getSection();
269 &sym->fragRef()->frag()->getParent()->getSection();
288 const LDSection* sect = &sym->fragRef()->frag()->getParent()->getSection();
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp604 symbol->fragRef()->frag()->getParent()->getSection().addr();
801 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); local
807 ObjectBuilder::AppendFragment(*frag,
810 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0));
815 ObjectBuilder::AppendFragment(*frag,
818 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0));
823 ObjectBuilder::AppendFragment(*frag,
826 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0));
831 ObjectBuilder::AppendFragment(*frag,
834 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag,
866 Fragment* frag = new FillFragment(0x0, 1, (*com_sym)->size()); local
931 SectionData::FragmentListType::iterator frag, fragEnd = to_list.end(); local
973 Fragment* frag = NULL; local
1001 SectionData::FragmentListType::iterator frag, fragEnd = to_list.end(); local
[all...]
H A DHexagonPLT.cpp88 SectionData::iterator frag, fragEnd = m_pSectionData->end(); local
89 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) {
90 frag->setOffset(offset);
91 offset += frag->size();
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.cpp65 SectionData::iterator frag, fragEnd = m_SectionData->end(); local
66 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) {
67 frag->setOffset(offset);
68 offset += frag->size();
H A DAArch64PLT.cpp52 SectionData::iterator frag, fragEnd = m_pSectionData->end(); local
53 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) {
54 frag->setOffset(offset);
55 offset += frag->size();
H A DAArch64Relocator.cpp132 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); local
133 uint64_t size = ObjectBuilder::AppendFragment(*frag, *bss_data, addralign);
149 FragmentRef::Create(*frag, 0x0),
171 *pReloc.targetRef().frag(),
187 *pReloc.targetRef().frag(),
256 *pReloc.targetRef().frag(),
264 *pReloc.targetRef().frag(),
434 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection();
486 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection();
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp61 SectionData::iterator frag, fragEnd = m_SectionData->end(); local
62 for (frag = m_SectionData->begin(); frag != fragEnd; ++frag) {
63 frag->setOffset(offset);
64 offset += frag->size();
H A DARMPLT.cpp51 SectionData::iterator frag, fragEnd = m_pSectionData->end(); local
52 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) {
53 frag->setOffset(offset);
54 offset += frag->size();
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsPLT.cpp78 SectionData::iterator frag, fragEnd = m_pSectionData->end(); local
79 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) {
80 frag->setOffset(offset);
81 offset += frag->size();
/frameworks/rs/driver/
H A DrsdShaderCache.cpp70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { argument
78 for (uint32_t ct=0; ct < frag->getUniformCount(); ct++) {
110 RsdShader *frag = mFragment; local
113 uint32_t fID = frag->getStateBasedShaderID(rsc);
121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) {
134 frag->getUniformCount());
138 e->frag = fID;
180 populateUniformData(frag, pgm, e->fragUniforms);
185 bool hasArrays = hasArrayUniforms(vtx, frag);
211 updateUniformArrayData(rsc, frag, pg
[all...]
H A DrsdShaderCache.h104 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0),
138 uint32_t frag; member in struct:RsdShaderCache::ProgramEntry
149 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DFragmentRef.h67 Fragment* frag() function in class:mcld::FragmentRef
70 const Fragment* frag() const function in class:mcld::FragmentRef
/frameworks/compile/mclinker/lib/Object/
H A DObjectBuilder.cpp139 SectionData::FragmentListType::iterator frag, fragEnd = from_list.end(); local
140 for (frag = from_list.begin(); frag != fragEnd; ++frag) {
141 frag->setParent(&pTo);
142 frag->setOffset(offset);
143 offset += frag->size();
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86PLT.cpp115 SectionData::iterator frag, fragEnd = m_pSectionData->end(); local
116 for (frag = m_pSectionData->begin(); frag != fragEnd; ++frag) {
117 frag->setOffset(offset);
118 offset += frag->size();
H A DX86Relocator.cpp249 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); local
250 uint64_t size = ObjectBuilder::AppendFragment(*frag,
268 FragmentRef::Create(*frag, 0x0),
286 FragmentRef::Create(*frag, 0x0),
363 *pReloc.targetRef().frag(),
377 helper_DynRel_init(rsym, *pReloc.targetRef().frag(),
434 &rsym->outSymbol()->fragRef()->frag()->getParent()->getSection();
481 helper_DynRel_init(rsym, *pReloc.targetRef().frag(),
531 *pReloc.targetRef().frag(),
591 *pReloc.targetRef().frag(),
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp139 void dumpFragmentStats(const Fragment &frag);
524 void ANetworkSession::Session::dumpFragmentStats(const Fragment & /* frag */) {
527 int64_t delayMs = (nowUs - frag.mTimeUs) / 1000ll;
545 frag.mTimeUs / 1000,
557 const Fragment &frag = *mOutFragments.begin(); local
558 const sp<ABuffer> &datagram = frag.mBuffer;
568 if (frag.mFlags & FRAGMENT_FLAG_TIME_VALID) {
569 dumpFragmentStats(frag);
628 const Fragment &frag = *mOutFragments.begin(); local
631 n = send(mSocket, frag
765 Fragment frag; local
[all...]

Completed in 412 milliseconds

12