Home
last modified time | relevance | path

Searched defs:BinarySubstreamRef (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h196 struct BinarySubstreamRef { struct
200 BinarySubstreamRef slice(uint64_t Off, uint64_t Size) const { in slice() argument
204 BinarySubstreamRef drop_front(uint64_t N) const { in drop_front() argument
207 BinarySubstreamRef keep_front(uint64_t N) const { return slice(0, N); } in keep_front() argument
209 std::pair<BinarySubstreamRef, BinarySubstreamRef> split(uint64_t Off) const { in split() argument
213 uint64_t size() const { return StreamData.getLength(); } in size()
214 bool empty() const { return size() == 0; } in empty()