Home
last modified time | relevance | path

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

/linux/lib/zstd/common/
H A 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()
H A Dzstd_internal.h348 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem);
349 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem);
350 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem);
/linux/lib/zstd/decompress/
H A 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()
H A Dzstd_decompress_internal.h151 ZSTD_customMem customMem;
H A Dzstd_decompress.c123 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand()
170 static ZSTD_DDictHashSet* ZSTD_createDDictHashSet(ZSTD_customMem customMem) { in ZSTD_createDDictHashSet()
188 static void ZSTD_freeDDictHashSet(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_freeDDictHashSet()
201 …ctHashSet_addDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_addDDict()
279 static ZSTD_DCtx* ZSTD_createDCtx_internal(ZSTD_customMem customMem) { in ZSTD_createDCtx_internal()
290 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
313 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx()
1514 ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem) in ZSTD_createDStream_advanced()
/linux/include/linux/
H A Dzstd_lib.h1568 …uct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; typedef
1571 ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /*< this constant defers to stdlib's…
1573 ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
1574 ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
1575 ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
1576 ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
1582 ZSTD_customMem customMem);
1608 ZSTD_customMem customMem);
1614 ZSTD_customMem customMem);
/linux/lib/zstd/compress/
H A Dzstd_cwksp.h508 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()
516 MEM_STATIC void ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) { in ZSTD_cwksp_free()
H A Dzstd_compress_internal.h326 ZSTD_customMem customMem;
374 ZSTD_customMem customMem;
H A Dzstd_compress.c80 ZSTD_customMem customMem;
94 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
106 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
292 ZSTD_customMem customMem) in ZSTD_createCCtxParams_advanced()
2139 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal()
4727 ZSTD_customMem customMem) in ZSTD_createCDict_advanced_internal()
4762 ZSTD_customMem customMem) in ZSTD_createCDict_advanced()
4780 ZSTD_customMem customMem) in ZSTD_createCDict_advanced2()
4850 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict()
5048 ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem) in ZSTD_createCStream_advanced()