• Home
  • Raw
  • Download

Lines Matching refs:outBuf

408 static SRes Lzma2State_SetFromMethod(IStateCoder *p, Byte *outBuf, size_t outBufSize, ISzAllocPtr a…  in Lzma2State_SetFromMethod()  argument
425 if (outBuf) in Lzma2State_SetFromMethod()
428 spec->decoder.decoder.dic = outBuf; in Lzma2State_SetFromMethod()
435 static SRes Lzma2State_ResetOutBuf(IStateCoder *p, Byte *outBuf, size_t outBufSize) in Lzma2State_ResetOutBuf() argument
438 if ((spec->outBufMode && !outBuf) || (!spec->outBufMode && outBuf)) in Lzma2State_ResetOutBuf()
440 if (outBuf) in Lzma2State_ResetOutBuf()
442 spec->decoder.decoder.dic = outBuf; in Lzma2State_ResetOutBuf()
458 p->outBuf = NULL; in MixCoder_Construct()
508 static SRes MixCoder_SetFromMethod(CMixCoder *p, unsigned coderIndex, UInt64 methodId, Byte *outBuf in MixCoder_SetFromMethod() argument
514 case XZ_ID_LZMA2: return Lzma2State_SetFromMethod(sc, outBuf, outBufSize, p->alloc); in MixCoder_SetFromMethod()
525 …esetFromMethod(CMixCoder *p, unsigned coderIndex, UInt64 methodId, Byte *outBuf, size_t outBufSize) in MixCoder_ResetFromMethod() argument
530 case XZ_ID_LZMA2: return Lzma2State_ResetOutBuf(sc, outBuf, outBufSize); in MixCoder_ResetFromMethod()
564 if (p->outBuf) in MixCoder_Code()
614 processed = coder->Filter(coder->p, p->outBuf, processed); in MixCoder_Code()
866 static SRes XzDecMix_Init(CMixCoder *p, const CXzBlock *block, Byte *outBuf, size_t outBufSize) in XzDecMix_Init() argument
872 if (numFilters == p->numCoders && ((p->outBuf && outBuf) || (!p->outBuf && !outBuf))) in XzDecMix_Init()
884 p->outBuf = outBuf; in XzDecMix_Init()
895 … RINOK(MixCoder_SetFromMethod(p, i, block->filters[numFilters - 1 - i].id, outBuf, outBufSize)); in XzDecMix_Init()
901 RINOK(MixCoder_ResetFromMethod(p, 0, block->filters[numFilters - 1].id, outBuf, outBufSize)); in XzDecMix_Init()
936 void XzUnpacker_SetOutBuf(CXzUnpacker *p, Byte *outBuf, size_t outBufSize) in XzUnpacker_SetOutBuf() argument
938 p->outBuf = outBuf; in XzUnpacker_SetOutBuf()
946 p->outBuf = NULL; in XzUnpacker_Construct()
1038 (p->outBuf ? NULL : dest), &destLen2, destFinish, in XzUnpacker_Code()
1043 XzCheck_Update(&p->check, (p->outBuf ? p->outBuf + p->outDataWritten : dest), destLen2); in XzUnpacker_Code()
1044 if (!p->outBuf) in XzUnpacker_Code()
1169 RINOK(XzDecMix_Init(&p->decoder, &p->block, p->outBuf, p->outBufSize)); in XzUnpacker_Code()
1415 Byte *outBuf; member
1472 Byte *outBuf; member
1524 p->outBuf = NULL; in XzDecMt_Create()
1543 coder->outBuf = NULL; in XzDecMt_Create()
1561 if (coder->outBuf) in XzDecMt_FreeOutBufs()
1563 ISzAlloc_Free(p->allocMid, coder->outBuf); in XzDecMt_FreeOutBufs()
1564 coder->outBuf = NULL; in XzDecMt_FreeOutBufs()
1579 if (p->outBuf) in XzDecMt_FreeSt()
1581 ISzAlloc_Free(p->allocMid, p->outBuf); in XzDecMt_FreeSt()
1582 p->outBuf = NULL; in XzDecMt_FreeSt()
1843 dest = coder->outBuf; in XzDecMt_Callback_PreCode()
1850 coder->outBuf = NULL; in XzDecMt_Callback_PreCode()
1861 coder->outBuf = dest; in XzDecMt_Callback_PreCode()
1870 XzUnpacker_SetOutBuf(&coder->dec, coder->outBuf, coder->outBufSize); in XzDecMt_Callback_PreCode()
1873 …SRes res = XzDecMix_Init(&coder->dec.decoder, &coder->dec.block, coder->outBuf, coder->outBufSize); in XzDecMt_Callback_PreCode()
1919 if (!coder->outBuf) in XzDecMt_Callback_Code()
1985 if (!coder->dec.headerParsedOk || !coder->outBuf) in XzDecMt_Callback_Write()
2002 Byte *data = coder->outBuf; in XzDecMt_Callback_Write()
2321 if (!p->outBuf || p->outBufSize != p->props.outStep_ST) in XzDecMt_Decode_ST()
2323 ISzAlloc_Free(p->allocMid, p->outBuf); in XzDecMt_Decode_ST()
2325 p->outBuf = (Byte *)ISzAlloc_Alloc(p->allocMid, p->props.outStep_ST); in XzDecMt_Decode_ST()
2326 if (!p->outBuf) in XzDecMt_Decode_ST()
2411 res = XzUnpacker_Code(dec, p->outBuf + outPos, &outProcessed, in XzDecMt_Decode_ST()
2429 size_t written = ISeqOutStream_Write(p->outStream, p->outBuf, outPos); in XzDecMt_Decode_ST()