Home
last modified time | relevance | path

Searched refs:dictContentSize (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress.c74 size_t dictContentSize; member
1853 zc->dictContentSize = 0; in ZSTD_resetCCtx_internal()
1983 cdict->dictContentSize, ZSTD_cpm_attachDict); in ZSTD_resetCCtx_byAttachingCDict()
2014 cctx->dictContentSize = cdict->dictContentSize; in ZSTD_resetCCtx_byAttachingCDict()
2093 cctx->dictContentSize = cdict->dictContentSize; in ZSTD_resetCCtx_byCopyingCDict()
2194 dstCCtx->dictContentSize = srcCCtx->dictContentSize; in ZSTD_copyCCtx_internal()
4296 { size_t const dictContentSize = (size_t)(dictEnd - dictPtr); in ZSTD_loadCEntropy() local
4298 if (dictContentSize <= ((U32)-1) - 128 KB) { in ZSTD_loadCEntropy()
4299 …U32 const maxOffset = (U32)dictContentSize + 128 KB; /* The maximum offset that must be supported … in ZSTD_loadCEntropy()
4309 RETURN_ERROR_IF(bs->rep[u] > dictContentSize, dictionary_corrupted, ""); in ZSTD_loadCEntropy()
[all …]
Dzstd_compress_internal.h366 size_t dictContentSize; member
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c1363 size_t const dictContentSize = (size_t)(dictEnd - (dictPtr+12)); in ZSTD_loadDEntropy() local
1366 RETURN_ERROR_IF(rep==0 || rep > dictContentSize, in ZSTD_loadDEntropy()