Home
last modified time | relevance | path

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

/external/lzma/C/
DLzma2Dec.c299 SizeT srcSizeCur = inSize, outSizeCur, dicPos; in Lzma2Dec_DecodeToBuf() local
307 outSizeCur = p->decoder.dicBufSize; in Lzma2Dec_DecodeToBuf()
312 outSizeCur = dicPos + outSize; in Lzma2Dec_DecodeToBuf()
316 res = Lzma2Dec_DecodeToDic(p, outSizeCur, src, &srcSizeCur, curFinishMode, status); in Lzma2Dec_DecodeToBuf()
320 outSizeCur = p->decoder.dicPos - dicPos; in Lzma2Dec_DecodeToBuf()
321 memcpy(dest, p->decoder.dic + dicPos, outSizeCur); in Lzma2Dec_DecodeToBuf()
322 dest += outSizeCur; in Lzma2Dec_DecodeToBuf()
323 outSize -= outSizeCur; in Lzma2Dec_DecodeToBuf()
324 *destLen += outSizeCur; in Lzma2Dec_DecodeToBuf()
327 if (outSizeCur == 0 || outSize == 0) in Lzma2Dec_DecodeToBuf()
D7zDec.c354 SizeT outSizeCur = outSize; in SzFolder_Decode2() local
363 outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
364 if (outSizeCur != unpackSize) in SzFolder_Decode2()
366 temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur); in SzFolder_Decode2()
367 if (temp == 0 && outSizeCur != 0) in SzFolder_Decode2()
370 tempSizes[1 - ci] = outSizeCur; in SzFolder_Decode2()
377 tempSize3 = outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
388 if (inSize != outSizeCur) /* check it */ in SzFolder_Decode2()
394 …sData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
398 …sData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
[all …]
DLzmaDec.c880 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
888 outSizeCur = p->dicBufSize; in LzmaDec_DecodeToBuf()
893 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
897 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); in LzmaDec_DecodeToBuf()
901 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
902 memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
903 dest += outSizeCur; in LzmaDec_DecodeToBuf()
904 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
905 *destLen += outSizeCur; in LzmaDec_DecodeToBuf()
908 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()