Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h27 : BorrowedImpl(&BorrowedImpl), ViewOffset(0) { in BinaryStreamRefBase()
35 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase()
38 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase()
52 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength()
67 Result.ViewOffset += N; in drop_front()
124 if (LHS.ViewOffset != RHS.ViewOffset)
142 uint64_t ViewOffset = 0; variable
157 BinaryStreamRef(std::shared_ptr<BinaryStream> Impl, uint64_t ViewOffset, in BinaryStreamRef() argument
159 : BinaryStreamRefBase(Impl, ViewOffset, Length) {} in BinaryStreamRef()
222 uint64_t ViewOffset, std::optional<uint64_t> Length) in WritableBinaryStreamRef() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamRef.cpp77 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
86 BorrowedImpl->readLongestContiguousChunk(ViewOffset + Offset, Buffer)) in readLongestContiguousChunk()
115 return BorrowedImpl->writeBytes(ViewOffset + Offset, Data); in writeBytes()
119 return BinaryStreamRef(*BorrowedImpl, ViewOffset, Length); in operator BinaryStreamRef()