Searched refs:customAlloc (Results 1 – 6 of 6) sorted by relevance
61 if (customMem.customAlloc) in ZSTD_malloc()62 return customMem.customAlloc(customMem.opaque, size); in ZSTD_malloc()68 if (customMem.customAlloc) { in ZSTD_calloc()71 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_calloc()
67 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member2979 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()2982 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()2985 dctx = (ZSTDv07_DCtx*) customMem.customAlloc(customMem.opaque, sizeof(ZSTDv07_DCtx)); in ZSTDv07_createDCtx_advanced()4151 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()4154 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()4157 …{ ZSTDv07_DDict* const ddict = (ZSTDv07_DDict*) customMem.customAlloc(customMem.opaque, sizeof(*… in ZSTDv07_createDDict_advanced()4158 void* const dictContent = customMem.customAlloc(customMem.opaque, dictSize); in ZSTDv07_createDDict_advanced()4304 if (!customMem.customAlloc && !customMem.customFree) in ZBUFFv07_createDCtx_advanced()4307 if (!customMem.customAlloc || !customMem.customFree) in ZBUFFv07_createDCtx_advanced()[all …]
592 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
71 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCCtx_advanced()177 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCCtxParams_advanced()2673 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced()
821 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced()
213 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDCtx_advanced()2396 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDDict_advanced()