Searched refs:ViewOffset (Results 1 – 5 of 5) sorted by relevance
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | StreamRef.h | 21 StreamRef() : Stream(nullptr), ViewOffset(0), Length(0) {} in StreamRef() 23 : Stream(&Stream), ViewOffset(0), Length(Stream.getLength()) {} in StreamRef() 25 : Stream(&Stream), ViewOffset(Offset), Length(Length) {} in StreamRef() 32 if (ViewOffset + Offset < Offset) in readBytes() 36 return Stream->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes() 60 return Stream->writeBytes(ViewOffset + Offset, Data); in writeBytes() 72 return StreamRef(*Stream, ViewOffset + N, Length - N); in drop_front() 79 return StreamRef(*Stream, ViewOffset, N); in keep_front() 89 if (ViewOffset != Other.ViewOffset) 98 uint32_t ViewOffset; variable
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | BinaryStreamRef.h | 28 : BorrowedImpl(&BorrowedImpl), ViewOffset(0) { in BinaryStreamRefBase() 36 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 39 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 55 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength() 70 Result.ViewOffset += N; in drop_front() 127 if (ViewOffset != Other.ViewOffset) 145 uint32_t ViewOffset = 0; variable 160 BinaryStreamRef(std::shared_ptr<BinaryStream> Impl, uint32_t ViewOffset, in BinaryStreamRef() argument 162 : BinaryStreamRefBase(Impl, ViewOffset, Length) {} in BinaryStreamRef() 227 uint32_t ViewOffset, Optional<uint32_t> Length) in WritableBinaryStreamRef() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BinaryStreamRef.h | 28 : BorrowedImpl(&BorrowedImpl), ViewOffset(0) { in BinaryStreamRefBase() 36 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 39 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase() 55 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength() 70 Result.ViewOffset += N; in drop_front() 127 if (ViewOffset != Other.ViewOffset) 145 uint32_t ViewOffset = 0; variable 160 BinaryStreamRef(std::shared_ptr<BinaryStream> Impl, uint32_t ViewOffset, in BinaryStreamRef() argument 162 : BinaryStreamRefBase(Impl, ViewOffset, Length) {} in BinaryStreamRef() 227 uint32_t ViewOffset, Optional<uint32_t> Length) in WritableBinaryStreamRef() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BinaryStreamRef.cpp | 83 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes() 92 BorrowedImpl->readLongestContiguousChunk(ViewOffset + Offset, Buffer)) in readLongestContiguousChunk() 122 return BorrowedImpl->writeBytes(ViewOffset + Offset, Data); in writeBytes() 126 return BinaryStreamRef(*BorrowedImpl, ViewOffset, Length); in operator BinaryStreamRef()
|
/external/llvm-project/llvm/lib/Support/ |
D | BinaryStreamRef.cpp | 83 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes() 92 BorrowedImpl->readLongestContiguousChunk(ViewOffset + Offset, Buffer)) in readLongestContiguousChunk() 122 return BorrowedImpl->writeBytes(ViewOffset + Offset, Data); in writeBytes() 126 return BinaryStreamRef(*BorrowedImpl, ViewOffset, Length); in operator BinaryStreamRef()
|