Home
last modified time | relevance | path

Searched refs:sizeToRead (Results 1 – 2 of 2) sorted by relevance

/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp11 UInt32 sizeToRead = (UInt32)MyMin((_size - _pos), (UInt64)size); in Read() local
13 if (sizeToRead > 0) in Read()
15 result = _stream->Read(data, sizeToRead, &realProcessedSize); in Read()
/external/skia/src/codec/
DSkRawCodec.cpp316 const size_t sizeToRead = SkTMax(kMinSizeToRead, sizeRequested); in bufferMoreData() local
317 SkAutoSTMalloc<kMinSizeToRead, uint8> tempBuffer(sizeToRead); in bufferMoreData()
318 const size_t bytesRead = fStream->read(tempBuffer.get(), sizeToRead); in bufferMoreData()