Home | History | Annotate | Download | only in utils

Lines Matching defs:buffer

35     // Only allow a rewind if we have not exceeded the buffer.
81 // bytes read so far, and the destination buffer.
93 // Buffer any more data that should be buffered, and copy it to the
96 // Data needs to be buffered. Buffer up to the lesser of the size requested
97 // and the remainder of the max buffer size.
99 char* buffer = this->getBufferAtOffset();
100 const size_t buffered = fStream->read(buffer, bytesToBuffer);
104 // Copy the buffer to the destination buffer and update the amount read.
106 memcpy(dst, buffer, buffered);
111 // We were able to buffer all of the data requested (or all the data
118 // The requested read extends beyond the length of the buffer. Update
120 // buffer.