/external/lzma/C/ |
D | Lzma2Dec.c | 90 p->unpackSize = 0; in Lzma2Dec_Init() 119 p->unpackSize = (UInt32)(b & 0x1F) << 16; in Lzma2Dec_UpdateState() 124 p->unpackSize |= (UInt32)b << 8; in Lzma2Dec_UpdateState() 128 p->unpackSize |= (UInt32)b; in Lzma2Dec_UpdateState() 129 p->unpackSize++; in Lzma2Dec_UpdateState() 130 PRF(printf(" %7u", (unsigned)p->unpackSize)); in Lzma2Dec_UpdateState() 219 if (outCur >= p->unpackSize) in Lzma2Dec_DecodeToDic() 221 outCur = (SizeT)p->unpackSize; in Lzma2Dec_DecodeToDic() 248 p->unpackSize -= (UInt32)inCur; in Lzma2Dec_DecodeToDic() 249 p->state = (p->unpackSize == 0) ? LZMA2_STATE_CONTROL : LZMA2_STATE_DATA_CONT; in Lzma2Dec_DecodeToDic() [all …]
|
D | Lzma86Dec.c | 12 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize) in Lzma86_GetUnpackSize() argument 17 *unpackSize = 0; in Lzma86_GetUnpackSize() 19 *unpackSize += ((UInt64)src[LZMA86_SIZE_OFFSET + i]) << (8 * i); in Lzma86_GetUnpackSize()
|
D | Lzma2Enc.c | 119 Byte *dest, size_t *destLen, UInt32 desiredPackSize, UInt32 *unpackSize); 134 UInt32 unpackSize = LZMA2_UNPACK_SIZE_MAX; in Lzma2EncInt_EncodeSubblock() local 146 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock() 148 PRF(printf("\npackSize = %7d unpackSize = %7d ", packSize, unpackSize)); in Lzma2EncInt_EncodeSubblock() 150 if (unpackSize == 0) in Lzma2EncInt_EncodeSubblock() 154 useCopyBlock = (packSize + 2 >= unpackSize || packSize > (1 << 16)); in Lzma2EncInt_EncodeSubblock() 168 while (unpackSize > 0) in Lzma2EncInt_EncodeSubblock() 170 UInt32 u = (unpackSize < LZMA2_COPY_CHUNK_SIZE) ? unpackSize : LZMA2_COPY_CHUNK_SIZE; in Lzma2EncInt_EncodeSubblock() 176 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock() 177 unpackSize -= u; in Lzma2EncInt_EncodeSubblock() [all …]
|
D | XzEnc.c | 33 #define XZ_GET_MAX_BLOCK_PACK_SIZE(unpackSize) ((unpackSize) + ((unpackSize) >> 10) + 16 + 64) argument 35 …Z_GET_ESTIMATED_BLOCK_TOTAL_PACK_SIZE(unpackSize) (XZ_BLOCK_HEADER_SIZE_MAX + XZ_GET_MAX_BLOCK_PAC… argument 78 if (XzBlock_HasUnpackSize(p)) pos += Xz_WriteVarInt(header + pos, p->unpackSize); in XzBlock_WriteHeader() 152 static SRes XzEncIndex_PreAlloc(CXzEncIndex *p, UInt64 numBlocks, UInt64 unpackSize, UInt64 totalSi… in XzEncIndex_PreAlloc() argument 158 pos2 += Xz_WriteVarInt(buf + pos2, unpackSize); in XzEncIndex_PreAlloc() 174 static SRes XzEncIndex_AddIndexRecord(CXzEncIndex *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc… in XzEncIndex_AddIndexRecord() argument 178 pos += Xz_WriteVarInt(buf + pos, unpackSize); in XzEncIndex_AddIndexRecord() 698 UInt64 unpackSize; member 855 blockSizes->unpackSize = checkInStream.processed; in Xz_CompressBlock() 878 block.unpackSize = blockSizes->unpackSize; in Xz_CompressBlock() [all …]
|
D | Lzma2Dec.h | 21 UInt32 unpackSize; member 93 #define Lzma2Dec_GetUnpackExtra(p) ((p)->isExtraMode ? (p)->unpackSize : 0);
|
D | 7zDec.c | 399 UInt64 unpackSize = unpackSizes[ci]; in SzFolder_Decode2() local 404 outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2() 405 if (outSizeCur != unpackSize) in SzFolder_Decode2() 415 if (unpackSize > outSize) /* check it */ in SzFolder_Decode2() 417 tempBuf3 = outBufCur = outBuffer + (outSize - (size_t)unpackSize); in SzFolder_Decode2() 418 tempSize3 = outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
|
D | XzDec.c | 827 p->unpackSize = (UInt64)(Int64)-1; in XzBlock_Parse() 829 READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); in XzBlock_Parse() 969 static void XzUnpacker_UpdateIndex(CXzUnpacker *p, UInt64 packSize, UInt64 unpackSize) in XzUnpacker_UpdateIndex() argument 973 num += Xz_WriteVarInt(temp + num, unpackSize); in XzUnpacker_UpdateIndex() 1013 if (rem == 0 && p->block.unpackSize == p->unpackSize) in XzUnpacker_Code() 1017 if (p->block.unpackSize != (UInt64)(Int64)-1) in XzUnpacker_Code() 1019 UInt64 rem = p->block.unpackSize - p->unpackSize; in XzUnpacker_Code() 1053 p->unpackSize += destLen2; in XzUnpacker_Code() 1070 XzUnpacker_UpdateIndex(p, XzUnpacker_GetPackSizeForIndex(p), p->unpackSize); in XzUnpacker_Code() 1077 || (p->block.unpackSize != (UInt64)(Int64)-1 && p->block.unpackSize != p->unpackSize)) in XzUnpacker_Code() [all …]
|
D | Xz.h | 45 UInt64 unpackSize; member 108 UInt64 unpackSize; member 227 UInt64 unpackSize; member
|
D | Lzma86.h | 87 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize);
|
D | 7zArcIn.c | 997 UInt64 unpackSize = SzAr_GetFolderUnpackSize(p, fo); in SzReadAndDecodePackedStreams() local 998 if ((size_t)unpackSize != unpackSize) in SzReadAndDecodePackedStreams() 1000 if (!Buf_Create(tempBuf, (size_t)unpackSize, allocTemp)) in SzReadAndDecodePackedStreams() 1670 size_t unpackSize = (size_t)unpackSizeSpec; in SzArEx_Extract() local 1672 if (unpackSize != unpackSizeSpec) in SzArEx_Extract() 1680 *outBufferSize = unpackSize; in SzArEx_Extract() 1681 if (unpackSize != 0) in SzArEx_Extract() 1683 *tempBuf = (Byte *)ISzAlloc_Alloc(allocMain, unpackSize); in SzArEx_Extract() 1691 inStream, p->dataPos, *tempBuf, unpackSize, allocTemp); in SzArEx_Extract()
|
D | XzIn.c | 60 ADD_SIZE_CHECK(size, p->blocks[i].unpackSize); in Xz_GetUnpackSize() 113 READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); in Xz_ReadIndex2()
|
/external/lzma/C/Util/Lzma/ |
D | LzmaUtil.c | 57 UInt64 unpackSize) in Decode2() argument 59 int thereIsSize = (unpackSize != (UInt64)(Int64)-1); in Decode2() 78 if (thereIsSize && outProcessed > unpackSize) in Decode2() 80 outProcessed = (SizeT)unpackSize; in Decode2() 88 unpackSize -= outProcessed; in Decode2() 96 if (res != SZ_OK || (thereIsSize && unpackSize == 0)) in Decode2() 112 UInt64 unpackSize; in Decode() local 125 unpackSize = 0; in Decode() 127 unpackSize += (UInt64)header[LZMA_PROPS_SIZE + i] << (i * 8); in Decode() 131 res = Decode2(&state, outStream, inStream, unpackSize); in Decode()
|
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
D | LzmaSpec.cpp | 354 int Decode(bool unpackSizeDefined, UInt64 unpackSize); 467 int CLzmaDecoder::Decode(bool unpackSizeDefined, UInt64 unpackSize) in Decode() argument 479 if (unpackSizeDefined && unpackSize == 0 && !markerIsMandatory) in Decode() 487 if (unpackSizeDefined && unpackSize == 0) in Decode() 491 unpackSize--; in Decode() 499 if (unpackSizeDefined && unpackSize == 0) in Decode() 509 unpackSize--; in Decode() 548 if (unpackSizeDefined && unpackSize == 0) in Decode() 555 if (unpackSizeDefined && unpackSize < len) in Decode() 557 len = (unsigned)unpackSize; in Decode() [all …]
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | CoderMixer2.h | 208 void SetCoderInfo(const UInt64 *unpackSize, const UInt64 * const *packSizes, bool finish); 283 …virtual void SetCoderInfo(unsigned coderIndex, const UInt64 *unpackSize, const UInt64 * const *pac… 349 …virtual void SetCoderInfo(unsigned coderIndex, const UInt64 *unpackSize, const UInt64 * const *pac… in SetCoderInfo() argument 350 { _coders[coderIndex].SetCoderInfo(unpackSize, packSizes, finish); } in SetCoderInfo() 431 …virtual void SetCoderInfo(unsigned coderIndex, const UInt64 *unpackSize, const UInt64 * const *pac… in SetCoderInfo() argument 432 { _coders[coderIndex].SetCoderInfo(unpackSize, packSizes, finish); } in SetCoderInfo()
|
D | CoderMixer2.cpp | 211 void CCoder::SetCoderInfo(const UInt64 *unpackSize, const UInt64 * const *packSizes, bool finish) in SetCoderInfo() argument 215 if (unpackSize) in SetCoderInfo() 217 UnpackSize = *unpackSize; in SetCoderInfo()
|
/external/lzma/CPP/7zip/Archive/ |
D | LzmaHandler.cpp | 318 UInt64 unpackSize = GetUi64(p + 1 + 4); in IsArc_Lzma() local 319 if (unpackSize != (UInt64)(Int64)-1) in IsArc_Lzma() 324 if (unpackSize != 0) in IsArc_Lzma() 330 if (unpackSize != (UInt64)(Int64)-1) in IsArc_Lzma() 512 UInt64 unpackSize = 0; in Extract() local 520 lps->OutSize = unpackSize; in Extract() 547 unpackSize = outStreamSpec->GetSize(); in Extract() 573 _unpackSize = unpackSize; in Extract()
|
D | XzHandler.cpp | 577 if (bs.unpackSize != 0) in Open2() 589 unpackPos += bs.unpackSize; in Open2() 590 if (_maxBlocksSize < bs.unpackSize) in Open2() 591 _maxBlocksSize = bs.unpackSize; in Open2() 753 size_t unpackSize, Byte *dest in DecodeBlock() argument 771 XzUnpacker_SetOutBuf(&xzu.p, dest, unpackSize); in DecodeBlock() 796 SizeT outLen = unpackSize - outPos; in DecodeBlock() 827 if (packRem != 0 || !blockFinished || unpackSize != outPos) in DecodeBlock() 863 const UInt64 unpackSize = _handlerSpec->_blocks[bi + 1].UnpackPos - block.UnpackPos; in Read() local 864 if (_cache.Size() < unpackSize) in Read() [all …]
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zDecode.cpp | 225 const UInt64 *unpackSize in Decode() argument 260 if (unpackSize) in Decode() 262 if (*unpackSize > folderUnpackSize) in Decode() 264 fullUnpack = (*unpackSize == folderUnpackSize); in Decode() 471 (unpackSize && i == bindInfo.UnpackCoder) ? in Decode() 472 unpackSize : in Decode()
|
D | 7zEncode.cpp | 300 UInt64 &unpackSize, in Encode() argument 388 NWindows::NCOM::CPropVariant prop = (UInt64)unpackSize; in Encode() 469 unpackSize = 0; in Encode() 478 unpackSize = streamSize; in Encode()
|
D | 7zDecode.h | 51 const UInt64 *unpackSize // if (!unpackSize), then full folder is required
|
D | 7zEncode.h | 84 UInt64 &unpackSize,
|
D | 7zIn.cpp | 1094 size_t unpackSize = (size_t)unpackSize64; in ReadAndDecodePackedStreams() local 1095 if (unpackSize != unpackSize64) in ReadAndDecodePackedStreams() 1097 data.Alloc(unpackSize); in ReadAndDecodePackedStreams() 1101 outStreamSpec->Init(data, unpackSize); in ReadAndDecodePackedStreams() 1131 if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) in ReadAndDecodePackedStreams()
|
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 748 UInt64 unpackSize = 0; in main2() local 750 unpackSize |= ((UInt64)header[kPropertiesSize + i]) << (8 * i); in main2() 752 bool unpackSizeDefined = (unpackSize != (UInt64)(Int64)-1); in main2() 754 …HRESULT res = decoder->Code(inStream, outStream, NULL, unpackSizeDefined ? &unpackSize : NULL, pro… in main2() 768 if (unpackSizeDefined && unpackSize != decoderSpec->GetOutputProcessedSize()) in main2()
|
/external/lzma/DOC/ |
D | lzma-specification.txt | 862 unpackSize contains any value 872 unpackSize contains unpack size 880 unpackSize contains unpack size 902 The reference implementation of LZMA decoder uses "unpackSize" variable 904 "unpackSize" value after each decoded LITERAL or MATCH. 909 if (unpackSizeDefined && unpackSize == 0 && !markerIsMandatory) 997 if (unpackSizeDefined && unpackSize == 0) 1004 Then the decoder must update the "state" value and "unpackSize" value; 1007 unpackSize--; 1050 if (unpackSizeDefined && unpackSize == 0) [all …]
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 845 const UInt64 unpackSize = CompressingMode ? inSize : outSize; in UpdateStatInfo() local 847 if (IS_UNDEFINED_VAL(unpackSize) && in UpdateStatInfo() 855 ShowSize(IDT_PROGRESS_PROCESSED_VAL, unpackSize, _processed_Prev); in UpdateStatInfo() 859 IS_DEFINED_VAL(unpackSize) && in UpdateStatInfo() 860 unpackSize != 0) in UpdateStatInfo() 863 UInt64 ratio = packSize * 100 / unpackSize; in UpdateStatInfo()
|