CoderMixer2.cpp |
, bool &InternalPackSizeError |
28161 |
CoderMixer2.h |
, bool &InternalPackSizeError |
10803 |
DummyOutStream.cpp |
|
419 |
DummyOutStream.h |
|
610 |
HandlerOut.cpp |
|
4951 |
HandlerOut.h |
|
2350 |
InStreamWithCRC.cpp |
if (size != 0 && realProcessed == 0)
_wasFinished = true;
|
1247 |
InStreamWithCRC.h |
|
1615 |
ItemNameUtils.cpp |
|
1697 |
ItemNameUtils.h |
|
644 |
MultiStream.cpp |
class COutVolumeStream:
public ISequentialOutStream,
public CMyUnknownImp
{
unsigned _volIndex;
UInt64 _volSize;
UInt64 _curPos;
CMyComPtr<ISequentialOutStream> _volumeStream;
COutArchive _archive;
CCRC _crc;
public:
MY_UNKNOWN_IMP
CFileItem _file;
CUpdateOptions _options;
CMyComPtr<IArchiveUpdateCallback2> VolumeCallback;
void Init(IArchiveUpdateCallback2 *volumeCallback,
const UString &name)
{
_file.Name = name;
_file.IsStartPosDefined = true;
_file.StartPos = 0;
VolumeCallback = volumeCallback;
_volIndex = 0;
_volSize = 0;
}
HRESULT Flush();
STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
};
HRESULT COutVolumeStream::Flush()
{
if (_volumeStream)
{
_file.UnPackSize = _curPos;
_file.FileCRC = _crc.GetDigest();
RINOK(WriteVolumeHeader(_archive, _file, _options));
_archive.Close();
_volumeStream.Release();
_file.StartPos += _file.UnPackSize;
}
return S_OK;
}
|
4819 |
MultiStream.h |
class COutMultiStream:
public IOutStream,
public CMyUnknownImp
{
unsigned _streamIndex; // required stream
UInt64 _offsetPos; // offset from start of _streamIndex index
UInt64 _absPos;
UInt64 _length;
struct CSubStreamInfo
{
CMyComPtr<ISequentialOutStream> Stream;
UInt64 Size;
UInt64 Pos;
};
CObjectVector<CSubStreamInfo> Streams;
public:
CMyComPtr<IArchiveUpdateCallback2> VolumeCallback;
void Init()
{
_streamIndex = 0;
_offsetPos = 0;
_absPos = 0;
_length = 0;
}
MY_UNKNOWN_IMP1(IOutStream)
STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
};
|
1860 |
OutStreamWithCRC.cpp |
|
427 |
OutStreamWithCRC.h |
|
937 |
ParseProperties.cpp |
|
47 |
ParseProperties.h |
|
94 |
StdAfx.h |
|
104 |