Lines Matching refs:size
130 const UInt64 size = Sizes[i];
131 const UInt64 next = sum + size;
138 const UInt64 size = Sizes.Back();
139 if (size == 0)
140 throw "zero size last volume";
143 if ((_absLimit - sum) / size >= (k_NumVols_MAX - i))
144 _absLimit = sum + (k_NumVols_MAX - i) * size;
283 PRF(printf("\n== %u, CreateNewStream, size =%u \n", Streams.Size(), (unsigned)newSize));
330 // it's intermediate volume. So we need full volume size
390 // file size was changed between Close() and ReOpen()
403 /* Sets size of stream, if new size is not equal to old size (RealSize).
404 If stream was closed and size change is required, it reopens the stream. */
406 HRESULT CMultiOutStream::OptReOpen_and_SetSize(unsigned index, UInt64 size)
409 if (size == s.RealSize)
415 PRF(printf("\n== %u, OptReOpen_and_SetSize, size =%u RealSize = %u\n", index, (unsigned)size, (unsigned)s.RealSize));
417 return s.SetSize2(size);
424 - it sets zero size
434 - it sets zero size
451 And we remove tailing zero-size streams, if (finalMode == true) */
459 UInt64 size = _length - offset; // (size != 0) here
460 if (size > volSize)
461 size = volSize;
462 RINOK(OptReOpen_and_SetSize(i, size))
469 // UPDATE_HRES(res, OptReOpen_and_SetSize(i, size));
498 UInt64 size = _length - offset; // (size != 0) here
499 if (size > volSize)
500 size = volSize;
501 RINOK(CreateNewStream(size))
562 2) volume size was small, and we have too big number of volumes
582 PRF(printf("\n== SetSize, size =%u \n", (unsigned)newSize));
591 Z7_COM7F_IMF(CMultiOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
596 if (size == 0)
606 while (size != 0)
645 so here it's expected. that we can create optional zero-size streams and then _streamIndex */
650 PRF(printf("\n%d, == Write : Pos = %u, RealSize = %u size =%u \n",
651 _streamIndex, (unsigned)s.Pos, (unsigned)s.RealSize, size));
663 UInt32 curSize = size;
675 size -= realProcessed;
745 const UInt64 size = Sizes[i];
746 if (offset < size)
751 offset -= size;
753 const UInt64 size = Sizes[last];
754 const UInt64 v = offset / size;
757 relOffset = offset - (unsigned)v * size;