Home
last modified time | relevance | path

Searched refs:prefixDict (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c135 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); in ZSTD_clearAllDicts()
931 assert(cctx->prefixDict.dict == NULL); in ZSTD_initLocalDict()
1016 cctx->prefixDict.dict = prefix; in ZSTD_CCtx_refPrefix_advanced()
1017 cctx->prefixDict.dictSize = prefixSize; in ZSTD_CCtx_refPrefix_advanced()
1018 cctx->prefixDict.dictContentType = dictContentType; in ZSTD_CCtx_refPrefix_advanced()
4312 ZSTD_prefixDict const prefixDict = cctx->prefixDict; in ZSTD_CCtx_init_compressStream2() local
4314 ZSTD_memset(&cctx->prefixDict, 0, sizeof(cctx->prefixDict)); /* single usage */ in ZSTD_CCtx_init_compressStream2()
4315 assert(prefixDict.dict==NULL || cctx->cdict==NULL); /* only one can be set */ in ZSTD_CCtx_init_compressStream2()
4321 size_t const dictSize = prefixDict.dict in ZSTD_CCtx_init_compressStream2()
4322 ? prefixDict.dictSize in ZSTD_CCtx_init_compressStream2()
[all …]
Dzstd_compress_internal.h322 ZSTD_prefixDict prefixDict; /* single-usage dictionary */ member