Searched refs:sizeToRead (Results 1 – 2 of 2) sorted by relevance
11 UInt32 sizeToRead = (UInt32)MyMin((_size - _pos), (UInt64)size); in Read() local13 if (sizeToRead > 0) in Read()15 result = _stream->Read(data, sizeToRead, &realProcessedSize); in Read()
316 const size_t sizeToRead = SkTMax(kMinSizeToRead, sizeRequested); in bufferMoreData() local317 SkAutoSTMalloc<kMinSizeToRead, uint8> tempBuffer(sizeToRead); in bufferMoreData()318 const size_t bytesRead = fStream->read(tempBuffer.get(), sizeToRead); in bufferMoreData()