Home
last modified time | relevance | path

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

/linux/lib/zstd/common/
H A Dallocations.h27 MEM_STATIC void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc()
34 MEM_STATIC void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc()
46 MEM_STATIC void ZSTD_customFree(void* ptr, ZSTD_customMem customMem) in ZSTD_customFree()
/linux/lib/zstd/decompress/
H A Dzstd_ddict.c41 ZSTD_customMem cMem;
146 ZSTD_customMem customMem) in ZSTD_createDDict_advanced()
170 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict()
180 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference()
213 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict()
H A Dzstd_decompress_internal.h153 ZSTD_customMem customMem;
H A Dzstd_decompress.c126 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand()
173 static ZSTD_DDictHashSet* ZSTD_createDDictHashSet(ZSTD_customMem customMem) { in ZSTD_createDDictHashSet()
191 static void ZSTD_freeDDictHashSet(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_freeDDictHashSet()
204 …ctHashSet_addDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_addDDict()
285 static ZSTD_DCtx* ZSTD_createDCtx_internal(ZSTD_customMem customMem) { in ZSTD_createDCtx_internal()
296 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
319 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx()
1606 ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem) in ZSTD_createDStream_advanced()
/linux/include/linux/
H A Dzstd_lib.h1837 …uct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; typedef
1845 ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /*< this constant defers to stdlib's…
1850 ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
1851 ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
1852 ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
1853 ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
1859 ZSTD_customMem customMem);
1885 ZSTD_customMem customMem);
1891 ZSTD_customMem customMem);
H A Dzstd.h90 typedef ZSTD_customMem zstd_custom_mem;
/linux/lib/zstd/compress/
H A Dzstd_cwksp.h586 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()
594 MEM_STATIC void ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) { in ZSTD_cwksp_free()
H A Dzstd_compress_internal.h421 ZSTD_customMem customMem;
486 ZSTD_customMem customMem;
H A Dzstd_compress.c86 ZSTD_customMem customMem;
100 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
112 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
324 ZSTD_customMem customMem) in ZSTD_createCCtxParams_advanced()
2448 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal()
5496 ZSTD_customMem customMem) in ZSTD_createCDict_advanced_internal()
5532 ZSTD_customMem customMem) in ZSTD_createCDict_advanced()
5551 ZSTD_customMem customMem) in ZSTD_createCDict_advanced2()
5621 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict()
5824 ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem) in ZSTD_createCStream_advanced()