Home
last modified time | relevance | path

Searched refs:outSizeCur (Results 1 – 3 of 3) sorted by relevance

/external/lzma/C/
DLzma2Dec.c297 SizeT srcSizeCur = inSize, outSizeCur, dicPos; in Lzma2Dec_DecodeToBuf() local
305 outSizeCur = p->decoder.dicBufSize; in Lzma2Dec_DecodeToBuf()
310 outSizeCur = dicPos + outSize; in Lzma2Dec_DecodeToBuf()
314 res = Lzma2Dec_DecodeToDic(p, outSizeCur, src, &srcSizeCur, curFinishMode, status); in Lzma2Dec_DecodeToBuf()
318 outSizeCur = p->decoder.dicPos - dicPos; in Lzma2Dec_DecodeToBuf()
319 memcpy(dest, p->decoder.dic + dicPos, outSizeCur); in Lzma2Dec_DecodeToBuf()
320 dest += outSizeCur; in Lzma2Dec_DecodeToBuf()
321 outSize -= outSizeCur; in Lzma2Dec_DecodeToBuf()
322 *destLen += outSizeCur; in Lzma2Dec_DecodeToBuf()
325 if (outSizeCur == 0 || outSize == 0) in Lzma2Dec_DecodeToBuf()
D7zDec.c357 SizeT outSizeCur = outSize; in SzFolder_Decode2() local
366 outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
367 if (outSizeCur != unpackSize) in SzFolder_Decode2()
369 temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur); in SzFolder_Decode2()
370 if (temp == 0 && outSizeCur != 0) in SzFolder_Decode2()
373 tempSizes[1 - ci] = outSizeCur; in SzFolder_Decode2()
380 tempSize3 = outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
391 if (inSize != outSizeCur) /* check it */ in SzFolder_Decode2()
397 RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
401 RINOK(SzDecodeLzma2(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
[all …]
DLzmaDec.c847 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
855 outSizeCur = p->dicBufSize; in LzmaDec_DecodeToBuf()
860 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
864 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); in LzmaDec_DecodeToBuf()
868 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
869 memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
870 dest += outSizeCur; in LzmaDec_DecodeToBuf()
871 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
872 *destLen += outSizeCur; in LzmaDec_DecodeToBuf()
875 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()