Lines Matching defs:BorrowedImpl
26 explicit BinaryStreamRefBase(StreamType &BorrowedImpl)
27 : BorrowedImpl(&BorrowedImpl), ViewOffset(0) {
28 if (!(BorrowedImpl.getFlags() & BSF_Append))
29 Length = BorrowedImpl.getLength();
34 : SharedImpl(SharedImpl), BorrowedImpl(SharedImpl.get()),
36 BinaryStreamRefBase(StreamType &BorrowedImpl, uint64_t Offset,
38 : BorrowedImpl(&BorrowedImpl), ViewOffset(Offset), Length(Length) {}
46 llvm::endianness getEndian() const { return BorrowedImpl->getEndian(); }
52 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0;
59 if (!BorrowedImpl)
77 if (!BorrowedImpl)
119 bool valid() const { return BorrowedImpl != nullptr; }
122 if (LHS.BorrowedImpl != RHS.BorrowedImpl)
141 StreamType *BorrowedImpl = nullptr;
226 if (!(BorrowedImpl->getFlags() & BSF_Append))