Home
last modified time | relevance | path

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

123

/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp8 STDMETHODIMP CLimitedSequentialInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
20 if (processedSize) in Read()
21 *processedSize = realProcessedSize; in Read()
25 STDMETHODIMP CLimitedInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
27 if (processedSize) in Read()
28 *processedSize = 0; in Read()
45 if (processedSize) in Read()
46 *processedSize = size; in Read()
81 STDMETHODIMP CClusterInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
83 if (processedSize) in Read()
[all …]
DFileStreams.cpp53 STDMETHODIMP CInFileStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
58 if (processedSize) in Read()
59 *processedSize = 0; in Read()
85 if (processedSize) in Read()
86 *processedSize += rem; in Read()
149 if (processedSize) in Read()
150 *processedSize = realProcessedSize; in Read()
159 if (processedSize) in Read()
160 *processedSize = 0; in Read()
164 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()
75 HRESULT CStreamBinder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
77 if (processedSize) in Read()
78 *processedSize = 0; in Read()
93 if (processedSize) in Read()
[all …]
DStreamObjects.cpp11 STDMETHODIMP CBufInStream::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()
110 STDMETHODIMP CDynBufSeqOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
112 if (processedSize) in Write()
113 *processedSize = 0; in Write()
121 if (processedSize) in Write()
122 *processedSize = size; in Write()
[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.cpp50 size_t processedSize = kBufferSize - bufferPos; in Code() local
53 RINOK(ReadStream(inStream, _buffer + bufferPos, &processedSize)); in Code()
55 UInt32 endPos = bufferPos + (UInt32)processedSize; in Code()
98 STDMETHODIMP CFilterCoder::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
100 if (processedSize != NULL) in Write()
101 *processedSize = 0; in Write()
107 if (processedSize != NULL) in Write()
108 *processedSize += sizeTemp; in Write()
175 STDMETHODIMP CFilterCoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
177 if (processedSize != NULL) in Read()
[all …]
DLockedStream.cpp8 UInt32 *processedSize) in Read() argument
12 return _stream->Read(data, size, processedSize); in Read()
15 STDMETHODIMP CLockedSequentialInStreamImp::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
20 if (processedSize != NULL) in Read()
21 *processedSize = realProcessedSize; in Read()
DLimitedStreams.h31 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
60 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
99 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
124 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
146 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
176 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
220 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
246 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
DStreamObjects.h39 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
77 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
97 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
112 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
136 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
DFileStreams.h74 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
92 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
132 STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize);
145 STDMETHOD(Write)(const 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()
DStreamBinder.h24 HRESULT Read(void *data, UInt32 size, UInt32 *processedSize);
25 HRESULT Write(const void *data, UInt32 size, UInt32 *processedSize);
DLockedStream.h17 HRESULT Read(UInt64 startPos, void *data, UInt32 size, UInt32 *processedSize);
35 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
/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.h178 bool Read1(void *data, UInt32 size, UInt32 &processedSize) throw();
179 bool ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw();
180 bool Read(void *data, UInt32 size, UInt32 &processedSize) throw();
193 bool WritePart(const void *data, UInt32 size, UInt32 &processedSize) throw();
194 bool Write(const void *data, UInt32 size, UInt32 &processedSize) throw();
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderOutStream.cpp84 STDMETHODIMP CFolderOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) in Write() argument
86 if (processedSize != NULL) in Write()
87 *processedSize = 0; in Write()
99 if (processedSize != NULL) in Write()
100 *processedSize += cur; in Write()
114 if (processedSize != NULL) in Write()
115 *processedSize += size; in Write()
D7zFolderInStream.cpp79 STDMETHODIMP CFolderInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
81 if (processedSize != 0) in Read()
82 *processedSize = 0; in Read()
94 if (processedSize != 0) in Read()
95 *processedSize = processed2; 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()
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp187 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
189 if (processedSize) in Read()
190 *processedSize = 0; in Read()
217 if (processedSize) in Read()
218 *processedSize += (UInt32)outProcessed; in Read()
234 HRESULT CDecoder::ReadFromInputStream(void *data, UInt32 size, UInt32 *processedSize) in ReadFromInputStream() argument
237 if (processedSize) in ReadFromInputStream()
238 *processedSize = 0; in ReadFromInputStream()
257 if (processedSize) in ReadFromInputStream()
258 *processedSize += curSize; in ReadFromInputStream()
DBranchCoder.cpp16 UInt32 processedSize = SubFilter(data, size); in STDMETHODIMP_() local
17 _bufferPos += processedSize; in STDMETHODIMP_()
18 return processedSize; in STDMETHODIMP_()
DLzma2Decoder.cpp146 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() argument
148 if (processedSize) in Read()
149 *processedSize = 0; in Read()
176 if (processedSize) in Read()
177 *processedSize += (UInt32)outProcessed; in Read()

123