Lines Matching defs:buffer
24 size_t read(void* buffer, size_t size) override;
26 size_t peek(void* buffer, size_t size) const override;
47 // Total size of the buffer.
120 // Only allow a rewind if we have not exceeded the buffer.
151 // and the remainder of the max buffer size.
153 char* buffer = fBuffer + fOffset;
154 const size_t buffered = fStream->read(buffer, bytesToBuffer);
160 // Copy the buffer to the destination buffer and update the amount read.
162 memcpy(dst, buffer, buffered);
176 // If we have read past the end of the buffer, rewinding is no longer
191 // This stream is not able to buffer.
213 // and the destination buffer.
227 // and the destination buffer.