Home
last modified time | relevance | path

Searched refs:RealOffset (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Rewrite/
DRewriter.cpp56 unsigned RealOffset = getMappedOffset(OrigOffset, true); in RemoveText() local
57 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() local
101 Buffer.insert(RealOffset, Str.begin(), Str.end()); in InsertText()
112 unsigned RealOffset = getMappedOffset(OrigOffset, true); in ReplaceText() local
113 Buffer.erase(RealOffset, OrigLength); in ReplaceText()
114 Buffer.insert(RealOffset, NewStr.begin(), NewStr.end()); in ReplaceText()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp255 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() local
258 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() local
272 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() local
299 support::ulittle32_t::ref(Section.Address + Offset) = RealOffset; in resolveX86Relocation()