Home
last modified time | relevance | path

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

/external/lzma/C/
DLzma2Enc.c76 size_t packSize = packSizeLimit; in Lzma2EncInt_EncodeSubblock() local
83 if (packSize < lzHeaderSize) in Lzma2EncInt_EncodeSubblock()
85 packSize -= lzHeaderSize; in Lzma2EncInt_EncodeSubblock()
89 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
91 PRF(printf("\npackSize = %7d unpackSize = %7d ", packSize, unpackSize)); in Lzma2EncInt_EncodeSubblock()
97 useCopyBlock = (packSize + 2 >= unpackSize || packSize > (1 << 16)); in Lzma2EncInt_EncodeSubblock()
139 UInt32 pm = (UInt32)(packSize - 1); in Lzma2EncInt_EncodeSubblock()
155 destPos += packSize; in Lzma2EncInt_EncodeSubblock()
281 size_t packSize = LZMA2_CHUNK_SIZE_COMPRESSED_MAX; in Lzma2Enc_EncodeMt1() local
282 res = Lzma2EncInt_EncodeSubblock(p, mainEncoder->outBuf, &packSize, outStream); in Lzma2Enc_EncodeMt1()
[all …]
DLzma2Dec.c129 p->packSize = (UInt32)b << 8; in Lzma2Dec_UpdateState()
133 p->packSize |= (UInt32)b; in Lzma2Dec_UpdateState()
134 p->packSize++; in Lzma2Dec_UpdateState()
135 PRF(printf(" %8d", p->packSize)); in Lzma2Dec_UpdateState()
259 if (srcSizeCur > p->packSize) in Lzma2Dec_DecodeToDic()
260 srcSizeCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
266 p->packSize -= (UInt32)srcSizeCur; in Lzma2Dec_DecodeToDic()
278 p->unpackSize != 0 || p->packSize != 0) in Lzma2Dec_DecodeToDic()
DXzDec.c521 READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); in XzBlock_Parse()
522 if (p->packSize == 0 || p->packSize + headerSize >= (UInt64)1 << 63) in XzBlock_Parse()
632 p->packSize += srcLen2; in XzUnpacker_Code()
643 …unsigned num = Xz_WriteVarInt(temp, p->packSize + p->blockHeaderSize + XzFlags_GetCheckSize(p->str… in XzUnpacker_Code()
720 p->packSize = 0; in XzUnpacker_Code()
730 if (((p->packSize + p->alignPos) & 3) != 0) in XzUnpacker_Code()
DXz.h44 UInt64 packSize; member
204 UInt64 packSize; member
DLzma2Dec.h18 UInt32 packSize; member
DXzEnc.c61 if (XzBlock_HasPackSize(p)) pos += Xz_WriteVarInt(header + pos, p->packSize); in XzBlock_WriteHeader()
453 block.packSize = seqSizeOutStream.processed - packPos; in Xz_Compress()
459 while((((unsigned)block.packSize + padSize) & 3) != 0) in Xz_Compress()
/external/chromium_org/third_party/lzma_sdk/
DLzma2Dec.c129 p->packSize = (UInt32)b << 8; in Lzma2Dec_UpdateState()
133 p->packSize |= (UInt32)b; in Lzma2Dec_UpdateState()
134 p->packSize++; in Lzma2Dec_UpdateState()
135 PRF(printf(" %8d", p->packSize)); in Lzma2Dec_UpdateState()
259 if (srcSizeCur > p->packSize) in Lzma2Dec_DecodeToDic()
260 srcSizeCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
266 p->packSize -= (UInt32)srcSizeCur; in Lzma2Dec_DecodeToDic()
278 p->unpackSize != 0 || p->packSize != 0) in Lzma2Dec_DecodeToDic()
DLzma2Dec.h18 UInt32 packSize; member
/external/lzma/CPP/7zip/UI/Console/
DList.cpp592 UInt64 packSize, unpackSize; in ListArchives() local
597 if (!GetUInt64Value(archive, i, kpidPackSize, packSize)) in ListArchives()
598 packSize = 0; in ListArchives()
608 totalPackSize += packSize; in ListArchives()
/external/lzma/CPP/7zip/UI/Common/
DExtract.cpp20 UInt64 packSize, in DecompressArchive() argument
80 packSize); in DecompressArchive()
DArchiveExtractCallback.h139 UInt64 packSize);
DArchiveExtractCallback.cpp32 UInt64 packSize) in Init() argument
40 _packTotal = packSize; in Init()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp909 UInt64 packSize = db->GetFolderFullPackSize(folderIndex); in Update() local
911 db->GetFolderStreamPos(folderIndex, 0), packSize, progress)); in Update()
912 lps->ProgressOffset += packSize; in Update()
D7zIn.cpp855 UInt64 packSize = packSizes[packIndex++]; in ReadAndDecodePackedStreams() local
856 dataStartPos += packSize; in ReadAndDecodePackedStreams()
857 HeadersSize += packSize; in ReadAndDecodePackedStreams()