Searched refs:customFree (Results 1 – 14 of 14) sorted by relevance
78 if (customMem.customFree) in ZSTD_free()79 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
78 if (customMem.customFree) in ZSTD_customFree()79 customMem.customFree(customMem.opaque, ptr); in ZSTD_customFree()
67 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member2981 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()2984 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()3002 dctx->customMem.customFree(dctx->customMem.opaque, dctx); in ZSTDv07_freeDCtx()4188 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()4191 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()4199 customMem.customFree(customMem.opaque, dictContent); in ZSTDv07_createDDict_advanced()4200 customMem.customFree(customMem.opaque, ddict); in ZSTDv07_createDDict_advanced()4201 customMem.customFree(customMem.opaque, dctx); in ZSTDv07_createDDict_advanced()4208 customMem.customFree(customMem.opaque, dictContent); in ZSTDv07_createDDict_advanced()[all …]
128 .customFree = zstd_free,
150 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDDict_advanced()
137 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDCtx_advanced()
150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
290 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
143 if (customMem.customFree) in ZWRAP_customFree()144 customMem.customFree(customMem.opaque, ptr); in ZWRAP_customFree()188 customMem.customFree = ZWRAP_freeFunction; in ZWRAP_createCCtx()548 customMem.customFree = ZWRAP_freeFunction; in ZWRAP_createDCtx()
1374 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
1587 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
85 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCCtx_advanced()208 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCCtxParams_advanced()3410 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced()
113 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()305 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()4848 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()4906 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()
927 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()