Home
last modified time | relevance | path

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

123

/external/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 …]
DFileStreams.cpp57 STDMETHODIMP CInFileStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
62 if (processedSize) in Read()
63 *processedSize = 0; in Read()
89 if (processedSize) in Read()
90 *processedSize += rem; in Read()
153 if (processedSize) in Read()
154 *processedSize = realProcessedSize; in Read()
177 if (processedSize) in Read()
178 *processedSize = 0; in Read()
186 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()
87 HRESULT CStreamBinder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
89 if (processedSize) in Read()
90 *processedSize = 0; in Read()
105 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 …]
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.cpp82 size_t processedSize = _bufSize - pos; in Code() local
83 RINOK(ReadStream(inStream, _buf + pos, &processedSize)); in Code()
84 endPos = pos + (UInt32)processedSize; in Code()
188 STDMETHODIMP CFilterCoder::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
190 if (processedSize) in Write()
191 *processedSize = 0; in Write()
207 if (processedSize) in Write()
208 *processedSize += num; in Write()
308 STDMETHODIMP CFilterCoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
310 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);
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);
DStreamObjects.h23 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);
DOutBuffer.cpp69 UInt32 processedSize = 0; in FlushPart() local
70 result = _stream->Write(_buf + _streamPos, size, &processedSize); in FlushPart()
71 size = processedSize; in FlushPart()
DFileStreams.h87 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
105 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
145 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
163 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
DStreamBinder.h42 HRESULT Read(void *data, UInt32 size, UInt32 *processedSize);
43 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()
/external/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()
/external/lzma/CPP/Windows/
DFileIO.cpp335 bool CInFile::Read1(void *data, UInt32 size, UInt32 &processedSize) throw() in Read1() argument
339 processedSize = (UInt32)processedLoc; in Read1()
343 bool CInFile::ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw() in ReadPart() argument
347 return Read1(data, size, processedSize); in ReadPart()
350 bool CInFile::Read(void *data, UInt32 size, UInt32 &processedSize) throw() in Read() argument
352 processedSize = 0; in Read()
357 processedSize += processedLoc; in Read()
391 bool COutFile::WritePart(const void *data, UInt32 size, UInt32 &processedSize) throw() in WritePart() argument
397 processedSize = (UInt32)processedLoc; in WritePart()
401 bool COutFile::Write(const void *data, UInt32 size, UInt32 &processedSize) throw() in Write() argument
[all …]
DFileIO.h189 bool Read1(void *data, UInt32 size, UInt32 &processedSize) throw();
190 bool ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw();
191 bool Read(void *data, UInt32 size, UInt32 &processedSize) throw();
204 bool WritePart(const void *data, UInt32 size, UInt32 &processedSize) throw();
205 bool Write(const void *data, UInt32 size, UInt32 &processedSize) throw();
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp233 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
235 if (processedSize) in Read()
236 *processedSize = 0; in Read()
273 if (processedSize) in Read()
274 *processedSize += (UInt32)outProcessed; in Read()
306 HRESULT CDecoder::ReadFromInputStream(void *data, UInt32 size, UInt32 *processedSize) in ReadFromInputStream() argument
310 if (processedSize) in ReadFromInputStream()
311 *processedSize = 0; in ReadFromInputStream()
334 if (processedSize) in ReadFromInputStream()
335 *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.cpp90 STDMETHODIMP CCopyCoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
95 if (processedSize) in Read()
96 *processedSize = realProcessedSize; in Read()
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp75 STDMETHODIMP CFolderInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
77 if (processedSize) in Read()
78 *processedSize = 0; in Read()
92 if (processedSize) in Read()
93 *processedSize = cur; in Read()
D7zSpecStream.cpp7 STDMETHODIMP CSequentialInStreamSizeCount2::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
12 if (processedSize) in Read()
13 *processedSize = realProcessedSize; 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