Home
last modified time | relevance | path

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

/linux/lib/zstd/common/
H A Dallocations.h29 if (customMem.customAlloc) in ZSTD_customMalloc()
30 return customMem.customAlloc(customMem.opaque, size); in ZSTD_customMalloc()
36 if (customMem.customAlloc) { in ZSTD_customCalloc()
39 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_customCalloc()
/linux/lib/zstd/decompress/
H A Dzstd_ddict.c148 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c286 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
/linux/include/linux/
H A Dzstd_lib.h1837 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
/linux/lib/zstd/compress/
H A Dzstd_compress.c116 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()
327 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()
5498 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()
5558 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()