/external/lzma/CPP/7zip/Compress/ |
BranchCoder.cpp | 16 UInt32 processedSize = SubFilter(data, size);
17 _bufferPos += processedSize;
18 return processedSize;
|
Bcj2Coder.cpp | 112 UInt32 processedSize = 0;
115 UInt32 size = kBufferSize - (bufferPos + processedSize);
119 RINOK(inStream->Read(_buffer + bufferPos + processedSize, size, &processedSizeLoc));
122 processedSize += processedSizeLoc;
124 UInt32 endPos = bufferPos + processedSize;
|
/external/lzma/CPP/7zip/Common/ |
StreamUtils.cpp | 9 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *processedSize)
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...] |
OutBuffer.cpp | 74 UInt32 processedSize = 0;
75 result = _stream->Write(_buffer + _streamPos, size, &processedSize);
76 size = processedSize;
|
FilterCoder.cpp | 50 size_t processedSize = kBufferSize - bufferPos;
53 RINOK(ReadStream(inStream, _buffer + bufferPos, &processedSize));
55 UInt32 endPos = bufferPos + (UInt32)processedSize;
98 STDMETHODIMP CFilterCoder::Write(const void *data, UInt32 size, UInt32 *processedSize)
100 if (processedSize != NULL)
101 *processedSize = 0;
107 if (processedSize != NULL)
108 *processedSize += sizeTemp;
169 STDMETHODIMP CFilterCoder::Read(void *data, UInt32 size, UInt32 *processedSize)
171 if (processedSize != NULL) [all...] |
/external/lzma/C/ |
XzIn.c | 160 size_t processedSize;
165 processedSize = (*startOffset > TEMP_BUF_SIZE) ? TEMP_BUF_SIZE : (size_t)*startOffset;
166 i += processedSize;
167 *startOffset = -(Int64)processedSize;
169 RINOK(LookInStream_Read2(stream, tempBuf, processedSize, SZ_ERROR_NO_ARCHIVE));
170 for (j = (int)processedSize; j >= 0; j--)
|
/external/lzma/C/Util/7z/ |
7zMain.c | 431 size_t processedSize;
460 processedSize = outSizeProcessed;
461 if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProcessed)
|
/external/lzma/C/Util/SfxSetup/ |
SfxSetup.c | 411 size_t processedSize;
460 processedSize = outSizeProcessed;
461 if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProcessed)
|
/external/lzma/CPP/7zip/UI/Common/ |
OpenArchive.cpp | 151 size_t processedSize = kBufferSize;
152 RINOK(ReadStream(stream, byteBuffer, &processedSize));
153 if (processedSize == 0)
177 processedSize -= (kNumHashBytes - 1);
178 for (UInt32 pos = 0; pos < processedSize; pos++)
180 for (; pos < processedSize && hash[HASH_VAL(buf, pos)] == 0xFF; pos++);
181 if (pos == processedSize)
191 if (sig.GetCapacity() != 0 && pos + sig.GetCapacity() <= processedSize + (kNumHashBytes - 1) &&
220 size_t processedSize = kBufferSize;
221 RINOK(ReadStream(stream, buffer, &processedSize));
[all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zOut.cpp | 18 UInt32 processedSize;
19 RINOK(stream->Write(data, curSize, &processedSize));
20 if (processedSize == 0)
22 data = (const void *)((const Byte *)data + processedSize);
23 size -= processedSize;
|
7zIn.cpp | 331 UInt32 processedSize;
332 RINOK(stream->Read(buffer + numPrevBytes, numReadBytes, &processedSize));
333 numPrevBytes += processedSize;
334 if (processedSize == 0)
[all...] |