Searched refs:RealOffset (Results 1 – 2 of 2) sorted by relevance
56 unsigned RealOffset = getMappedOffset(OrigOffset, true); in RemoveText() local57 assert(RealOffset+Size <= Buffer.size() && "Invalid location"); in RemoveText()60 Buffer.erase(RealOffset, Size); in RemoveText()72 for (unsigned i = 0; i != RealOffset; ++i) { in RemoveText()100 unsigned RealOffset = getMappedOffset(OrigOffset, InsertAfter); in InsertText() local101 Buffer.insert(RealOffset, Str.begin(), Str.end()); in InsertText()112 unsigned RealOffset = getMappedOffset(OrigOffset, true); in ReplaceText() local113 Buffer.erase(RealOffset, OrigLength); in ReplaceText()114 Buffer.insert(RealOffset, NewStr.begin(), NewStr.end()); in ReplaceText()
255 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() local258 RealOffset += Placeholder; in resolveX86_64Relocation()259 assert(RealOffset <= INT32_MAX && RealOffset >= INT32_MIN); in resolveX86_64Relocation()260 int32_t TruncOffset = (RealOffset & 0xFFFFFFFF); in resolveX86_64Relocation()270 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() local272 RealOffset += Placeholder; in resolveX86_64Relocation()273 support::ulittle64_t::ref(Section.Address + Offset) = RealOffset; in resolveX86_64Relocation()298 uint32_t RealOffset = Placeholder + Value + Addend - FinalAddress; in resolveX86Relocation() local299 support::ulittle32_t::ref(Section.Address + Offset) = RealOffset; in resolveX86Relocation()