Searched refs:sizeRequested (Results 1 – 2 of 2) sorted by relevance
304 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData() local305 const size_t sizeToRead = SkTMax(kMinSizeToRead, sizeRequested); in bufferMoreData()308 if (bytesRead < sizeRequested) { in bufferMoreData()
304 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData() local305 const size_t sizeToRead = std::max(kMinSizeToRead, sizeRequested); in bufferMoreData()308 if (bytesRead < sizeRequested) { in bufferMoreData()