Home
last modified time | relevance | path

Searched refs:pOffset (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp39 FragmentRef::FragmentRef(Fragment& pFrag, FragmentRef::Offset pOffset) in FragmentRef() argument
40 : m_pFragment(&pFrag), m_Offset(pOffset) { in FragmentRef()
50 FragmentRef* FragmentRef::Create(Fragment& pFrag, uint64_t pOffset) { in Create() argument
51 int64_t offset = pOffset; in Create()
76 FragmentRef* FragmentRef::Create(LDSection& pSection, uint64_t pOffset) { in Create() argument
95 return Create(data->front(), pOffset); in Create()
112 FragmentRef& FragmentRef::assign(Fragment& pFrag, FragmentRef::Offset pOffset) { in assign() argument
114 m_Offset = pOffset; in assign()
118 void FragmentRef::memcpy(void* pDest, size_t pNBytes, Offset pOffset) const { in memcpy()
123 unsigned int total_offset = m_Offset + pOffset; in memcpy()
DStub.cpp75 void Stub::addFixup(DWord pOffset, SWord pAddend, Type pType) { in addFixup() argument
76 assert(pOffset < size()); in addFixup()
77 m_FixupList.push_back(new Fixup(pOffset, pAddend, pType)); in addFixup()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragmentRef.h41 static FragmentRef* Create(Fragment& pFrag, uint64_t pOffset);
43 static FragmentRef* Create(LDSection& pSection, uint64_t pOffset);
53 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0);
61 void memcpy(void* pDest, size_t pNBytes, Offset pOffset = 0) const;
81 explicit FragmentRef(Fragment& pFrag, Offset pOffset = 0);
DStub.h36 Fixup(DWord pOffset, SWord pAddend, Type pType) in Fixup() argument
37 : m_Offset(pOffset), m_Addend(pAddend), m_Type(pType) {} in Fixup()
129 void addFixup(DWord pOffset, SWord pAddend, Type pType);
DFragment.h47 void setOffset(uint64_t pOffset) { m_Offset = pOffset; } in setOffset() argument
/frameworks/compile/mclinker/lib/Support/
DFileOutputBuffer.cpp49 MemoryRegion FileOutputBuffer::request(size_t pOffset, size_t pLength) { in request() argument
50 if (pOffset > getBufferSize() || (pOffset + pLength) > getBufferSize()) in request()
52 return MemoryRegion(getBufferStart() + pOffset, pLength); in request()
DMemoryArea.cpp41 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) { in request() argument
42 return llvm::StringRef(m_pMemoryBuffer->getBufferStart() + pOffset, pLength); in request()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h173 uint32_t& pOffset) const;
179 uint32_t& pOffset,
186 uint64_t& pOffset) const;
192 uint64_t& pOffset,
199 uint32_t pOffset) const;
205 uint32_t pOffset,
212 uint64_t pOffset) const;
218 uint64_t pOffset,
DMipsLDBackend.cpp901 uint32_t& pOffset) const { in readRelocation()
902 return GNULDBackend::readRelocation(pRel, pType, pSymIdx, pOffset); in readRelocation()
908 uint32_t& pOffset, in readRelocation() argument
910 return GNULDBackend::readRelocation(pRel, pType, pSymIdx, pOffset, pAddend); in readRelocation()
916 uint64_t& pOffset) const { in readRelocation()
919 pOffset = pRel.r_offset; in readRelocation()
922 pOffset = mcld::bswap64(pRel.r_offset); in readRelocation()
938 uint64_t& pOffset, in readRelocation() argument
942 pOffset = pRel.r_offset; in readRelocation()
946 pOffset = mcld::bswap64(pRel.r_offset); in readRelocation()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DDelayMix_16x16.cpp28 LVM_INT16* pOffset, /* Delay offset */ in DelayMix_Float() argument
33 LVM_INT16 Offset = *pOffset; in DelayMix_Float()
77 *pOffset = Offset; in DelayMix_Float()
/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h203 uint32_t& pOffset) const;
209 uint32_t& pOffset,
216 uint64_t& pOffset) const;
222 uint64_t& pOffset,
229 uint32_t pOffset) const;
235 uint32_t pOffset,
242 uint64_t pOffset) const;
248 uint64_t pOffset,
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h96 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset);
97 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset);
104 off_t pOffset);
DMemoryArea.h38 llvm::StringRef request(size_t pOffset, size_t pLength);
DFileOutputBuffer.h48 MemoryRegion request(size_t pOffset, size_t pLength);
/frameworks/compile/mclinker/include/mcld/LD/
DEhFrameReader.h66 uint64_t pOffset,
91 uint64_t pOffset,
DELFSegment.h76 void setOffset(uint64_t pOffset) { m_Offset = pOffset; } in setOffset() argument
DArchive.h97 Symbol(const char* pName, uint32_t pOffset, enum Status pStatus) in Symbol()
98 : name(pName), fileOffset(pOffset), status(pStatus) {} in Symbol()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc89 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) {
95 if (-1 == ::lseek(pFD, pOffset, SEEK_SET))
111 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset) {
117 if (-1 == ::lseek(pFD, pOffset, SEEK_SET))
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp224 Relocator::DWord pOffset) { in helper_thumb32_branch_upper() argument
225 uint32_t sign = ((pOffset & 0x80000000U) >> 31); in helper_thumb32_branch_upper()
226 return (pUpper16 & ~0x7ffU) | ((pOffset >> 12) & 0x3ffU) | (sign << 10); in helper_thumb32_branch_upper()
230 Relocator::DWord pOffset) { in helper_thumb32_branch_lower() argument
231 uint32_t sign = ((pOffset & 0x80000000U) >> 31); in helper_thumb32_branch_lower()
232 return ((pLower16 & ~0x2fffU) | ((((pOffset >> 23) & 1) ^ !sign) << 13) | in helper_thumb32_branch_lower()
233 ((((pOffset >> 22) & 1) ^ !sign) << 11) | ((pOffset >> 1) & 0x7ffU)); in helper_thumb32_branch_lower()
249 Relocator::DWord pOffset) { in helper_thumb32_cond_branch_upper() argument
250 uint32_t sign = ((pOffset & 0x80000000U) >> 31); in helper_thumb32_cond_branch_upper()
251 return (pUpper16 & 0xfbc0U) | (sign << 10) | ((pOffset & 0x0003f000U) >> 12); in helper_thumb32_cond_branch_upper()
[all …]
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc129 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) {
130 return ::pread(pFD, pBuf, pCount, pOffset);
133 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset) {
134 return ::pwrite(pFD, pBuf, pCount, pOffset);
/frameworks/compile/mclinker/lib/LD/
DELFReaderIf.cpp97 uint32_t pOffset) const { in getSymFragmentRef()
119 return FragmentRef::Create(*sect_hdr, pOffset); in getSymFragmentRef()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp122 uint32_t* pUncompLen, uint32_t* pCompLen, off64_t* pOffset, in getEntryInfo() argument
137 if (pOffset != nullptr) { in getEntryInfo()
138 *pOffset = ze.offset; in getEntryInfo()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.h157 void applyDebugStringOffset(Relocation& pReloc, uint32_t pOffset);
222 void applyDebugStringOffset(Relocation& pReloc, uint32_t pOffset);
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h119 uint64_t pOffset, in helper_DynRela_init() argument
125 rel_entry.targetRef().assign(pFrag, pOffset); in helper_DynRela_init()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1620 uint32_t& pOffset) const { in readRelocation()
1623 pOffset = pRel.r_offset; in readRelocation()
1626 pOffset = mcld::bswap32(pRel.r_offset); in readRelocation()
1639 uint32_t& pOffset, in readRelocation() argument
1643 pOffset = pRel.r_offset; in readRelocation()
1647 pOffset = mcld::bswap32(pRel.r_offset); in readRelocation()
1661 uint64_t& pOffset) const { in readRelocation()
1664 pOffset = pRel.r_offset; in readRelocation()
1667 pOffset = mcld::bswap64(pRel.r_offset); in readRelocation()
1680 uint64_t& pOffset, in readRelocation() argument
[all …]

12