Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/include/linux/
Dzstd_lib.h838 ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict(const void* dictBuffer, size_t dictSize,
862 ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict(const void* dictBuffer, size_t dictSize);
1561 ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize, int c…
1921 ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize);
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c132 ZSTD_customFree(cctx->localDict.dictBuffer, cctx->customMem); in ZSTD_clearAllDicts()
141 size_t const bufferSize = dict.dictBuffer != NULL ? dict.dictSize : 0; in ZSTD_sizeof_localDict()
919 assert(dl->dictBuffer == NULL); in ZSTD_initLocalDict()
958 void* dictBuffer; in ZSTD_CCtx_loadDictionary_advanced() local
961 dictBuffer = ZSTD_customMalloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
962 RETURN_ERROR_IF(!dictBuffer, memory_allocation, "NULL pointer!"); in ZSTD_CCtx_loadDictionary_advanced()
963 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced()
964 cctx->localDict.dictBuffer = dictBuffer; in ZSTD_CCtx_loadDictionary_advanced()
965 cctx->localDict.dict = dictBuffer; in ZSTD_CCtx_loadDictionary_advanced()
3586 const void* dictBuffer, size_t dictSize, in ZSTD_initCDict_internal() argument
[all …]
Dzstd_compress_internal.h52 void* dictBuffer; member