Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryStreamRef.h28 explicit BinaryStreamRefBase(StreamType &BorrowedImpl) in BinaryStreamRefBase() argument
29 : BorrowedImpl(&BorrowedImpl), ViewOffset(0) { in BinaryStreamRefBase()
30 if (!(BorrowedImpl.getFlags() & BSF_Append)) in BinaryStreamRefBase()
31 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase()
36 : SharedImpl(SharedImpl), BorrowedImpl(SharedImpl.get()), in BinaryStreamRefBase()
38 BinaryStreamRefBase(StreamType &BorrowedImpl, uint32_t Offset, in BinaryStreamRefBase() argument
40 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {} in BinaryStreamRefBase()
49 return BorrowedImpl->getEndian(); in getEndian()
56 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength()
63 if (!BorrowedImpl) in drop_front()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
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()
131 Error WritableBinaryStreamRef::commit() { return BorrowedImpl->commit(); } in commit()