Home
last modified time | relevance | path

Searched refs:ZSTD_customMem (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/lib/zstd/common/
Dzstd_common.c56 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc()
63 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc()
75 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem) in ZSTD_customFree()
Dzstd_internal.h398 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem);
399 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem);
400 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem);
/linux-5.19.10/lib/zstd/decompress/
Dzstd_ddict.c40 ZSTD_customMem cMem;
145 ZSTD_customMem customMem) in ZSTD_createDDict_advanced()
169 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict()
179 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference()
212 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict()
Dzstd_decompress_internal.h135 ZSTD_customMem customMem;
Dzstd_decompress.c124 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand()
171 static ZSTD_DDictHashSet* ZSTD_createDDictHashSet(ZSTD_customMem customMem) { in ZSTD_createDDictHashSet()
189 static void ZSTD_freeDDictHashSet(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_freeDDictHashSet()
202 …ctHashSet_addDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_addDDict()
280 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
310 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx()
1449 ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem) in ZSTD_createDStream_advanced()
/linux-5.19.10/include/linux/
Dzstd_lib.h1502 …uct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; typedef
1505 ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /*< this constant defers to stdlib's…
1507 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
1508 ZSTDLIB_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
1509 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
1510 ZSTDLIB_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
1516 ZSTD_customMem customMem);
1542 ZSTD_customMem customMem);
1548 ZSTD_customMem customMem);
/linux-5.19.10/lib/zstd/compress/
Dzstd_cwksp.h413 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()
421 MEM_STATIC void ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) { in ZSTD_cwksp_free()
Dzstd_compress.c69 ZSTD_customMem customMem;
79 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
91 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
225 ZSTD_customMem customMem) in ZSTD_createCCtxParams_advanced()
1924 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal()
3641 ZSTD_compressionParameters cParams, ZSTD_customMem customMem) in ZSTD_createCDict_advanced_internal()
3676 ZSTD_customMem customMem) in ZSTD_createCDict_advanced()
3694 ZSTD_customMem customMem) in ZSTD_createCDict_advanced2()
3761 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict()
3932 ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem) in ZSTD_createCStream_advanced()
Dzstd_compress_internal.h253 ZSTD_customMem customMem;
284 ZSTD_customMem customMem;