Lines Matching refs:me

498     CLzma2Enc *me,  in Lzma2Enc_EncodeMt1()  argument
521 p->enc = LzmaEnc_Create(me->alloc); in Lzma2Enc_EncodeMt1()
535 if (!me->tempBufLzma) in Lzma2Enc_EncodeMt1()
537 me->tempBufLzma = (Byte *)ISzAlloc_Alloc(me->alloc, LZMA2_CHUNK_SIZE_COMPRESSED_MAX); in Lzma2Enc_EncodeMt1()
538 if (!me->tempBufLzma) in Lzma2Enc_EncodeMt1()
543 RINOK(Lzma2EncInt_InitStream(p, &me->props)); in Lzma2Enc_EncodeMt1()
553 limitedInStream.limit = me->props.blockSize; in Lzma2Enc_EncodeMt1()
559 if (me->expectedDataSize != (UInt64)(Int64)-1 in Lzma2Enc_EncodeMt1()
560 && me->expectedDataSize >= unpackTotal) in Lzma2Enc_EncodeMt1()
561 expected = me->expectedDataSize - unpackTotal; in Lzma2Enc_EncodeMt1()
562 if (me->props.blockSize != LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID in Lzma2Enc_EncodeMt1()
563 && expected > me->props.blockSize) in Lzma2Enc_EncodeMt1()
564 expected = (size_t)me->props.blockSize; in Lzma2Enc_EncodeMt1()
571 me->alloc, in Lzma2Enc_EncodeMt1()
572 me->allocBig)); in Lzma2Enc_EncodeMt1()
577 if (me->props.blockSize != LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID in Lzma2Enc_EncodeMt1()
578 && inSizeCur > me->props.blockSize) in Lzma2Enc_EncodeMt1()
579 inSizeCur = (size_t)me->props.blockSize; in Lzma2Enc_EncodeMt1()
586 me->alloc, in Lzma2Enc_EncodeMt1()
587 me->allocBig)); in Lzma2Enc_EncodeMt1()
597 outBuf ? outBuf + (size_t)packTotal : me->tempBufLzma, &packSize, in Lzma2Enc_EncodeMt1()
660 CLzma2Enc *me = (CLzma2Enc *)pp; in Lzma2Enc_MtCallback_Code() local
661 size_t destSize = me->outBufSize; in Lzma2Enc_MtCallback_Code()
665 Byte *dest = me->outBufs[outBufIndex]; in Lzma2Enc_MtCallback_Code()
667 me->outBufsDataSizes[outBufIndex] = 0; in Lzma2Enc_MtCallback_Code()
671 dest = (Byte *)ISzAlloc_Alloc(me->alloc, me->outBufSize); in Lzma2Enc_MtCallback_Code()
674 me->outBufs[outBufIndex] = dest; in Lzma2Enc_MtCallback_Code()
678 progressThunk.mtProgress = &me->mtCoder.mtProgress; in Lzma2Enc_MtCallback_Code()
682 res = Lzma2Enc_EncodeMt1(me, in Lzma2Enc_MtCallback_Code()
683 &me->coders[coderIndex], in Lzma2Enc_MtCallback_Code()
689 me->outBufsDataSizes[outBufIndex] = destSize; in Lzma2Enc_MtCallback_Code()
697 CLzma2Enc *me = (CLzma2Enc *)pp; in Lzma2Enc_MtCallback_Write() local
698 size_t size = me->outBufsDataSizes[outBufIndex]; in Lzma2Enc_MtCallback_Write()
699 const Byte *data = me->outBufs[outBufIndex]; in Lzma2Enc_MtCallback_Write()
701 if (me->outStream) in Lzma2Enc_MtCallback_Write()
702 return ISeqOutStream_Write(me->outStream, data, size) == size ? SZ_OK : SZ_ERROR_WRITE; in Lzma2Enc_MtCallback_Write()
704 if (size > me->outBuf_Rem) in Lzma2Enc_MtCallback_Write()
706 memcpy(me->outBuf, data, size); in Lzma2Enc_MtCallback_Write()
707 me->outBuf_Rem -= size; in Lzma2Enc_MtCallback_Write()
708 me->outBuf += size; in Lzma2Enc_MtCallback_Write()