Home
last modified time | relevance | path

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

/external/chromium_org/third_party/lzma_sdk/
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()
/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()
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzmaDec.c848 SizeT inSizeCur = inSize, outSizeCur, dicPos; in LzmaDec_DecodeToBuf() local
856 outSizeCur = p->dicBufSize; in LzmaDec_DecodeToBuf()
861 outSizeCur = dicPos + outSize; in LzmaDec_DecodeToBuf()
865 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); in LzmaDec_DecodeToBuf()
869 outSizeCur = p->dicPos - dicPos; in LzmaDec_DecodeToBuf()
870 memcpy(dest, p->dic + dicPos, outSizeCur); in LzmaDec_DecodeToBuf()
871 dest += outSizeCur; in LzmaDec_DecodeToBuf()
872 outSize -= outSizeCur; in LzmaDec_DecodeToBuf()
873 *destLen += outSizeCur; in LzmaDec_DecodeToBuf()
876 if (outSizeCur == 0 || outSize == 0) in LzmaDec_DecodeToBuf()
/external/chromium_org/third_party/brotli/src/
Dots-lzma.patch1671 + SizeT inSizeCur = inSize, outSizeCur, dicPos;
1679 + outSizeCur = p->dicBufSize;
1684 + outSizeCur = dicPos + outSize;
1688 + res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status);
1692 + outSizeCur = p->dicPos - dicPos;
1693 + memcpy(dest, p->dic + dicPos, outSizeCur);
1694 + dest += outSizeCur;
1695 + outSize -= outSizeCur;
1696 + *destLen += outSizeCur;
1699 + if (outSizeCur == 0 || outSize == 0)