Lines Matching refs:unpackSize
65 Byte *dest, size_t *destLen, UInt32 desiredPackSize, UInt32 *unpackSize);
77 UInt32 unpackSize = LZMA2_UNPACK_SIZE_MAX; in Lzma2EncInt_EncodeSubblock() local
89 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
91 PRF(printf("\npackSize = %7d unpackSize = %7d ", packSize, unpackSize)); in Lzma2EncInt_EncodeSubblock()
93 if (unpackSize == 0) in Lzma2EncInt_EncodeSubblock()
97 useCopyBlock = (packSize + 2 >= unpackSize || packSize > (1 << 16)); in Lzma2EncInt_EncodeSubblock()
110 while (unpackSize > 0) in Lzma2EncInt_EncodeSubblock()
112 UInt32 u = (unpackSize < LZMA2_COPY_CHUNK_SIZE) ? unpackSize : LZMA2_COPY_CHUNK_SIZE; in Lzma2EncInt_EncodeSubblock()
118 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
119 unpackSize -= u; in Lzma2EncInt_EncodeSubblock()
138 UInt32 u = unpackSize - 1; in Lzma2EncInt_EncodeSubblock()
156 p->srcPos += unpackSize; in Lzma2EncInt_EncodeSubblock()