Searched refs:OriginalOffset (Results 1 – 11 of 11) sorted by relevance
75 uint32_t OriginalOffset = getOffset(); in readCString() local89 assert(FoundOffset >= OriginalOffset); in readCString()91 setOffset(OriginalOffset); in readCString()92 size_t Length = FoundOffset - OriginalOffset; in readCString()104 uint32_t OriginalOffset = getOffset(); in readWideString() local114 setOffset(OriginalOffset); in readWideString()
53 uint32_t OriginalOffset = getOffset(); in readZeroString() local63 setOffset(OriginalOffset); in readZeroString()
81 uint32_t OriginalOffset = SegmentWriter.getOffset(); in writeMemberType() local107 uint32_t MemberLength = SegmentWriter.getOffset() - OriginalOffset; in writeMemberType()109 insertSegmentEnd(OriginalOffset); in writeMemberType()
48 Optional<uint32_t> OriginalOffset; member80 return !(isVirtualSection() || (OriginalOffset && *OriginalOffset == 0)); in hasValidOffset()
38 S.OriginalOffset = Sec.offset; in constructSectionCommon()
332 return Seg ? Seg->PAddr + Sec->OriginalOffset - Seg->OriginalOffset in sectionPhysicalAddr()1152 OriginalOffset = std::numeric_limits<uint64_t>::max(); in init()1218 return Seg.Offset <= Sec.OriginalOffset && in sectionWithinSegment()1219 Seg.Offset + Seg.FileSize >= Sec.OriginalOffset + SecSize; in sectionWithinSegment()1227 return Parent.OriginalOffset <= Child.OriginalOffset && in segmentOverlapsSegment()1228 Parent.OriginalOffset + Parent.FileSize > Child.OriginalOffset; in segmentOverlapsSegment()1234 if (A->OriginalOffset < B->OriginalOffset) in compareSegmentsByOffset()1236 if (A->OriginalOffset > B->OriginalOffset) in compareSegmentsByOffset()1428 Seg.OriginalOffset = Phdr.p_offset + EhdrOffset; in readProgramHeaders()1446 ElfHdr.OriginalOffset = ElfHdr.Offset = EhdrOffset; in readProgramHeaders()[all …]
397 uint64_t OriginalOffset = std::numeric_limits<uint64_t>::max();440 if (Lhs->OriginalOffset == Rhs->OriginalOffset) in operator()442 return Lhs->OriginalOffset < Rhs->OriginalOffset; in operator()457 uint64_t OriginalOffset = 0; variable506 OriginalOffset = std::numeric_limits<uint64_t>::max(); in OwnedDataSection()515 OriginalOffset = SecOff; in OwnedDataSection()
356 unsigned OriginalOffset = Offset; in transformCursorPosition() local358 if (R.getOffset() + R.getLength() <= OriginalOffset) { in transformCursorPosition()362 } else if (R.getOffset() < OriginalOffset) { in transformCursorPosition()
585 ptrdiff_t OriginalOffset) { in emitInstruction() argument593 OriginalOffset - llvm::SignExtend32<16>(OriginalOffset); in emitInstruction()