/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFReader.cpp | 57 uint32_t size = pSD.getSection().size(); local 59 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); 70 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Sym); 208 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rela); 237 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Rel); 460 pInput.fileOffset() + strtab->offset(), strtab->size()); 488 pInput.fileOffset() + dynamic_sect->offset(), dynamic_sect->size()); 491 pInput.fileOffset() + dynstr_sect->offset(), dynstr_sect->size()); 497 size_t numOfEntries = dynamic_sect->size() / sizeo 557 uint64_t size = pSD.getSection().size(); local [all...] |
H A D | EhFrame.cpp | 132 offset = m_pSectionData->back().getOffset() + m_pSectionData->back().size(); 154 size_t size = 0u; local 156 size += (*i)->numOfFDEs(); 157 return size; 215 if (cie->getPersonalityName().size() == 0) { 288 rel.targetRef().getOutputOffset() < fde.getOffset() + fde.size()) { 362 offset += frag.size();
|
H A D | EhFrameHdr.cpp | 42 pOutput.request(m_EhFrameHdr.offset(), m_EhFrameHdr.size()); 45 pOutput.request(m_EhFrame.offset(), m_EhFrame.size()); 132 /// sizeOutput - base on the fde count to size output 134 size_t size = 12; local 136 size += 8 * m_EhFrame.getEhFrame()->numOfFDEs(); 137 m_EhFrameHdr.setSize(size); 146 // check the size to read in
|
H A D | GNUArchiveReader.cpp | 44 if (pInput.memArea()->size() < Archive::MAGIC_LEN) 88 if (Archive::MAGIC_LEN == pArchive.getARFile().memArea()->size()) 148 /// @param pMemberSize - the file size of this member 164 pMemberSize = atoi(header->size); 272 int symtab_size = atoi(header->size); 317 int strtab_size = atoi(header->size); 345 /// return the size of the object 355 size_t size = 0; local 361 pArchive, *cur_archive, file_offset, nested_offset, size); 407 return size; 438 size_t size = includeMember(pConfig, pArchive, offset); local [all...] |
H A D | LDContext.cpp | 23 pSection.setIndex(m_SectionTable.size()); 29 if (pIdx >= m_SectionTable.size()) 35 if (pIdx >= m_SectionTable.size()) 60 size_t size = m_SectionTable.size(); local 61 for (; result != size; ++result) 68 if (pIdx >= m_SymTab.size()) 74 if (pIdx >= m_SymTab.size()) 81 size_t size = m_SymTab.size(); local 90 size_t size = m_SymTab.size(); local [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 130 0x0, // size 216 if (script.inputs().size() > 0) { 530 size_t size = 0; local 533 // else we retain its type, same goes for size - 0 or retain old value 538 size = old_info->size(); 554 size, 569 size, 657 /// check program interpreter - computer the name size of the runtime dyld 663 /// measure NamePools - compute the size o [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptReader.cpp | 46 size_t size = input.memArea()->size(); local 47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size);
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | LEB128.cpp | 18 size_t size = 0; local 25 size++; 28 return size; 68 size_t size = 0; local 82 size++; 85 return size; 181 * version like decode() to save the code size.
|
H A D | MemoryArea.cpp | 45 size_t MemoryArea::size() const { function in class:mcld::MemoryArea
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64CA53ErratumStub.cpp | 88 size(), 141 size_t AArch64CA53ErratumStub::size() const { function in class:mcld::AArch64CA53ErratumStub
|
H A D | AArch64LongBranchStub.cpp | 111 pIsland.size(); 133 size_t AArch64LongBranchStub::size() const { function in class:mcld::AArch64LongBranchStub
|
H A D | AArch64PLT.cpp | 42 return (m_pSectionData->size() > 1); 46 uint64_t size = (m_pSectionData->size() - 1) * sizeof(aarch64_plt1) + local 48 m_Section.setSize(size); 54 offset += frag->size();
|
H A D | AArch64Relocator.cpp | 44 : func(pFunc), name(pName), size(pSize) {} 47 size_t size; member in class:mcld::ApplyFunctionEntry 90 return ApplyFunctions[pType].size; 128 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); 129 uint64_t size = ObjectBuilder::AppendFragment(*frag, *bss_data, addralign); local 130 bss_sect_hdr->setSize(bss_sect_hdr->size() + size); 143 pSym.size(), // size
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 84 inputSym->setFragmentRef(mcld::FragmentRef::Create(pFrag, pFrag.size())); 207 0x0, // size 212 if (m_pEXIDX != NULL && m_pEXIDX->size() != 0x0) { 216 m_pEXIDX->getSectionData()->front(), m_pEXIDX->size()); 223 0x0, // size 233 0x0, // size 249 0x0, // size 259 0x0, // size 288 // set attribute section size 291 // set .got size 415 size_t size = frag_iter->size(); local 622 uint32_t size = pSD.getSection().size(); local [all...] |
H A D | ARMPLT.cpp | 39 return (m_pSectionData->size() > 1); 43 uint64_t size = local 44 (m_pSectionData->size() - 1) * sizeof(arm_plt1) + sizeof(arm_plt0); 45 m_Section.setSize(size); 51 offset += frag->size();
|
H A D | ARMRelocator.cpp | 359 Fragment* frag = new FillFragment(0x0, 1, pSym.size()); 360 uint64_t size = ObjectBuilder::AppendFragment(*frag, *bss_data, addralign); local 361 bss_sect_hdr->setSize(bss_sect_hdr->size() + size); 374 pSym.size(), // size 1094 // FIXME: Check bit size is 24(thumb2) or 22?
|
H A D | ARMToARMStub.cpp | 96 size_t ARMToARMStub::size() const { function in class:mcld::ARMToARMStub
|
H A D | ARMToTHMStub.cpp | 104 size_t ARMToTHMStub::size() const { function in class:mcld::ARMToTHMStub
|
H A D | THMToARMStub.cpp | 117 size_t THMToARMStub::size() const { function in class:mcld::THMToARMStub
|
H A D | THMToTHMStub.cpp | 114 size_t THMToTHMStub::size() const { function in class:mcld::THMToTHMStub
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFAttributeData.cpp | 21 size_t size = 0; local 24 leb128::decode<uint64_t>(pBuf, size)); 26 if (size > pBufSize) 29 pBuf += size; 30 pBufSize -= size; 40 size_t size = 0; local 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); 44 if (size > pBufSize) 47 pBuf += size; 48 pBufSize -= size; 55 size_t size = pValue.getStringValue().length() + 1 /* '\\0' */; local [all...] |
H A D | ELFAttributeValue.cpp | 19 size_t size = 0; local 22 size += leb128::size<uint32_t>(m_IntValue); 25 size += m_StringValue.length() + 1 /* for NULL-terminator */; 27 if (size <= 0) 31 return size;
|
H A D | ELFDynamic.cpp | 67 size_t ELFDynamic::size() const { function in class:mcld::ELFDynamic 68 return (m_NeedList.size() + m_EntryList.size()); 72 return size() * entrySize(); 76 return m_pEntryFactory->size(); 85 assert(m_Idx < m_EntryList.size()); 207 applyOne(llvm::ELF::DT_PREINIT_ARRAYSZ, pFormat.getPreInitArray().size()); 212 applyOne(llvm::ELF::DT_INIT_ARRAYSZ, pFormat.getInitArray().size()); 217 applyOne(llvm::ELF::DT_FINI_ARRAYSZ, pFormat.getFiniArray().size()); 233 applyOne(llvm::ELF::DT_STRSZ, pFormat.getDynStrTab().size()); [all...] |
H A D | GNULDBackend.cpp | 137 elfSegmentTable().size() * sizeof(llvm::ELF::Elf32_Phdr); 140 elfSegmentTable().size() * sizeof(llvm::ELF::Elf64_Phdr); 246 0x0, // size 253 section->getSectionData()->front(), section->size()); 259 0x0, // size 284 0x0, // size 295 0x0, // size 315 0x0, // size 326 0x0, // size 346 0x0, // size 1945 uint64_t size = sectionStartOffset(); local [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonAbsoluteStub.cpp | 100 size_t HexagonAbsoluteStub::size() const { function in class:mcld::HexagonAbsoluteStub
|