/external/lzma/CPP/7zip/Archive/Common/ |
DummyOutStream.cpp | 7 STDMETHODIMP CDummyOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize)
14 if (processedSize)
15 *processedSize = realProcessedSize;
|
OutStreamWithCRC.cpp | 7 STDMETHODIMP COutStreamWithCRC::Write(const void *data, UInt32 size, UInt32 *processedSize)
15 if (processedSize != NULL)
16 *processedSize = size;
|
InStreamWithCRC.cpp | 7 STDMETHODIMP CSequentialInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *processedSize)
17 if (processedSize)
18 *processedSize = realProcessed;
22 STDMETHODIMP CInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *processedSize)
34 if (processedSize)
35 *processedSize = realProcessed;
|
MultiStream.cpp | 7 STDMETHODIMP CMultiStream::Read(void *data, UInt32 size, UInt32 *processedSize)
9 if (processedSize)
10 *processedSize = 0;
47 if (processedSize)
48 *processedSize = size;
101 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
120 STDMETHODIMP COutMultiStream::Write(const void *data, UInt32 size, UInt32 *processedSize)
122 if (processedSize)
123 *processedSize = 0;
160 if (processedSize)
[all...] |
DummyOutStream.h | 21 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
|
/external/lzma/CPP/7zip/Common/ |
StreamBinder.cpp | 16 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
21 STDMETHODIMP CBinderInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
22 { return _binder->Read(data, size, processedSize); }
31 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
36 STDMETHODIMP CBinderOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize)
37 { return _binder->Write(data, size, processedSize); }
60 ProcessedSize = 0;
73 ProcessedSize = 0;
87 HRESULT CStreamBinder::Read(void *data, UInt32 size, UInt32 *processedSize)
89 if (processedSize)
[all...] |
StreamUtils.cpp | 9 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *processedSize) throw()
11 size_t size = *processedSize;
12 *processedSize = 0;
18 *processedSize += processedSizeLoc;
30 size_t processedSize = size;
31 RINOK(ReadStream(stream, data, &processedSize));
32 return (size == processedSize) ? S_OK : S_FALSE;
37 size_t processedSize = size;
38 RINOK(ReadStream(stream, data, &processedSize));
39 return (size == processedSize) ? S_OK : E_FAIL; [all...] |
LimitedStreams.cpp | 9 STDMETHODIMP CLimitedSequentialInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
25 if (processedSize)
26 *processedSize = realProcessedSize;
30 STDMETHODIMP CLimitedInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
32 if (processedSize)
33 *processedSize = 0;
52 if (processedSize)
53 *processedSize = size;
88 STDMETHODIMP CClusterInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
90 if (processedSize)
[all...] |
StreamObjects.cpp | 11 STDMETHODIMP CBufferInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
13 if (processedSize)
14 *processedSize = 0;
24 if (processedSize)
25 *processedSize = (UInt32)rem;
46 STDMETHODIMP CBufInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
48 if (processedSize)
49 *processedSize = 0;
59 if (processedSize)
60 *processedSize = (UInt32)rem; [all...] |
FileStreams.cpp | 57 STDMETHODIMP CInFileStream::Read(void *data, UInt32 size, UInt32 *processedSize)
62 if (processedSize)
63 *processedSize = 0;
89 if (processedSize)
90 *processedSize += rem;
153 if (processedSize)
154 *processedSize = realProcessedSize;
177 if (processedSize)
178 *processedSize = 0;
186 if (processedSize)
[all...] |
StreamBinder.h | 35 UInt64 ProcessedSize;
42 HRESULT Read(void *data, UInt32 size, UInt32 *processedSize);
43 HRESULT Write(const void *data, UInt32 size, UInt32 *processedSize);
|
FileStreams.h | 87 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
105 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
121 ProcessedSize = 0;
126 ProcessedSize = 0;
132 UInt64 ProcessedSize;
145 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
163 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
|
LimitedStreams.h | 31 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
61 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
100 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
125 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
147 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
177 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
221 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
247 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
|
OffsetStream.cpp | 16 STDMETHODIMP COffsetOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize)
18 return _stream->Write(data, size, processedSize);
|
OffsetStream.h | 21 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
|
FilterCoder.cpp | 82 size_t processedSize = _bufSize - pos;
83 RINOK(ReadStream(inStream, _buf + pos, &processedSize));
84 endPos = pos + (UInt32)processedSize;
188 STDMETHODIMP CFilterCoder::Write(const void *data, UInt32 size, UInt32 *processedSize)
190 if (processedSize)
191 *processedSize = 0;
207 if (processedSize)
208 *processedSize += num;
308 STDMETHODIMP CFilterCoder::Read(void *data, UInt32 size, UInt32 *processedSize)
310 if (processedSize)
[all...] |
StreamObjects.h | 23 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
54 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
94 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
114 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
129 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
153 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
|
OutBuffer.cpp | 69 UInt32 processedSize = 0;
70 result = _stream->Write(_buf + _streamPos, size, &processedSize);
71 size = processedSize;
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zSpecStream.cpp | 7 STDMETHODIMP CSequentialInStreamSizeCount2::Read(void *data, UInt32 size, UInt32 *processedSize)
12 if (processedSize)
13 *processedSize = realProcessedSize;
|
7zFolderInStream.cpp | 75 STDMETHODIMP CFolderInStream::Read(void *data, UInt32 size, UInt32 *processedSize)
77 if (processedSize)
78 *processedSize = 0;
89 if (processedSize)
90 *processedSize = processed2;
|
7zSpecStream.h | 30 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
|
/external/lzma/CPP/7zip/ |
IStream.h | 16 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize) PURE;
19 The requirement for caller: (processedSize != NULL).
20 The callee can allow (processedSize == NULL) for compatibility reasons.
22 if (size == 0), this function returns S_OK and (*processedSize) is set to 0.
26 Partial read is allowed: (*processedSize <= avail_size && *processedSize <= size),
28 If (avail_size != 0), this function must read at least 1 byte: (*processedSize > 0).
33 if (seek_pointer >= stream_size), this function returns S_OK and (*processedSize) is set to 0.
36 If the function returns error code, then (*processedSize) is size of
46 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize) PURE; [all...] |
/external/lzma/CPP/7zip/Compress/ |
LzmaDecoder.cpp | 189 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize)
191 if (processedSize)
192 *processedSize = 0;
219 if (processedSize)
220 *processedSize += (UInt32)outProcessed;
236 HRESULT CDecoder::ReadFromInputStream(void *data, UInt32 size, UInt32 *processedSize)
239 if (processedSize)
240 *processedSize = 0;
259 if (processedSize)
260 *processedSize += curSize; [all...] |
CopyCoder.cpp | 85 STDMETHODIMP CCopyCoder::Read(void *data, UInt32 size, UInt32 *processedSize)
90 if (processedSize)
91 *processedSize = realProcessedSize;
|
CopyCoder.h | 37 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
|