Home
last modified time | relevance | path

Searched refs:neededInSize (Results 1 – 5 of 5) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_decompress.c1808 …{ size_t const neededInSize = ZSTD_nextSrcSizeToDecompressWithInputSize(zds, (size_t)(iend - ip)… in ZSTD_decompressStream() local
1809 DEBUGLOG(5, "neededInSize = %u", (U32)neededInSize); in ZSTD_decompressStream()
1810 if (neededInSize==0) { /* end of frame */ in ZSTD_decompressStream()
1815 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZSTD_decompressStream()
1816 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream()
1817 ip += neededInSize; in ZSTD_decompressStream()
1826 { size_t const neededInSize = ZSTD_nextSrcSizeToDecompress(zds); in ZSTD_decompressStream() local
1827 size_t const toLoad = neededInSize - zds->inPos; in ZSTD_decompressStream()
1831 assert(neededInSize == ZSTD_nextSrcSizeToDecompressWithInputSize(zds, iend - ip)); in ZSTD_decompressStream()
1846 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, zds->inBuff, neededInSize), ""); in ZSTD_decompressStream()
/external/zstd/lib/legacy/
Dzstd_v04.c3481 size_t const neededInSize = BLOCKSIZE; /* a block is never > BLOCKSIZE */ in ZBUFF_decompressContinue() local
3482 if (zbc->inBuffSize < neededInSize) { in ZBUFF_decompressContinue()
3484 zbc->inBuffSize = neededInSize; in ZBUFF_decompressContinue()
3485 zbc->inBuff = (char*)malloc(neededInSize); in ZBUFF_decompressContinue()
3508 size_t neededInSize = ZSTD_nextSrcSizeToDecompress(zbc->zc); in ZBUFF_decompressContinue() local
3509 if (neededInSize==0) /* end of frame */ in ZBUFF_decompressContinue()
3515 if ((size_t)(iend-ip) >= neededInSize) in ZBUFF_decompressContinue()
3520 ip, neededInSize); in ZBUFF_decompressContinue()
3522 ip += neededInSize; in ZBUFF_decompressContinue()
3534 size_t neededInSize = ZSTD_nextSrcSizeToDecompress(zbc->zc); in ZBUFF_decompressContinue() local
[all …]
Dzstd_v05.c3946 size_t neededInSize = BLOCKSIZE; /* a block is never > BLOCKSIZE */ in ZBUFFv05_decompressContinue() local
3947 if (zbc->inBuffSize < neededInSize) { in ZBUFFv05_decompressContinue()
3949 zbc->inBuffSize = neededInSize; in ZBUFFv05_decompressContinue()
3950 zbc->inBuff = (char*)malloc(neededInSize); in ZBUFFv05_decompressContinue()
3971 size_t neededInSize = ZSTDv05_nextSrcSizeToDecompress(zbc->zc); in ZBUFFv05_decompressContinue() local
3972 if (neededInSize==0) { /* end of frame */ in ZBUFFv05_decompressContinue()
3977 if ((size_t)(iend-ip) >= neededInSize) { in ZBUFFv05_decompressContinue()
3981 ip, neededInSize); in ZBUFFv05_decompressContinue()
3983 ip += neededInSize; in ZBUFFv05_decompressContinue()
3995 size_t neededInSize = ZSTDv05_nextSrcSizeToDecompress(zbc->zc); in ZBUFFv05_decompressContinue() local
[all …]
Dzstd_v06.c4080 { size_t const neededInSize = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv06_decompressContinue() local
4081 if (neededInSize==0) { /* end of frame */ in ZBUFFv06_decompressContinue()
4086 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZBUFFv06_decompressContinue()
4089 ip, neededInSize); in ZBUFFv06_decompressContinue()
4091 ip += neededInSize; in ZBUFFv06_decompressContinue()
4102 { size_t const neededInSize = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv06_decompressContinue() local
4103 …size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within i… in ZBUFFv06_decompressContinue()
4114 zbd->inBuff, neededInSize); in ZBUFFv06_decompressContinue()
Dzstd_v07.c4465 { size_t const neededInSize = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv07_decompressContinue() local
4466 if (neededInSize==0) { /* end of frame */ in ZBUFFv07_decompressContinue()
4471 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZBUFFv07_decompressContinue()
4475 ip, neededInSize); in ZBUFFv07_decompressContinue()
4477 ip += neededInSize; in ZBUFFv07_decompressContinue()
4488 { size_t const neededInSize = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv07_decompressContinue() local
4489 …size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within i… in ZBUFFv07_decompressContinue()
4501 zbd->inBuff, neededInSize); in ZBUFFv07_decompressContinue()