Home
last modified time | relevance | path

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

/external/lzma/C/
DLzma2Enc.c78 size_t packSize = packSizeLimit; in Lzma2EncInt_EncodeSubblock() local
85 if (packSize < lzHeaderSize) in Lzma2EncInt_EncodeSubblock()
87 packSize -= lzHeaderSize; in Lzma2EncInt_EncodeSubblock()
91 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
93 PRF(printf("\npackSize = %7d unpackSize = %7d ", packSize, unpackSize)); in Lzma2EncInt_EncodeSubblock()
99 useCopyBlock = (packSize + 2 >= unpackSize || packSize > (1 << 16)); in Lzma2EncInt_EncodeSubblock()
141 UInt32 pm = (UInt32)(packSize - 1); in Lzma2EncInt_EncodeSubblock()
157 destPos += packSize; in Lzma2EncInt_EncodeSubblock()
297 size_t packSize = LZMA2_CHUNK_SIZE_COMPRESSED_MAX; in Lzma2Enc_EncodeMt1() local
298 res = Lzma2EncInt_EncodeSubblock(p, mainEncoder->outBuf, &packSize, outStream); in Lzma2Enc_EncodeMt1()
[all …]
DLzma2Dec.c131 p->packSize = (UInt32)b << 8; in Lzma2Dec_UpdateState()
135 p->packSize |= (UInt32)b; in Lzma2Dec_UpdateState()
136 p->packSize++; in Lzma2Dec_UpdateState()
137 PRF(printf(" %8d", p->packSize)); in Lzma2Dec_UpdateState()
261 if (srcSizeCur > p->packSize) in Lzma2Dec_DecodeToDic()
262 srcSizeCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
268 p->packSize -= (UInt32)srcSizeCur; in Lzma2Dec_DecodeToDic()
280 p->unpackSize != 0 || p->packSize != 0) in Lzma2Dec_DecodeToDic()
DXzDec.c536 READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); in XzBlock_Parse()
537 if (p->packSize == 0 || p->packSize + headerSize >= (UInt64)1 << 63) in XzBlock_Parse()
654 p->packSize += srcLen2; in XzUnpacker_Code()
665 …unsigned num = Xz_WriteVarInt(temp, p->packSize + p->blockHeaderSize + XzFlags_GetCheckSize(p->str… in XzUnpacker_Code()
744 p->packSize = 0; in XzUnpacker_Code()
754 if (((p->packSize + p->alignPos) & 3) != 0) in XzUnpacker_Code()
DXz.h44 UInt64 packSize; member
204 UInt64 packSize; member
DLzma2Dec.h16 UInt32 packSize; member
DXzEnc.c65 if (XzBlock_HasPackSize(p)) pos += Xz_WriteVarInt(header + pos, p->packSize); in XzBlock_WriteHeader()
480 block.packSize = seqSizeOutStream.processed - packPos; in Xz_Compress()
486 while((((unsigned)block.packSize + padSize) & 3) != 0) in Xz_Compress()
D7zArcIn.c454 UInt64 packSize; in ReadPackInfo() local
456 RINOK(ReadNumber(sd, &packSize)); in ReadPackInfo()
457 sum += packSize; in ReadPackInfo()
458 if (sum < packSize) in ReadPackInfo()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp476 UInt64 packSize = 0; in Extract() local
484 lps->InSize = packSize; in Extract()
511 packSize = decoder.GetInputProcessedSize(); in Extract()
537 _packSize = packSize; in Extract()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp822 const UInt64 packSize = CompressingMode ? outSize : inSize; in UpdateStatInfo() local
826 IS_UNDEFINED_VAL(packSize)) in UpdateStatInfo()
834 ShowSize(IDT_PROGRESS_PACKED_VAL, packSize, _packed_Prev); in UpdateStatInfo()
836 if (IS_DEFINED_VAL(packSize) && in UpdateStatInfo()
841 UInt64 ratio = packSize * 100 / unpackSize; in UpdateStatInfo()
/external/lzma/CPP/7zip/UI/Common/
DExtract.cpp25 UInt64 packSize, in DecompressArchive() argument
146 packSize); in DecompressArchive()
DArchiveExtractCallback.h278 UInt64 packSize);
DArchiveExtractCallback.cpp185 UInt64 packSize) in Init() argument
200 _packTotal = packSize; in Init()
DBench.cpp555 UInt64 GeDecomprCommands(UInt64 packSize, UInt64 unpackSize) in GeDecomprCommands()
557 return (packSize * DecComplexCompr + unpackSize * DecComplexUnc); in GeDecomprCommands()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp1071 UInt64 packSize = db->GetFolderFullPackSize(folderIndex); in Update() local
1073 db->GetFolderStreamPos(folderIndex, 0), packSize, progress)); in Update()
1074 lps->ProgressOffset += packSize; in Update()
D7zIn.cpp653 UInt64 packSize = ReadNumber(); in ReadPackInfo() local
654 sum += packSize; in ReadPackInfo()
655 if (sum < packSize) in ReadPackInfo()