Home
last modified time | relevance | path

Searched refs:cdict (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c84 * row-based matchfinder. Unless the cdict is reloaded, we will use
148 ZSTD_freeCDict(cctx->localDict.cdict); in ZSTD_clearAllDicts()
151 cctx->cdict = NULL; in ZSTD_clearAllDicts()
157 size_t const cdictSize = ZSTD_sizeof_CDict(dict.cdict); in ZSTD_sizeof_localDict()
1001 RETURN_ERROR_IF(cctx->cdict, stage_wrong, in ZSTD_CCtx_setParametersUsingCCtxParams()
1002 "Can't override parameters with cdict attached (some must " in ZSTD_CCtx_setParametersUsingCCtxParams()
1003 "be inherited from the cdict)."); in ZSTD_CCtx_setParametersUsingCCtxParams()
1037 assert(dl->cdict == NULL); in ZSTD_initLocalDict()
1041 if (dl->cdict != NULL) { in ZSTD_initLocalDict()
1042 assert(cctx->cdict in ZSTD_initLocalDict()
1103 ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict) ZSTD_CCtx_refCDict() argument
1946 ZSTD_shouldAttachDict(const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, U64 pledgedSrcSize) ZSTD_shouldAttachDict() argument
1962 ZSTD_resetCCtx_byAttachingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict, ZSTD_CCtx_params params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_resetCCtx_byAttachingCDict() argument
2022 ZSTD_resetCCtx_byCopyingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict, ZSTD_CCtx_params params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_resetCCtx_byCopyingCDict() argument
2104 ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_resetCCtx_usingCDict() argument
4398 ZSTD_compressBegin_internal(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, ZSTD_dictTableLoadMethod_e dtlm, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_compressBegin_internal() argument
4442 ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, ZSTD_dictTableLoadMethod_e dtlm, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, unsigned long long pledgedSrcSize) ZSTD_compressBegin_advanced_internal() argument
4660 ZSTD_sizeof_CDict(const ZSTD_CDict* cdict) ZSTD_sizeof_CDict() argument
4669 ZSTD_initCDict_internal( ZSTD_CDict* cdict, const void* dictBuffer, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType, ZSTD_CCtx_params params) ZSTD_initCDict_internal() argument
4739 ZSTD_CDict* cdict; ZSTD_createCDict_advanced_internal() local
4784 ZSTD_CDict* cdict; ZSTD_createCDict_advanced2() local
4828 ZSTD_CDict* const cdict = ZSTD_createCDict_advanced(dict, dictSize, ZSTD_createCDict() local
4839 ZSTD_CDict* const cdict = ZSTD_createCDict_advanced(dict, dictSize, ZSTD_createCDict_byReference() local
4847 ZSTD_freeCDict(ZSTD_CDict* cdict) ZSTD_freeCDict() argument
4888 ZSTD_CDict* cdict; ZSTD_initStaticCDict() local
4919 ZSTD_getCParamsFromCDict(const ZSTD_CDict* cdict) ZSTD_getCParamsFromCDict() argument
4929 ZSTD_getDictID_fromCDict(const ZSTD_CDict* cdict) ZSTD_getDictID_fromCDict() argument
4938 ZSTD_compressBegin_usingCDict_internal( ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize) ZSTD_compressBegin_usingCDict_internal() argument
4979 ZSTD_compressBegin_usingCDict_advanced( ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize) ZSTD_compressBegin_usingCDict_advanced() argument
4988 ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict) ZSTD_compressBegin_usingCDict() argument
4997 ZSTD_compress_usingCDict_internal(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const ZSTD_CDict* cdict, ZSTD_frameParameters fParams) ZSTD_compress_usingCDict_internal() argument
5009 ZSTD_compress_usingCDict_advanced(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const ZSTD_CDict* cdict, ZSTD_frameParameters fParams) ZSTD_compress_usingCDict_advanced() argument
5022 ZSTD_compress_usingCDict(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const ZSTD_CDict* cdict) ZSTD_compress_usingCDict() argument
5069 ZSTD_getCParamMode(ZSTD_CDict const* cdict, ZSTD_CCtx_params const* params, U64 pledgedSrcSize) ZSTD_getCParamMode() argument
5096 ZSTD_initCStream_internal(ZSTD_CStream* zcs, const void* dict, size_t dictSize, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, unsigned long long pledgedSrcSize) ZSTD_initCStream_internal() argument
5118 ZSTD_initCStream_usingCDict_advanced(ZSTD_CStream* zcs, const ZSTD_CDict* cdict, ZSTD_frameParameters fParams, unsigned long long pledgedSrcSize) ZSTD_initCStream_usingCDict_advanced() argument
5132 ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict) ZSTD_initCStream_usingCDict() argument
[all...]
H A Dzstd_compress_internal.h56 ZSTD_CDict* cdict; member
411 const ZSTD_CDict* cdict; member
1338 * must receive dict, or cdict, or none, but not both.
1342 const ZSTD_CDict* cdict,
1349 ZSTD_compressionParameters ZSTD_getCParamsFromCDict(const ZSTD_CDict* cdict);
1357 const ZSTD_CDict* cdict,
/kernel/linux/linux-6.6/include/linux/
H A Dzstd_lib.h267 * See ZSTD_CCtx_refCDict() for more info (superseded-by-cdict). */
865 const ZSTD_CDict* cdict);
900 * Provides the dictID of the dictionary loaded into `cdict`.
903 ZSTDLIB_API unsigned ZSTD_getDictID_fromCDict(const ZSTD_CDict* cdict);
957 * The parameters ignored are labelled as "superseded-by-cdict" in the ZSTD_cParameter enum docs.
965 ZSTDLIB_API size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict);
1051 ZSTDLIB_API size_t ZSTD_sizeof_CDict(const ZSTD_CDict* cdict);
1671 const ZSTD_CDict* cdict,
2229 * ZSTD_CCtx_refCDict(zcs, cdict);
2231 * note : cdict wil
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c2853 ZSTD_CDict *const cdict = (ZSTD_CDict *)ZSTD_malloc(sizeof(ZSTD_CDict), customMem); in ZSTD_createCDict_advanced() local
2856 if (!cdict || !cctx) { in ZSTD_createCDict_advanced()
2857 ZSTD_free(cdict, customMem); in ZSTD_createCDict_advanced()
2863 cdict->dictBuffer = NULL; in ZSTD_createCDict_advanced()
2864 cdict->dictContent = dictBuffer; in ZSTD_createCDict_advanced()
2869 ZSTD_free(cdict, customMem); in ZSTD_createCDict_advanced()
2873 cdict->dictBuffer = internalBuffer; in ZSTD_createCDict_advanced()
2874 cdict->dictContent = internalBuffer; in ZSTD_createCDict_advanced()
2878 size_t const errorCode = ZSTD_compressBegin_advanced(cctx, cdict->dictContent, dictSize, params, 0); in ZSTD_createCDict_advanced()
2880 ZSTD_free(cdict in ZSTD_createCDict_advanced()
2899 ZSTD_freeCDict(ZSTD_CDict *cdict) ZSTD_freeCDict() argument
2912 ZSTD_getParamsFromCDict(const ZSTD_CDict *cdict) ZSTD_getParamsFromCDict() argument
2914 ZSTD_compressBegin_usingCDict(ZSTD_CCtx *cctx, const ZSTD_CDict *cdict, unsigned long long pledgedSrcSize) ZSTD_compressBegin_usingCDict() argument
2930 ZSTD_compress_usingCDict(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const ZSTD_CDict *cdict) ZSTD_compress_usingCDict() argument
2953 const ZSTD_CDict *cdict; global() member
3105 ZSTD_initCStream_usingCDict(const ZSTD_CDict *cdict, unsigned long long pledgedSrcSize, void *workspace, size_t workspaceSize) ZSTD_initCStream_usingCDict() argument
[all...]
H A Dzstd_internal.h268 size_t ZSTD_freeCDict(ZSTD_CDict *cdict);
269 size_t ZSTD_freeDDict(ZSTD_DDict *cdict);
/kernel/linux/linux-5.10/include/linux/
H A Dzstd.h391 * cdict.
397 * @cdict: The digested dictionary to use for compression.
407 const void *src, size_t srcSize, const ZSTD_CDict *cdict);
561 * @cdict: The digested dictionary to use for compression.
566 * with the cParams used to initialize the cdict to determine
571 ZSTD_CStream *ZSTD_initCStream_usingCDict(const ZSTD_CDict *cdict,
1013 size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx *cctx, const ZSTD_CDict *cdict,

Completed in 21 milliseconds