Home
last modified time | relevance | path

Searched refs:outBufSize (Results 1 – 6 of 6) sorted by relevance

/third_party/lzma/C/
DLzma2Enc.c374 size_t outBufSize; /* size of allocated outBufs[i] */ member
409 p->outBufSize = 0; in Lzma2Enc_Create()
428 p->outBufSize = 0; in Lzma2Enc_FreeOutBufs()
501 Byte *outBuf, size_t *outBufSize, in Lzma2Enc_EncodeMt1() argument
514 outLim = *outBufSize; in Lzma2Enc_EncodeMt1()
515 *outBufSize = 0; in Lzma2Enc_EncodeMt1()
605 *outBufSize = (size_t)packTotal; in Lzma2Enc_EncodeMt1()
635 const size_t destPos = *outBufSize; in Lzma2Enc_EncodeMt1()
639 *outBufSize = destPos + 1; in Lzma2Enc_EncodeMt1()
661 size_t destSize = me->outBufSize; in Lzma2Enc_MtCallback_Code()
[all …]
DXzDec.c409 static SRes Lzma2State_SetFromMethod(IStateCoder *p, Byte *outBuf, size_t outBufSize, ISzAllocPtr a… in Lzma2State_SetFromMethod() argument
430 spec->decoder.decoder.dicBufSize = outBufSize; in Lzma2State_SetFromMethod()
436 static SRes Lzma2State_ResetOutBuf(IStateCoder *p, Byte *outBuf, size_t outBufSize) in Lzma2State_ResetOutBuf() argument
444 spec->decoder.decoder.dicBufSize = outBufSize; in Lzma2State_ResetOutBuf()
458 p->outBufSize = 0; in MixCoder_Construct()
509 …_SetFromMethod(CMixCoder *p, unsigned coderIndex, UInt64 methodId, Byte *outBuf, size_t outBufSize) in MixCoder_SetFromMethod() argument
515 case XZ_ID_LZMA2: return Lzma2State_SetFromMethod(sc, outBuf, outBufSize, p->alloc); in MixCoder_SetFromMethod()
526 …esetFromMethod(CMixCoder *p, unsigned coderIndex, UInt64 methodId, Byte *outBuf, size_t outBufSize) in MixCoder_ResetFromMethod() argument
531 case XZ_ID_LZMA2: return Lzma2State_ResetOutBuf(sc, outBuf, outBufSize); in MixCoder_ResetFromMethod()
868 static SRes XzDecMix_Init(CMixCoder *p, const CXzBlock *block, Byte *outBuf, size_t outBufSize) in XzDecMix_Init() argument
[all …]
DXz.h187 size_t outBufSize; member
250 size_t outBufSize; member
260 void XzUnpacker_SetOutBuf(CXzUnpacker *p, Byte *outBuf, size_t outBufSize);
DXzEnc.c938 size_t outBufSize; /* size of allocated outBufs[i] */ member
966 p->outBufSize = 0; in XzEnc_Construct()
981 p->outBufSize = 0; in XzEnc_FreeOutBufs()
1068 dest = (Byte *)ISzAlloc_Alloc(me->alloc, me->outBufSize); in XzEnc_MtCallback_Code()
1087 dest + XZ_BLOCK_HEADER_SIZE_MAX, me->outBufSize - XZ_BLOCK_HEADER_SIZE_MAX, in XzEnc_MtCallback_Code()
1195 if (p->outBufSize != destBlockSize) in XzEnc_Encode()
1197 p->outBufSize = destBlockSize; in XzEnc_Encode()
1234 if (!p->outBufs[0] || t2 != p->outBufSize) in XzEnc_Encode()
1240 p->outBufSize = t2; in XzEnc_Encode()
DLzma2DecMt.c62 size_t outBufSize; member
154 t->outBufSize = 0; in Lzma2DecMt_Create()
175 t->outBufSize = 0; in Lzma2DecMt_FreeOutBufs()
427 if (!dest || t->outBufSize < t->outPreSize) in Lzma2DecMt_MtCallback_PreCode()
433 t->outBufSize = 0; in Lzma2DecMt_MtCallback_PreCode()
443 t->outBufSize = t->outPreSize; in Lzma2DecMt_MtCallback_PreCode()
DLzma2Enc.h48 Byte *outBuf, size_t *outBufSize,