Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zstd/decompress/
Dzstd_ddict.c43 const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict) in ZSTD_DDict_dictContent() argument
45 assert(ddict != NULL); in ZSTD_DDict_dictContent()
46 return ddict->dictContent; in ZSTD_DDict_dictContent()
49 size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict) in ZSTD_DDict_dictSize() argument
51 assert(ddict != NULL); in ZSTD_DDict_dictSize()
52 return ddict->dictSize; in ZSTD_DDict_dictSize()
55 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters() argument
59 assert(ddict != NULL); in ZSTD_copyDDictParameters()
60 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
61 dctx->prefixStart = ddict->dictContent; in ZSTD_copyDDictParameters()
[all …]
Dzstd_ddict.h37 const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict);
38 size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict);
40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
Dzstd_decompress.c97 static size_t ZSTD_DDictHashSet_emplaceDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict) { in ZSTD_DDictHashSet_emplaceDDict() argument
98 const U32 dictID = ZSTD_getDictID_fromDDict(ddict); in ZSTD_DDictHashSet_emplaceDDict()
107 hashSet->ddictPtrTable[idx] = ddict; in ZSTD_DDictHashSet_emplaceDDict()
114 hashSet->ddictPtrTable[idx] = ddict; in ZSTD_DDictHashSet_emplaceDDict()
201 static size_t ZSTD_DDictHashSet_addDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict, ZSTD_… in ZSTD_DDictHashSet_addDDict() argument
202 …%u to hashset with - Count: %zu Tablesize: %zu", ZSTD_getDictID_fromDDict(ddict), hashSet->ddictPt… in ZSTD_DDictHashSet_addDDict()
206 FORWARD_IF_ERROR(ZSTD_DDictHashSet_emplaceDDict(hashSet, ddict), ""); in ZSTD_DDictHashSet_addDDict()
245 dctx->ddict = NULL; in ZSTD_initDCtx_internal()
305 dctx->ddict = NULL; in ZSTD_clearDict()
344 if (dctx->ddict) { in ZSTD_DCtx_selectFrameDDict()
[all …]
Dzstd_decompress_internal.h161 const ZSTD_DDict* ddict; /* set by ZSTD_initDStream_usingDDict(), or ZSTD_DCtx_refDDict() */ member
/linux-6.6.21/include/linux/
Dzstd_lib.h878 ZSTDLIB_API size_t ZSTD_freeDDict(ZSTD_DDict* ddict);
886 const ZSTD_DDict* ddict);
909 ZSTDLIB_API unsigned ZSTD_getDictID_fromDDict(const ZSTD_DDict* ddict);
1021 ZSTDLIB_API size_t ZSTD_DCtx_refDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
1052 ZSTDLIB_API size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict);
2335 ZSTDLIB_STATIC_API size_t ZSTD_initDStream_usingDDict(ZSTD_DStream* zds, const ZSTD_DDict* ddict);
2499 ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin_usingDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);