Searched refs:customAlloc (Results 1 – 10 of 10) sorted by relevance
58 if (customMem.customAlloc) in ZSTD_customMalloc()59 return customMem.customAlloc(customMem.opaque, size); in ZSTD_customMalloc()65 if (customMem.customAlloc) { in ZSTD_customCalloc()68 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_customCalloc()
123 if (customMem.customAlloc) in ZWRAP_customMalloc()124 return customMem.customAlloc(customMem.opaque, size); in ZWRAP_customMalloc()130 if (customMem.customAlloc) { in ZWRAP_customCalloc()133 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZWRAP_customCalloc()187 customMem.customAlloc = ZWRAP_allocFunction; in ZWRAP_createCCtx()532 customMem.customAlloc = ZWRAP_allocFunction; in ZWRAP_createDCtx()
150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
145 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_advanced()
67 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member2985 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()2988 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()2991 dctx = (ZSTDv07_DCtx*) customMem.customAlloc(customMem.opaque, sizeof(ZSTDv07_DCtx)); in ZSTDv07_createDCtx_advanced()4192 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()4195 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()4199 void* const dictContent = customMem.customAlloc(customMem.opaque, dictSize); in ZSTDv07_createDDict_advanced()4345 if (!customMem.customAlloc && !customMem.customFree) in ZBUFFv07_createDCtx_advanced()4348 if (!customMem.customAlloc || !customMem.customFree) in ZBUFFv07_createDCtx_advanced()4351 zbd = (ZBUFFv07_DCtx*)customMem.customAlloc(customMem.opaque, sizeof(ZBUFFv07_DCtx)); in ZBUFFv07_createDCtx_advanced()[all …]
1399 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
4459 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member7375 if (customMem.customAlloc) in ZSTD_malloc()7376 return customMem.customAlloc(customMem.opaque, size); in ZSTD_malloc()7382 if (customMem.customAlloc) { in ZSTD_calloc()7385 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_calloc()13169 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCCtx_advanced()13292 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCCtxParams_advanced()16494 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced()24350 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDDict_advanced()24643 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDCtx_advanced()
1483 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
98 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()238 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()3678 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()3736 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()
899 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()