Searched refs:customMem (Results 1 – 3 of 3) sorted by relevance
/u-boot/lib/zstd/ |
A D | zstd_common.c | 60 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem) { return customMem.customAlloc(customMem.o… in ZSTD_malloc() argument 62 void ZSTD_free(void *ptr, ZSTD_customMem customMem) in ZSTD_free() argument 65 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
|
A D | decompress.c | 88 ZSTD_customMem customMem; member 121 if (!customMem.customAlloc || !customMem.customFree) in ZSTD_createDCtx_advanced() 127 memcpy(&dctx->customMem, &customMem, sizeof(customMem)); in ZSTD_createDCtx_advanced() 142 ZSTD_free(dctx, dctx->customMem); in ZSTD_freeDCtx() 2032 if (!customMem.customAlloc || !customMem.customFree) in ZSTD_createDDict_advanced() 2039 ddict->cMem = customMem; in ZSTD_createDDict_advanced() 2167 ZSTD_customMem customMem; member 2186 if (!customMem.customAlloc || !customMem.customFree) in ZSTD_createDStream_advanced() 2193 memcpy(&zds->customMem, &customMem, sizeof(ZSTD_customMem)); in ZSTD_createDStream_advanced() 2194 zds->dctx = ZSTD_createDCtx_advanced(customMem); in ZSTD_createDStream_advanced() [all …]
|
A D | zstd_internal.h | 215 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem); 216 void ZSTD_free(void *ptr, ZSTD_customMem customMem);
|
Completed in 10 milliseconds