Lines Matching defs:buffered
39 // Amount that has been buffered by calls to read. Will always be less than
48 // Read up to size bytes from already buffered data, and copy to
59 // NULL. Updates fOffset. Assumes fOffset is at or beyond the buffered
104 // lesser of the size requested and the remainder of the buffered
112 // within the buffered data.
122 // Data needs to be buffered. Buffer up to the lesser of the size requested
126 const size_t buffered = fStream->read(buffer, bytesToBuffer);
128 fBufferedSoFar += buffered;
134 memcpy(dst, buffer, buffered);
137 return buffered;
142 // If we get here, we have buffered all that can be buffered.
163 // First, read any data that was previously buffered.
176 // Buffer any more data that should be buffered, and copy it to the
179 const size_t buffered = this->bufferAndWriteTo(dst, size);
183 size -= buffered;
186 dst += buffered;