Searched refs:ZSTD_customMem (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/lib/zstd/common/ |
D | zstd_common.c | 56 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()
|
D | zstd_internal.h | 348 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-6.6.21/lib/zstd/decompress/ |
D | zstd_ddict.c | 40 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()
|
D | zstd_decompress_internal.h | 151 ZSTD_customMem customMem;
|
D | zstd_decompress.c | 123 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-6.6.21/include/linux/ |
D | zstd_lib.h | 1568 …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-6.6.21/lib/zstd/compress/ |
D | zstd_cwksp.h | 508 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()
|
D | zstd_compress_internal.h | 326 ZSTD_customMem customMem; 374 ZSTD_customMem customMem;
|
D | zstd_compress.c | 80 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()
|