Home
last modified time | relevance | path

Searched refs:packSize (Results 1 – 17 of 17) 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()
145 UInt32 pm = (UInt32)(packSize - 1); in Lzma2EncInt_EncodeSubblock()
161 destPos += packSize; in Lzma2EncInt_EncodeSubblock()
313 size_t packSize = LZMA2_CHUNK_SIZE_COMPRESSED_MAX; in Lzma2Enc_EncodeMt1() local
314 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(" %8u", (unsigned)p->packSize)); in Lzma2Dec_UpdateState()
281 if (srcSizeCur > p->packSize) in Lzma2Dec_DecodeToDic()
282 srcSizeCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
288 p->packSize -= (UInt32)srcSizeCur; in Lzma2Dec_DecodeToDic()
301 || 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()
658 p->packSize += srcLen2; in XzUnpacker_Code()
669 …unsigned num = Xz_WriteVarInt(temp, p->packSize + p->blockHeaderSize + XzFlags_GetCheckSize(p->str… in XzUnpacker_Code()
748 p->packSize = 0; in XzUnpacker_Code()
758 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.c59 if (XzBlock_HasPackSize(p)) pos += Xz_WriteVarInt(header + pos, p->packSize); in XzBlock_WriteHeader()
494 block.packSize = seqSizeOutStream.processed - packPos; in Xz_Compress()
500 while ((((unsigned)block.packSize + padSize) & 3) != 0) in Xz_Compress()
D7zArcIn.c395 UInt64 packSize; in ReadPackInfo() local
397 RINOK(ReadNumber(sd, &packSize)); in ReadPackInfo()
398 sum += packSize; in ReadPackInfo()
399 if (sum < packSize) in ReadPackInfo()
/external/python/cpython2/Mac/Demo/imgbrowse/
Dmac_image.py34 packType, packSize, \
44 print 'packing: %d %d'%(packType, packSize)
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp455 UInt64 packSize = 0; in Extract() local
463 lps->InSize = packSize; in Extract()
490 packSize = decoder.GetInputProcessedSize(); in Extract()
516 _packSize = packSize; in Extract()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp841 const UInt64 packSize = CompressingMode ? outSize : inSize; in UpdateStatInfo() local
845 IS_UNDEFINED_VAL(packSize)) in UpdateStatInfo()
853 ShowSize(IDT_PROGRESS_PACKED_VAL, packSize, _packed_Prev); in UpdateStatInfo()
855 if (IS_DEFINED_VAL(packSize) && in UpdateStatInfo()
860 UInt64 ratio = packSize * 100 / unpackSize; in UpdateStatInfo()
/external/lzma/CPP/7zip/UI/Common/
DExtract.cpp25 UInt64 packSize, in DecompressArchive() argument
183 packSize); in DecompressArchive()
DArchiveExtractCallback.h300 UInt64 packSize);
DArchiveExtractCallback.cpp197 UInt64 packSize) in Init() argument
219 _packTotal = packSize; in Init()
220 _progressTotal = packSize; in Init()
DBench.cpp641 UInt64 GeDecomprCommands(UInt64 packSize, UInt64 unpackSize) in GeDecomprCommands()
643 return (packSize * DecComplexCompr + unpackSize * DecComplexUnc); in GeDecomprCommands()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp544 UInt64 packSize = 0; in WriteHeader() local
546 packSize += db.PackSizes[i]; in WriteHeader()
547 headerOffset = packSize; in WriteHeader()
D7zIn.cpp598 UInt64 packSize = ReadNumber(); in ReadPackInfo() local
599 sum += packSize; in ReadPackInfo()
600 if (sum < packSize) in ReadPackInfo()
D7zUpdate.cpp1992 UInt64 packSize = db->GetFolderFullPackSize(folderIndex); in Update() local
1994 db->GetFolderStreamPos(folderIndex, 0), packSize, progress)); in Update()
1995 lps->ProgressOffset += packSize; in Update()