Home
last modified time | relevance | path

Searched refs:dictBuffer (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/lib/zstd/decompress/
Dzstd_ddict.c34 void* dictBuffer; member
123 ddict->dictBuffer = NULL; in ZSTD_initDDict_internal()
128 ddict->dictBuffer = internalBuffer; in ZSTD_initDDict_internal()
177 ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize) in ZSTD_createDDict_byReference() argument
180 … return ZSTD_createDDict_advanced(dictBuffer, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto, allocator); in ZSTD_createDDict_byReference()
213 ZSTD_customFree(ddict->dictBuffer, cMem); in ZSTD_freeDDict()
230 return sizeof(*ddict) + (ddict->dictBuffer ? ddict->dictSize : 0) ; in ZSTD_sizeof_DDict()
/linux-6.6.21/include/linux/
Dzstd_lib.h849 ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict(const void* dictBuffer, size_t dictSize,
873 ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict(const void* dictBuffer, size_t dictSize);
1627 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize…
2032 ZSTDLIB_STATIC_API ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize…
/linux-6.6.21/lib/zstd/compress/
Dzstd_compress.c147 ZSTD_customFree(cctx->localDict.dictBuffer, cctx->customMem); in ZSTD_clearAllDicts()
156 size_t const bufferSize = dict.dictBuffer != NULL ? dict.dictSize : 0; in ZSTD_sizeof_localDict()
1036 assert(dl->dictBuffer == NULL); in ZSTD_initLocalDict()
1075 void* dictBuffer; in ZSTD_CCtx_loadDictionary_advanced() local
1078 dictBuffer = ZSTD_customMalloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
1079 RETURN_ERROR_IF(!dictBuffer, memory_allocation, "NULL pointer!"); in ZSTD_CCtx_loadDictionary_advanced()
1080 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced()
1081 cctx->localDict.dictBuffer = dictBuffer; in ZSTD_CCtx_loadDictionary_advanced()
1082 cctx->localDict.dict = dictBuffer; in ZSTD_CCtx_loadDictionary_advanced()
4671 const void* dictBuffer, size_t dictSize, in ZSTD_initCDict_internal() argument
[all …]
Dzstd_compress_internal.h52 void* dictBuffer; member