Lines Matching defs:const

26 static const unsigned k_NumVols_MAX = k_VectorSizeMax - 1;

31 { const HRESULT res2 = (x); if (hres == SZ_OK) hres = res2; }
101 void CMultiOutStream::Init(const CRecordVector<UInt64> &sizes)
130 const UInt64 size = Sizes[i];
131 const UInt64 next = sum + size;
138 const UInt64 size = Sizes.Back();
155 bool CMultiOutStream::IsRestricted(const CVolStream &s) const
168 bool CMultiOutStream::IsRestricted_for_Close(unsigned index) const
170 const CVolStream &s = Streams[index];
174 const UInt64 volSize = GetVolSize_for_Stream(index);
240 const FString path = GetFilePath(index);
270 const int index = Head;
292 const FString path = GetFilePath(Streams.Size());
303 const unsigned index = Streams.Add(s);
317 const unsigned numStreamsBefore = Streams.Size();
344 const CVolStream &s = Streams[numStreamsBefore];
458 const UInt64 volSize = GetVolSize_for_Stream(i);
497 const UInt64 volSize = GetVolSize_for_Stream(Streams.Size());
518 const HRESULT res2 = CloseStream_and_FinalRename(i);
528 bool CMultiOutStream::SetMTime_Final(const CFiTime &mTime)
591 Z7_COM7F_IMF(CMultiOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
625 const UInt64 v = _offsetPos / volSize;
665 const UInt64 rem = volSize - _offsetPos;
674 data = (const void *)((const Byte *)data + realProcessed);
695 const HRESULT res2 = CloseStream_and_FinalRename(_streamIndex);
740 unsigned CMultiOutStream::GetStreamIndex_for_Offset(UInt64 offset, UInt64 &relOffset) const
742 const unsigned last = Sizes.Size() - 1;
745 const UInt64 size = Sizes[i];
753 const UInt64 size = Sizes[last];
754 const UInt64 v = offset / size;
818 const CVolStream &s = Streams[index];
822 const UInt64 volSize = GetVolSize_for_Stream(index);