/external/chromium_org/third_party/lzma_sdk/ |
Lzma2Dec.c | 297 SizeT srcSizeCur = inSize, outSizeCur, dicPos; 305 outSizeCur = p->decoder.dicBufSize; 310 outSizeCur = dicPos + outSize; 314 res = Lzma2Dec_DecodeToDic(p, outSizeCur, src, &srcSizeCur, curFinishMode, status); 318 outSizeCur = p->decoder.dicPos - dicPos; 319 memcpy(dest, p->decoder.dic + dicPos, outSizeCur); 320 dest += outSizeCur; 321 outSize -= outSizeCur; 322 *destLen += outSizeCur; 325 if (outSizeCur == 0 || outSize == 0 [all...] |
7zDec.c | 357 SizeT outSizeCur = outSize; 366 outSizeCur = (SizeT)unpackSize; 367 if (outSizeCur != unpackSize) 369 temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur); 370 if (temp == 0 && outSizeCur != 0) 373 tempSizes[1 - ci] = outSizeCur; 380 tempSize3 = outSizeCur = (SizeT)unpackSize; 391 if (inSize != outSizeCur) /* check it */ 397 RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); 401 RINOK(SzDecodeLzma2(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)) [all...] |
LzmaDec.c | 847 SizeT inSizeCur = inSize, outSizeCur, dicPos; 855 outSizeCur = p->dicBufSize; 860 outSizeCur = dicPos + outSize; 864 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); 868 outSizeCur = p->dicPos - dicPos; 869 memcpy(dest, p->dic + dicPos, outSizeCur); 870 dest += outSizeCur; 871 outSize -= outSizeCur; 872 *destLen += outSizeCur; 875 if (outSizeCur == 0 || outSize == 0 [all...] |
/external/lzma/C/ |
Lzma2Dec.c | 297 SizeT srcSizeCur = inSize, outSizeCur, dicPos;
305 outSizeCur = p->decoder.dicBufSize;
310 outSizeCur = dicPos + outSize;
314 res = Lzma2Dec_DecodeToDic(p, outSizeCur, src, &srcSizeCur, curFinishMode, status);
318 outSizeCur = p->decoder.dicPos - dicPos;
319 memcpy(dest, p->decoder.dic + dicPos, outSizeCur);
320 dest += outSizeCur;
321 outSize -= outSizeCur;
322 *destLen += outSizeCur;
325 if (outSizeCur == 0 || outSize == 0) [all...] |
7zDec.c | 357 SizeT outSizeCur = outSize;
366 outSizeCur = (SizeT)unpackSize;
367 if (outSizeCur != unpackSize)
369 temp = (Byte *)IAlloc_Alloc(allocMain, outSizeCur);
370 if (temp == 0 && outSizeCur != 0)
373 tempSizes[1 - ci] = outSizeCur;
380 tempSize3 = outSizeCur = (SizeT)unpackSize;
391 if (inSize != outSizeCur) /* check it */
397 RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
401 RINOK(SzDecodeLzma2(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); [all...] |
LzmaDec.c | 847 SizeT inSizeCur = inSize, outSizeCur, dicPos;
855 outSizeCur = p->dicBufSize;
860 outSizeCur = dicPos + outSize;
864 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status);
868 outSizeCur = p->dicPos - dicPos;
869 memcpy(dest, p->dic + dicPos, outSizeCur);
870 dest += outSizeCur;
871 outSize -= outSizeCur;
872 *destLen += outSizeCur;
875 if (outSizeCur == 0 || outSize == 0) [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaDec.c | 848 SizeT inSizeCur = inSize, outSizeCur, dicPos; 856 outSizeCur = p->dicBufSize; 861 outSizeCur = dicPos + outSize; 865 res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); 869 outSizeCur = p->dicPos - dicPos; 870 memcpy(dest, p->dic + dicPos, outSizeCur); 871 dest += outSizeCur; 872 outSize -= outSizeCur; 873 *destLen += outSizeCur; 876 if (outSizeCur == 0 || outSize == 0 [all...] |