Lines Matching refs:buffered
44 // Amount that has been buffered by calls to read. Will always be less than
53 // Read up to size bytes from already buffered data, and copy to
64 // nullptr. Updates fOffset. Assumes fOffset is at or beyond the buffered
131 // lesser of the size requested and the remainder of the buffered
139 // within the buffered data.
150 // Data needs to be buffered. Buffer up to the lesser of the size requested
154 const size_t buffered = fStream->read(buffer, bytesToBuffer);
156 fBufferedSoFar += buffered;
162 memcpy(dst, buffer, buffered);
165 return buffered;
170 // If we get here, we have buffered all that can be buffered.
208 // First, read any data that was previously buffered.
221 // Buffer any more data that should be buffered, and copy it to the
224 const size_t buffered = this->bufferAndWriteTo(dst, size);
228 size -= buffered;
231 dst += buffered;