Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/legacy/
H A Dzstd_v04.c3497 size_t const neededInSize = BLOCKSIZE; /* a block is never > BLOCKSIZE */ in ZBUFF_decompressContinue() local
3498 if (zbc->inBuffSize < neededInSize) { in ZBUFF_decompressContinue()
3500 zbc->inBuffSize = neededInSize; in ZBUFF_decompressContinue()
3501 zbc->inBuff = (char*)malloc(neededInSize); in ZBUFF_decompressContinue()
3524 size_t neededInSize = ZSTD_nextSrcSizeToDecompress(zbc->zc); in ZBUFF_decompressContinue() local
3525 if (neededInSize==0) /* end of frame */ in ZBUFF_decompressContinue()
3531 if ((size_t)(iend-ip) >= neededInSize) in ZBUFF_decompressContinue()
3536 ip, neededInSize); in ZBUFF_decompressContinue()
3538 ip += neededInSize; in ZBUFF_decompressContinue()
3550 size_t neededInSize = ZSTD_nextSrcSizeToDecompress(zbc->zc); in ZBUFF_decompressContinue() local
[all …]
H A Dzstd_v05.c3903 size_t neededInSize = BLOCKSIZE; /* a block is never > BLOCKSIZE */ in ZBUFFv05_decompressContinue() local
3904 if (zbc->inBuffSize < neededInSize) { in ZBUFFv05_decompressContinue()
3906 zbc->inBuffSize = neededInSize; in ZBUFFv05_decompressContinue()
3907 zbc->inBuff = (char*)malloc(neededInSize); in ZBUFFv05_decompressContinue()
3928 size_t neededInSize = ZSTDv05_nextSrcSizeToDecompress(zbc->zc); in ZBUFFv05_decompressContinue() local
3929 if (neededInSize==0) { /* end of frame */ in ZBUFFv05_decompressContinue()
3934 if ((size_t)(iend-ip) >= neededInSize) { in ZBUFFv05_decompressContinue()
3938 ip, neededInSize); in ZBUFFv05_decompressContinue()
3940 ip += neededInSize; in ZBUFFv05_decompressContinue()
3952 size_t neededInSize = ZSTDv05_nextSrcSizeToDecompress(zbc->zc); in ZBUFFv05_decompressContinue() local
[all …]
H A Dzstd_v06.c4046 { size_t const neededInSize = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv06_decompressContinue() local
4047 if (neededInSize==0) { /* end of frame */ in ZBUFFv06_decompressContinue()
4052 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZBUFFv06_decompressContinue()
4055 ip, neededInSize); in ZBUFFv06_decompressContinue()
4057 ip += neededInSize; in ZBUFFv06_decompressContinue()
4068 { size_t const neededInSize = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv06_decompressContinue() local
4069 …size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within i… in ZBUFFv06_decompressContinue()
4080 zbd->inBuff, neededInSize); in ZBUFFv06_decompressContinue()
H A Dzstd_v07.c4422 { size_t const neededInSize = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv07_decompressContinue() local
4423 if (neededInSize==0) { /* end of frame */ in ZBUFFv07_decompressContinue()
4428 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZBUFFv07_decompressContinue()
4432 ip, neededInSize); in ZBUFFv07_decompressContinue()
4434 ip += neededInSize; in ZBUFFv07_decompressContinue()
4445 { size_t const neededInSize = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv07_decompressContinue() local
4446 …size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within i… in ZBUFFv07_decompressContinue()
4458 zbd->inBuff, neededInSize); in ZBUFFv07_decompressContinue()
/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c2876 { size_t const neededInSize = ZSTD_nextSrcSizeToDecompress(zds); in ZSTD_decompressStream() local
2877 DEBUGLOG(5, "neededInSize = %u", (U32)neededInSize); in ZSTD_decompressStream()
2878 if (neededInSize==0) { /* end of frame */ in ZSTD_decompressStream()
2883 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZSTD_decompressStream()
2887 ip, neededInSize); in ZSTD_decompressStream()
2889 ip += neededInSize; in ZSTD_decompressStream()
2900 { size_t const neededInSize = ZSTD_nextSrcSizeToDecompress(zds); in ZSTD_decompressStream() local
2901 size_t const toLoad = neededInSize - zds->inPos; in ZSTD_decompressStream()
2917 zds->inBuff, neededInSize); in ZSTD_decompressStream()