Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dallocations.h49 if (customMem.customFree) in ZSTD_customFree()
50 customMem.customFree(customMem.opaque, ptr); in ZSTD_customFree()
/freebsd/sys/contrib/zstd/lib/common/
H A Dallocations.h48 if (customMem.customFree) in ZSTD_customFree()
49 customMem.customFree(customMem.opaque, ptr); in ZSTD_customFree()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v07.c68 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member
2926 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()
2929 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()
2947 dctx->customMem.customFree(dctx->customMem.opaque, dctx); in ZSTDv07_freeDCtx()
4136 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()
4139 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()
4147 customMem.customFree(customMem.opaque, dictContent); in ZSTDv07_createDDict_advanced()
4148 customMem.customFree(customMem.opaque, ddict); in ZSTDv07_createDDict_advanced()
4149 customMem.customFree(customMem.opaque, dctx); in ZSTDv07_createDDict_advanced()
4156 customMem.customFree(customMem.opaque, dictContent); in ZSTDv07_createDDict_advanced()
[all …]
/freebsd/sys/geom/uzip/
H A Dg_uzip_zstd.c128 .customFree = zstd_free,
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c151 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c296 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c295 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
/freebsd/sys/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()
548 customMem.customFree = ZWRAP_freeFunction; in ZWRAP_createDCtx()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_cwksp.h701 if (ptr != NULL && customMem.customFree != NULL) { in ZSTD_cwksp_free()
H A Dzstd_compress.c118 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()
332 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()
5612 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()
5672 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()
H A Dzstdmt_compress.c959 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_cwksp.h702 if (ptr != NULL && customMem.customFree != NULL) { in ZSTD_cwksp_free()
H A Dzstd_compress.c119 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()
333 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()
5613 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()
5673 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h1871 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h1870 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member