Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/common/
H A Dzstd_common.c81 if (customMem.customFree) in ZSTD_free()
82 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
/freebsd-12.1/sys/contrib/zstd/lib/legacy/
H A Dzstd_v07.c2979 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()
2982 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()
3000 dctx->customMem.customFree(dctx->customMem.opaque, dctx); in ZSTDv07_freeDCtx()
4151 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()
4154 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()
4163 customMem.customFree(customMem.opaque, ddict); in ZSTDv07_createDDict_advanced()
4164 customMem.customFree(customMem.opaque, dctx); in ZSTDv07_createDDict_advanced()
4173 customMem.customFree(customMem.opaque, dctx); 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 …]
/freebsd-12.1/sys/contrib/zstd/lib/
H A Dzstd.h592 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c71 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()
H A Dzstdmt_compress.c821 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced()
/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c213 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDCtx_advanced()
2396 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDDict_advanced()