Home
last modified time | relevance | path

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

/external/lzma/C/
DLzma2Dec.c325 SizeT srcSizeCur = inSize, outSizeCur, dicPos; in Lzma2Dec_DecodeToBuf() local
333 outSizeCur = p->decoder.dicBufSize; in Lzma2Dec_DecodeToBuf()
338 outSizeCur = dicPos + outSize; in Lzma2Dec_DecodeToBuf()
342 res = Lzma2Dec_DecodeToDic(p, outSizeCur, src, &srcSizeCur, curFinishMode, status); in Lzma2Dec_DecodeToBuf()
346 outSizeCur = p->decoder.dicPos - dicPos; in Lzma2Dec_DecodeToBuf()
347 memcpy(dest, p->decoder.dic + dicPos, outSizeCur); in Lzma2Dec_DecodeToBuf()
348 dest += outSizeCur; in Lzma2Dec_DecodeToBuf()
349 outSize -= outSizeCur; in Lzma2Dec_DecodeToBuf()
350 *destLen += outSizeCur; in Lzma2Dec_DecodeToBuf()
353 if (outSizeCur == 0 || outSize == 0) in Lzma2Dec_DecodeToBuf()
D7zDec.c395 SizeT outSizeCur = outSize; in SzFolder_Decode2() local
404 outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
405 if (outSizeCur != unpackSize) in SzFolder_Decode2()
407 temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur); in SzFolder_Decode2()
408 if (!temp && outSizeCur != 0) in SzFolder_Decode2()
411 tempSizes[1 - ci] = outSizeCur; in SzFolder_Decode2()
418 tempSize3 = outSizeCur = (SizeT)unpackSize; in SzFolder_Decode2()
429 if (inSize != outSizeCur) /* check it */ in SzFolder_Decode2()
435 …sData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
440 …sData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
[all …]
DLzmaDec.c945 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
953 outSizeCur = p->dicBufSize; in LzmaDec_DecodeToBuf()
958 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
962 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); in LzmaDec_DecodeToBuf()
966 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
967 memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
968 dest += outSizeCur; in LzmaDec_DecodeToBuf()
969 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
970 *destLen += outSizeCur; in LzmaDec_DecodeToBuf()
973 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()