Lines Matching refs:bytes
24 char *, std::size_t bytes, std::size_t shift);
71 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in ReadFrame() argument
73 Reallocate(bytes, handler); in ReadFrame()
81 if (static_cast<std::int64_t>(start_ + frame_ + bytes) > size_) { in ReadFrame()
83 MakeDataContiguous(handler, bytes); in ReadFrame()
86 if (FrameLength() < bytes) { in ReadFrame()
89 auto minBytes{bytes - FrameLength()}; in ReadFrame()
100 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in WriteFrame() argument
101 Reallocate(bytes, handler); in WriteFrame()
106 } else if (start_ + newFrame + static_cast<std::int64_t>(bytes) > size_) { in WriteFrame()
109 MakeDataContiguous(handler, bytes); in WriteFrame()
115 length_ = std::max<std::int64_t>(length_, frame_ + bytes); in WriteFrame()
149 std::int64_t bytes, const Terminator &terminator) { in Reallocate() argument
150 if (bytes > size_) { in Reallocate()
153 size_ = std::max<std::int64_t>(bytes, size_ + minBuffer); in Reallocate()
196 IoErrorHandler &handler, std::size_t bytes) { in MakeDataContiguous() argument
197 if (static_cast<std::int64_t>(start_ + bytes) > size_) { in MakeDataContiguous()