Searched refs:customAlloc (Results 1 – 5 of 5) sorted by relevance
29 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()
148 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
286 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
1837 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
116 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()