Home
last modified time | relevance | path

Searched refs:customAlloc (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/lib/zstd/common/
Dzstd_common.c62 if (customMem.customAlloc) in ZSTD_customMalloc()
63 return customMem.customAlloc(customMem.opaque, size); in ZSTD_customMalloc()
70 if (customMem.customAlloc) { in ZSTD_customCalloc()
73 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_customCalloc()
/linux-6.1.9/lib/zstd/decompress/
Dzstd_ddict.c147 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
Dzstd_decompress.c282 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_advanced()
/linux-6.1.9/include/linux/
Dzstd_lib.h1502 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c95 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()
228 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()
3643 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()
3701 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()