Home
last modified time | relevance | path

Searched refs:packSize (Results 1 – 17 of 17) sorted by relevance

/third_party/lzma/C/
DLzma2Dec.c135 p->packSize = (UInt32)b << 8; in Lzma2Dec_UpdateState()
139 p->packSize |= (UInt32)b; in Lzma2Dec_UpdateState()
140 p->packSize++; in Lzma2Dec_UpdateState()
142 PRF(printf(" %5u", (unsigned)p->packSize)); in Lzma2Dec_UpdateState()
264 if (inCur > p->packSize) in Lzma2Dec_DecodeToDic()
265 inCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
271 p->packSize -= (UInt32)inCur; in Lzma2Dec_DecodeToDic()
280 if (p->packSize == 0) in Lzma2Dec_DecodeToDic()
289 || p->packSize != 0) in Lzma2Dec_DecodeToDic()
384 if (p->packSize != 0) in Lzma2Dec_Parse()
[all …]
DLzma2Enc.c133 size_t packSize = packSizeLimit; in Lzma2EncInt_EncodeSubblock() local
140 if (packSize < lzHeaderSize) in Lzma2EncInt_EncodeSubblock()
142 packSize -= lzHeaderSize; in Lzma2EncInt_EncodeSubblock()
146 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
148 PRF(printf("\npackSize = %7d unpackSize = %7d ", packSize, unpackSize)); in Lzma2EncInt_EncodeSubblock()
154 useCopyBlock = (packSize + 2 >= unpackSize || packSize > (1 << 16)); in Lzma2EncInt_EncodeSubblock()
200 const UInt32 pm = (UInt32)(packSize - 1); in Lzma2EncInt_EncodeSubblock()
216 destPos += packSize; in Lzma2EncInt_EncodeSubblock()
592 size_t packSize = LZMA2_CHUNK_SIZE_COMPRESSED_MAX; in Lzma2Enc_EncodeMt1() local
594 packSize = outLim - (size_t)packTotal; in Lzma2Enc_EncodeMt1()
[all …]
DXzDec.c852 p->packSize = (UInt64)(Int64)-1; in XzBlock_Parse()
855 READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize) in XzBlock_Parse()
856 if (p->packSize == 0 || p->packSize + headerSize >= (UInt64)1 << 63) in XzBlock_Parse()
1004 static void XzUnpacker_UpdateIndex(CXzUnpacker *p, UInt64 packSize, UInt64 unpackSize) in XzUnpacker_UpdateIndex() argument
1007 unsigned num = Xz_WriteVarInt(temp, packSize); in XzUnpacker_UpdateIndex()
1040 if (p->block.packSize != (UInt64)(Int64)-1) in XzUnpacker_Code()
1042 UInt64 rem = p->block.packSize - p->packSize; in XzUnpacker_Code()
1086 p->packSize += srcLen2; in XzUnpacker_Code()
1094 if (p->block.packSize == p->packSize in XzUnpacker_Code()
1111 if ((p->block.packSize != (UInt64)(Int64)-1 && p->block.packSize != p->packSize) in XzUnpacker_Code()
[all …]
DXz.h46 UInt64 packSize; member
243 UInt64 packSize; member
403 #define XzUnpacker_GetPackSizeForIndex(p) ((p)->packSize + (p)->blockHeaderSize + XzFlags_GetCheckS…
DLzma2Dec.h20 UInt32 packSize; member
DXzEnc.c77 if (XzBlock_HasPackSize(p)) pos += Xz_WriteVarInt(header + pos, p->packSize); in XzBlock_WriteHeader()
893 UInt64 packSize = seqSizeOutStream.processed; in Xz_CompressBlock() local
914 block.packSize = packSize; in Xz_CompressBlock()
D7zArcIn.c407 UInt64 packSize; in ReadPackInfo() local
409 RINOK(ReadNumber(sd, &packSize)) in ReadPackInfo()
410 sum += packSize; in ReadPackInfo()
411 if (sum < packSize) in ReadPackInfo()
/third_party/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp493 UInt64 packSize = 0;
501 lps->InSize = packSize;
528 packSize = decoder.GetInputProcessedSize();
554 _packSize = packSize;
DXzHandler.cpp796 UInt64 packSize, // pure size from Index record, it doesn't include pad zeros
817 const UInt64 packSizeAligned = packSize + ((0 - (unsigned)packSize) & 3);
873 if (XzUnpacker_GetPackSizeForIndex(&xzu.p) != packSize)
/third_party/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp864 const UInt64 packSize = CompressingMode ? outSize : inSize; in UpdateStatInfo() local
868 IS_UNDEFINED_VAL(packSize)) in UpdateStatInfo()
876 ShowSize(IDT_PROGRESS_PACKED_VAL, packSize, _packed_Prev); in UpdateStatInfo()
878 if (IS_DEFINED_VAL(packSize) && in UpdateStatInfo()
883 UInt64 ratio = packSize * 100 / unpackSize; in UpdateStatInfo()
/third_party/lzma/CPP/7zip/UI/Common/
DExtract.cpp41 UInt64 packSize, in DecompressArchive() argument
202 packSize); in DecompressArchive()
DArchiveExtractCallback.h483 UInt64 packSize);
DArchiveExtractCallback.cpp304 UInt64 packSize) in Init() argument
327 _packTotal = packSize; in Init()
328 _progressTotal = packSize; in Init()
DBench.cpp790 UInt64 GetNumCommands_Dec(UInt64 packSize, UInt64 unpackSize) const
793 GetNumCommands_from_Size_and_Complexity(packSize, DecComplexCompr) +
/third_party/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp532 UInt64 packSize = 0; in WriteHeader() local
534 packSize += db.PackSizes[i]; in WriteHeader()
535 headerOffset = packSize; in WriteHeader()
D7zUpdate.cpp2300 const UInt64 packSize = db->GetFolderFullPackSize(folderIndex);
2302 db->GetFolderStreamPos(folderIndex, 0), packSize, progress))
2303 lps->ProgressOffset += packSize;
2725 UInt64 packSize = 0;
2728 packSize += newDatabase.PackSizes[startPackIndex];
2729 lps->OutSize += packSize;
D7zIn.cpp698 const UInt64 packSize = ReadNumber(); in ReadPackInfo() local
699 sum += packSize; in ReadPackInfo()
700 if (sum < packSize) in ReadPackInfo()