Home
last modified time | relevance | path

Searched refs:customFree (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/common/
H A Dzstd_common.c78 if (customMem.customFree) in ZSTD_customFree()
79 customMem.customFree(customMem.opaque, ptr); in ZSTD_customFree()
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v07.c2985 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()
2988 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()
3006 dctx->customMem.customFree(dctx->customMem.opaque, dctx); in ZSTDv07_freeDCtx()
4192 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()
4195 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()
4204 customMem.customFree(customMem.opaque, ddict); in ZSTDv07_createDDict_advanced()
4205 customMem.customFree(customMem.opaque, dctx); in ZSTDv07_createDDict_advanced()
4214 customMem.customFree(customMem.opaque, dctx); in ZSTDv07_createDDict_advanced()
4345 if (!customMem.customAlloc && !customMem.customFree) in ZBUFFv07_createDCtx_advanced()
4348 if (!customMem.customAlloc || !customMem.customFree) in ZBUFFv07_createDCtx_advanced()
[all …]
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c145 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_advanced()
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c143 if (customMem.customFree) in ZWRAP_customFree()
144 customMem.customFree(customMem.opaque, ptr); in ZWRAP_customFree()
188 customMem.customFree = ZWRAP_freeFunction; in ZWRAP_createCCtx()
533 customMem.customFree = ZWRAP_freeFunction; in ZWRAP_createDCtx()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.h1399 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
H A Dzstd.c4459 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
7395 if (customMem.customFree) in ZSTD_free()
7396 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
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()
/f-stack/freebsd/contrib/zstd/lib/
H A Dzstd.h1483 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_compress.c98 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()
H A Dzstdmt_compress.c899 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()