Lines Matching refs:outBuf
129 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() argument
146 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
173 …outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
174 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
175 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
176 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
184 if (ISeqOutStream_Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
205 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock()
206 outBuf[destPos++] = (Byte)(u >> 8); in Lzma2EncInt_EncodeSubblock()
207 outBuf[destPos++] = (Byte)u; in Lzma2EncInt_EncodeSubblock()
208 outBuf[destPos++] = (Byte)(pm >> 8); in Lzma2EncInt_EncodeSubblock()
209 outBuf[destPos++] = (Byte)pm; in Lzma2EncInt_EncodeSubblock()
212 outBuf[destPos++] = p->propsByte; in Lzma2EncInt_EncodeSubblock()
220 if (ISeqOutStream_Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
371 Byte *outBuf; member
501 Byte *outBuf, size_t *outBufSize, in Lzma2Enc_EncodeMt1() argument
512 if (outBuf) in Lzma2Enc_EncodeMt1()
532 if (!outBuf) in Lzma2Enc_EncodeMt1()
593 if (outBuf) in Lzma2Enc_EncodeMt1()
597 outBuf ? outBuf + (size_t)packTotal : me->tempBufLzma, &packSize, in Lzma2Enc_EncodeMt1()
598 outBuf ? NULL : outStream); in Lzma2Enc_EncodeMt1()
604 if (outBuf) in Lzma2Enc_EncodeMt1()
633 if (outBuf) in Lzma2Enc_EncodeMt1()
638 outBuf[destPos] = 0; in Lzma2Enc_EncodeMt1()
706 memcpy(me->outBuf, data, size); in Lzma2Enc_MtCallback_Write()
708 me->outBuf += size; in Lzma2Enc_MtCallback_Write()
718 Byte *outBuf, size_t *outBufSize, in Lzma2Enc_Encode2() argument
728 if (outStream && outBuf) in Lzma2Enc_Encode2()
753 p->outBuf = NULL; in Lzma2Enc_Encode2()
757 p->outBuf = outBuf; in Lzma2Enc_Encode2()
789 *outBufSize = p->outBuf - outBuf; in Lzma2Enc_Encode2()
799 outStream, outBuf, outBufSize, in Lzma2Enc_Encode2()