Home
last modified time | relevance | path

Searched refs:inBuffSize (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c144 size_t inBuffSize; member
167 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
192 dctx->inBuffSize = 0; in ZSTD_initDCtx_internal()
2700 size_t const inBuffSize = blockSize; /* no block can be larger */ in ZSTD_estimateDStreamSize() local
2702 return ZSTD_estimateDCtxSize() + inBuffSize + outBuffSize; in ZSTD_estimateDStreamSize()
2849 … if ((zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuffSize)) { in ZSTD_decompressStream()
2852 (U32)zds->inBuffSize, (U32)neededInBuffSize); in ZSTD_decompressStream()
2862 zds->inBuffSize = 0; in ZSTD_decompressStream()
2867 zds->inBuffSize = neededInBuffSize; in ZSTD_decompressStream()
2868 zds->outBuff = zds->inBuff + zds->inBuffSize; in ZSTD_decompressStream()
[all …]
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c741 size_t const inBuffSize = ((size_t)1 << params->cParams.windowLog) + blockSize; in ZSTD_estimateCStreamSize_usingCCtxParams() local
743 size_t const streamingSize = inBuffSize + outBuffSize; in ZSTD_estimateCStreamSize_usingCCtxParams()
957 zc->inBuffSize, zc->blockSize, in ZSTD_resetCCtx_internal()
1082 zc->inBuffSize = buffInSize; in ZSTD_resetCCtx_internal()
1218 ZSTD_buffered_policy_e const zbuff = (ZSTD_buffered_policy_e)(srcCCtx->inBuffSize>0); in ZSTD_copyCCtx()
3051 assert(zcs->inBuffSize > 0); in ZSTD_compressStream_generic()
3117 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
3120 (U32)zcs->inBuffTarget, (U32)zcs->inBuffSize); in ZSTD_compressStream_generic()
3122 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
H A Dzstd_compress_internal.h216 size_t inBuffSize; member
/freebsd-12.1/sys/contrib/zstd/lib/legacy/
H A Dzstd_v04.c3379 size_t inBuffSize; member
3498 if (zbc->inBuffSize < neededInSize) { in ZBUFF_decompressContinue()
3500 zbc->inBuffSize = neededInSize; in ZBUFF_decompressContinue()
3553 …if (toLoad > zbc->inBuffSize - zbc->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFF_decompressContinue()
H A Dzstd_v06.c3925 size_t inBuffSize; member
4030 if (zbd->inBuffSize < blockSize) { in ZBUFFv06_decompressContinue()
4032 zbd->inBuffSize = blockSize; in ZBUFFv06_decompressContinue()
4071 …if (toLoad > zbd->inBuffSize - zbd->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv06_decompressContinue()
H A Dzstd_v05.c3798 size_t inBuffSize; member
3904 if (zbc->inBuffSize < neededInSize) { in ZBUFFv05_decompressContinue()
3906 zbc->inBuffSize = neededInSize; in ZBUFFv05_decompressContinue()
3955 …if (toLoad > zbc->inBuffSize - zbc->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv05_decompressContinue()
H A Dzstd_v07.c4281 size_t inBuffSize; member
4405 if (zbd->inBuffSize < blockSize) { in ZBUFFv07_decompressContinue()
4407 zbd->inBuffSize = blockSize; in ZBUFFv07_decompressContinue()
4448 …if (toLoad > zbd->inBuffSize - zbd->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv07_decompressContinue()