Home
last modified time | relevance | path

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

/external/lzma/C/
DLzma2Dec.c134 p->packSize = (UInt32)b << 8; in Lzma2Dec_UpdateState()
138 p->packSize |= (UInt32)b; in Lzma2Dec_UpdateState()
139 p->packSize++; in Lzma2Dec_UpdateState()
141 PRF(printf(" %5u", (unsigned)p->packSize)); in Lzma2Dec_UpdateState()
263 if (inCur > p->packSize) in Lzma2Dec_DecodeToDic()
264 inCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
270 p->packSize -= (UInt32)inCur; in Lzma2Dec_DecodeToDic()
279 if (p->packSize == 0) in Lzma2Dec_DecodeToDic()
288 || p->packSize != 0) in Lzma2Dec_DecodeToDic()
383 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 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.c819 p->packSize = (UInt64)(Int64)-1; in XzBlock_Parse()
822 READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); in XzBlock_Parse()
823 if (p->packSize == 0 || p->packSize + headerSize >= (UInt64)1 << 63) in XzBlock_Parse()
969 static void XzUnpacker_UpdateIndex(CXzUnpacker *p, UInt64 packSize, UInt64 unpackSize) in XzUnpacker_UpdateIndex() argument
972 unsigned num = Xz_WriteVarInt(temp, packSize); in XzUnpacker_UpdateIndex()
1005 if (p->block.packSize != (UInt64)(Int64)-1) in XzUnpacker_Code()
1007 UInt64 rem = p->block.packSize - p->packSize; in XzUnpacker_Code()
1051 p->packSize += srcLen2; in XzUnpacker_Code()
1059 if (p->block.packSize == p->packSize in XzUnpacker_Code()
1076 if ((p->block.packSize != (UInt64)(Int64)-1 && p->block.packSize != p->packSize) in XzUnpacker_Code()
[all …]
DXz.h44 UInt64 packSize; member
226 UInt64 packSize; member
370 #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()
860 UInt64 packSize = seqSizeOutStream.processed; in Xz_CompressBlock() local
881 block.packSize = packSize; in Xz_CompressBlock()
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.cpp511 UInt64 packSize = 0; in Extract() local
519 lps->InSize = packSize; in Extract()
546 packSize = decoder.GetInputProcessedSize(); in Extract()
572 _packSize = packSize; in Extract()
DXzHandler.cpp752 UInt64 packSize, // pure size from Index record, it doesn't include pad zeros in DecodeBlock() argument
773 const UInt64 packSizeAligned = packSize + ((0 - (unsigned)packSize) & 3); in DecodeBlock()
829 if (XzUnpacker_GetPackSizeForIndex(&xzu.p) != packSize) in DecodeBlock()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp844 const UInt64 packSize = CompressingMode ? outSize : inSize; in UpdateStatInfo() local
848 IS_UNDEFINED_VAL(packSize)) in UpdateStatInfo()
856 ShowSize(IDT_PROGRESS_PACKED_VAL, packSize, _packed_Prev); in UpdateStatInfo()
858 if (IS_DEFINED_VAL(packSize) && in UpdateStatInfo()
863 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.h331 UInt64 packSize);
DArchiveExtractCallback.cpp207 UInt64 packSize) in Init() argument
229 _packTotal = packSize; in Init()
230 _progressTotal = packSize; in Init()
DBench.cpp588 UInt64 GeDecomprCommands(UInt64 packSize, UInt64 unpackSize) in GeDecomprCommands()
590 return (packSize * DecComplexCompr + unpackSize * DecComplexUnc); in GeDecomprCommands()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp539 UInt64 packSize = 0; in WriteHeader() local
541 packSize += db.PackSizes[i]; in WriteHeader()
542 headerOffset = packSize; in WriteHeader()
D7zIn.cpp623 UInt64 packSize = ReadNumber(); in ReadPackInfo() local
624 sum += packSize; in ReadPackInfo()
625 if (sum < packSize) in ReadPackInfo()
D7zUpdate.cpp2012 UInt64 packSize = db->GetFolderFullPackSize(folderIndex); in Update() local
2014 db->GetFolderStreamPos(folderIndex, 0), packSize, progress)); in Update()
2015 lps->ProgressOffset += packSize; in Update()