Lines Matching refs:size
9 Z7_COM7F_IMF(CLimitedSequentialInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
14 if (size > rem)
15 size = (UInt32)rem;
18 if (size != 0)
20 result = _stream->Read(data, size, &realProcessedSize);
30 Z7_COM7F_IMF(CLimitedInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
42 if (size > rem)
43 size = (UInt32)rem;
51 HRESULT res = _stream->Read(data, size, &size);
53 *processedSize = size;
54 _physPos += size;
55 _virtPos += size;
76 HRESULT CreateLimitedInStream(IInStream *inStream, UInt64 pos, UInt64 size, ISequentialInStream **resStream)
82 RINOK(streamSpec->InitAndSeek(pos, size))
88 Z7_COM7F_IMF(CClusterInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
96 if (size > rem)
97 size = (UInt32)rem;
99 if (size == 0)
122 if (size > _curRem)
123 size = _curRem;
124 HRESULT res = Stream->Read(data, size, &size);
126 *processedSize = size;
127 _physPos += size;
128 _virtPos += size;
129 _curRem -= size;
153 Z7_COM7F_IMF(CExtentsStream::Read(void *data, UInt32 size, UInt32 *processedSize))
160 if (size == 0)
184 if (size > rem)
185 size = (UInt32)rem;
192 memset(data, 0, size);
193 _virtPos += size;
195 *processedSize = size;
209 const HRESULT res = Stream->Read(data, size, &size);
210 _virtPos += size;
212 _phyPos += size;
216 *processedSize = size;
239 Z7_COM7F_IMF(CLimitedSequentialOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
244 if (size > _size)
252 *processedSize = size;
255 size = (UInt32)_size;
258 result = _stream->Write(data, size, &size);
259 _size -= size;
261 *processedSize = size;
266 Z7_COM7F_IMF(CTailInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
269 HRESULT res = Stream->Read(data, size, &cur);
303 Z7_COM7F_IMF(CLimitedCachedInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
314 if (rem < size)
315 size = (UInt32)rem;
322 size <= _cacheSize - (size_t)offsetInCache)
324 if (size != 0)
325 memcpy(data, _cache + (size_t)offsetInCache, size);
334 res = _stream->Read(data, size, &size);
335 _physPos += size;
338 *processedSize = size;
339 _virtPos += size;
360 Z7_COM7F_IMF(CTailOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
363 HRESULT res = Stream->Write(data, size, &cur);