Lines Matching refs:fStreamBuffer
232 return fStreamBuffer.bytesWritten(); in getLength()
245 return this->bufferMoreData(sum) && fStreamBuffer.read(data, offset, length); in read()
250 if (offset > fStreamBuffer.bytesWritten()) { in transferBuffer()
252 const size_t skipLength = offset - fStreamBuffer.bytesWritten(); in transferBuffer()
261 const size_t alreadyBuffered = SkTMin(fStreamBuffer.bytesWritten() - offset, size); in transferBuffer()
263 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
292 return SkStreamCopy(&fStreamBuffer, fStream.get()); in bufferMoreData()
295 if (newSize <= fStreamBuffer.bytesWritten()) { // already buffered to newSize in bufferMoreData()
304 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData()
311 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
318 SkRawLimitedDynamicMemoryWStream fStreamBuffer; member in SkRawBufferedStream