Lines Matching refs:fStreamBuffer
243 return fStreamBuffer.bytesWritten(); in getLength()
256 return this->bufferMoreData(sum) && fStreamBuffer.read(data, offset, length); in read()
261 if (offset > fStreamBuffer.bytesWritten()) { in transferBuffer()
263 const size_t skipLength = offset - fStreamBuffer.bytesWritten(); in transferBuffer()
272 const size_t alreadyBuffered = SkTMin(fStreamBuffer.bytesWritten() - offset, size); in transferBuffer()
274 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
303 return SkStreamCopy(&fStreamBuffer, fStream.get()); in bufferMoreData()
306 if (newSize <= fStreamBuffer.bytesWritten()) { // already buffered to newSize in bufferMoreData()
315 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData()
322 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
329 SkRawLimitedDynamicMemoryWStream fStreamBuffer; member in SkRawBufferedStream