Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamRef.h29 : BorrowedImpl(&BorrowedImpl), ViewOffset(0) { in BinaryStreamRefBase()
37 ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase()
40 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase()
56 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength()
71 Result.ViewOffset += N; in drop_front()
128 if (ViewOffset != Other.ViewOffset)
146 uint32_t ViewOffset = 0; variable
161 BinaryStreamRef(std::shared_ptr<BinaryStream> Impl, uint32_t ViewOffset, in BinaryStreamRef() argument
163 : BinaryStreamRefBase(Impl, ViewOffset, Length) {} in BinaryStreamRef()
228 uint32_t ViewOffset, Optional<uint32_t> Length) in WritableBinaryStreamRef() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DBinaryStreamRef.cpp84 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
93 BorrowedImpl->readLongestContiguousChunk(ViewOffset + Offset, Buffer)) in readLongestContiguousChunk()
123 return BorrowedImpl->writeBytes(ViewOffset + Offset, Data); in writeBytes()
127 return BinaryStreamRef(*BorrowedImpl, ViewOffset, Length); in operator BinaryStreamRef()