Home
last modified time | relevance | path

Searched refs:processedSize (Results 1 – 25 of 61) sorted by relevance

123

/third_party/lzma/CPP/7zip/Common/
DLimitedStreams.cpp9 STDMETHODIMP CLimitedSequentialInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
25 if (processedSize) in Read()
26 *processedSize = realProcessedSize; in Read()
30 STDMETHODIMP CLimitedInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
32 if (processedSize) in Read()
33 *processedSize = 0; in Read()
52 if (processedSize) in Read()
53 *processedSize = size; in Read()
88 STDMETHODIMP CClusterInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
90 if (processedSize) in Read()
[all …]
DStreamBinder.cpp16 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
21 STDMETHODIMP CBinderInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
22 { return _binder->Read(data, size, processedSize); } in Read()
31 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
36 STDMETHODIMP CBinderOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
37 { return _binder->Write(data, size, processedSize); } in Write()
79 HRESULT CStreamBinder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
81 if (processedSize) in Read()
82 *processedSize = 0; in Read()
99 if (processedSize) in Read()
[all …]
DStreamObjects.cpp11 STDMETHODIMP CBufferInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
13 if (processedSize) in Read()
14 *processedSize = 0; in Read()
24 if (processedSize) in Read()
25 *processedSize = (UInt32)rem; in Read()
46 STDMETHODIMP CBufInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
48 if (processedSize) in Read()
49 *processedSize = 0; in Read()
59 if (processedSize) in Read()
60 *processedSize = (UInt32)rem; in Read()
[all …]
DFileStreams.cpp81 STDMETHODIMP CInFileStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
86 if (processedSize) in Read()
87 *processedSize = 0; in Read()
113 if (processedSize) in Read()
114 *processedSize += rem; in Read()
177 if (processedSize) in Read()
178 *processedSize = realProcessedSize; in Read()
190 if (processedSize) in Read()
191 *processedSize = 0; in Read()
195 if (processedSize) in Read()
[all …]
DStreamUtils.cpp9 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *processedSize) throw() in ReadStream() argument
11 size_t size = *processedSize; in ReadStream()
12 *processedSize = 0; in ReadStream()
18 *processedSize += processedSizeLoc; in ReadStream()
30 size_t processedSize = size; in ReadStream_FALSE() local
31 RINOK(ReadStream(stream, data, &processedSize)); in ReadStream_FALSE()
32 return (size == processedSize) ? S_OK : S_FALSE; in ReadStream_FALSE()
37 size_t processedSize = size; in ReadStream_FAIL() local
38 RINOK(ReadStream(stream, data, &processedSize)); in ReadStream_FAIL()
39 return (size == processedSize) ? S_OK : E_FAIL; in ReadStream_FAIL()
DFilterCoder.cpp98 size_t processedSize = _bufSize - pos; in Code() local
99 RINOK(ReadStream(inStream, _buf + pos, &processedSize)); in Code()
100 pos += (UInt32)processedSize; in Code()
206 STDMETHODIMP CFilterCoder::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
208 if (processedSize) in Write()
209 *processedSize = 0; in Write()
225 if (processedSize) in Write()
226 *processedSize += num; in Write()
326 STDMETHODIMP CFilterCoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
328 if (processedSize) in Read()
[all …]
DLimitedStreams.h31 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);
130 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
154 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
184 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
228 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
254 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
DStreamObjects.h23 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
56 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
100 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
121 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
137 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
162 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
DOutBuffer.cpp69 UInt32 processedSize = 0; in FlushPart() local
70 result = _stream->Write(_buf + _streamPos, size, &processedSize); in FlushPart()
71 size = processedSize; in FlushPart()
DFileStreams.h101 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
119 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
153 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
180 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
DStreamBinder.h49 HRESULT Read(void *data, UInt32 size, UInt32 *processedSize);
50 HRESULT Write(const void *data, UInt32 size, UInt32 *processedSize);
DOffsetStream.cpp16 STDMETHODIMP COffsetOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
18 return _stream->Write(data, size, processedSize); in Write()
/third_party/lzma/CPP/7zip/Archive/Common/
DInStreamWithCRC.cpp7 STDMETHODIMP CSequentialInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
17 if (processedSize) in Read()
18 *processedSize = realProcessed; in Read()
22 STDMETHODIMP CInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
34 if (processedSize) in Read()
35 *processedSize = realProcessed; in Read()
DMultiStream.cpp7 STDMETHODIMP CMultiStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
9 if (processedSize) in Read()
10 *processedSize = 0; in Read()
47 if (processedSize) in Read()
48 *processedSize = size; in Read()
DDummyOutStream.cpp7 STDMETHODIMP CDummyOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
14 if (processedSize) in Write()
15 *processedSize = realProcessedSize; in Write()
DOutStreamWithCRC.cpp7 STDMETHODIMP COutStreamWithCRC::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
15 if (processedSize != NULL) in Write()
16 *processedSize = size; in Write()
/third_party/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp236 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
238 if (processedSize) in Read()
239 *processedSize = 0; in Read()
276 if (processedSize) in Read()
277 *processedSize += (UInt32)outProcessed; in Read()
309 HRESULT CDecoder::ReadFromInputStream(void *data, UInt32 size, UInt32 *processedSize) in ReadFromInputStream() argument
313 if (processedSize) in ReadFromInputStream()
314 *processedSize = 0; in ReadFromInputStream()
337 if (processedSize) in ReadFromInputStream()
338 *processedSize += cur; in ReadFromInputStream()
DLzma2Decoder.cpp245 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
247 if (processedSize) in Read()
248 *processedSize = 0; in Read()
256 if (processedSize) in Read()
257 *processedSize = (UInt32)size2; in Read()
DCopyCoder.cpp118 STDMETHODIMP CCopyCoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
123 if (processedSize) in Read()
124 *processedSize = realProcessedSize; in Read()
/third_party/lzma/CPP/Windows/
DFileIO.cpp462 bool CInFile::Read1(void *data, UInt32 size, UInt32 &processedSize) throw() in Read1() argument
466 processedSize = (UInt32)processedLoc; in Read1()
470 bool CInFile::ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw() in ReadPart() argument
474 return Read1(data, size, processedSize); in ReadPart()
477 bool CInFile::Read(void *data, UInt32 size, UInt32 &processedSize) throw() in Read() argument
479 processedSize = 0; in Read()
484 processedSize += processedLoc; in Read()
496 bool CInFile::ReadFull(void *data, size_t size, size_t &processedSize) throw() in ReadFull() argument
498 processedSize = 0; in ReadFull()
504 processedSize += processedLoc; in ReadFull()
[all …]
DFileIO.h248 bool Read1(void *data, UInt32 size, UInt32 &processedSize) throw();
249 bool ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw();
250 bool Read(void *data, UInt32 size, UInt32 &processedSize) throw();
251 bool ReadFull(void *data, size_t size, size_t &processedSize) throw();
264 bool WritePart(const void *data, UInt32 size, UInt32 &processedSize) throw();
265 bool Write(const void *data, UInt32 size, UInt32 &processedSize) throw();
325 bool ReadFull(void *data, size_t size, size_t &processedSize) throw();
/third_party/lzma/CPP/7zip/Archive/7z/
D7zSpecStream.cpp7 STDMETHODIMP CSequentialInStreamSizeCount2::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
12 if (processedSize) in Read()
13 *processedSize = realProcessedSize; in Read()
D7zFolderInStream.cpp134 STDMETHODIMP CFolderInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
136 if (processedSize) in Read()
137 *processedSize = 0; in Read()
151 if (processedSize) in Read()
152 *processedSize = cur; in Read()
D7zDecode.cpp152 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
155 STDMETHODIMP CLockedSequentialInStreamMT::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
169 if (processedSize) in Read()
170 *processedSize = realProcessedSize; in Read()
196 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
199 STDMETHODIMP CLockedSequentialInStreamST::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
211 if (processedSize) in Read()
212 *processedSize = realProcessedSize; in Read()
D7zExtract.cpp55 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
145 STDMETHODIMP CFolderOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
147 if (processedSize) in Write()
148 *processedSize = 0; in Write()
166 if (processedSize) in Write()
167 *processedSize += cur; in Write()

123