Searched refs:customAlloc (Results 1 – 14 of 14) sorted by relevance
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | zstd_common.c | 58 if (customMem.customAlloc) in ZSTD_malloc() 59 return customMem.customAlloc(customMem.opaque, size); in ZSTD_malloc() 65 if (customMem.customAlloc) { in ZSTD_calloc() 68 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_calloc()
|
| /freebsd-14.2/sys/contrib/zstd/lib/common/ |
| H A D | zstd_common.c | 58 if (customMem.customAlloc) in ZSTD_customMalloc() 59 return customMem.customAlloc(customMem.opaque, size); in ZSTD_customMalloc() 65 if (customMem.customAlloc) { in ZSTD_customCalloc() 68 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_customCalloc()
|
| /freebsd-14.2/sys/geom/uzip/ |
| H A D | g_uzip_zstd.c | 128 .customAlloc = zstd_alloc,
|
| /freebsd-14.2/sys/contrib/zstd/zlibWrapper/ |
| H A D | zstd_zlibwrapper.c | 123 if (customMem.customAlloc) in ZWRAP_customMalloc() 124 return customMem.customAlloc(customMem.opaque, size); in ZWRAP_customMalloc() 130 if (customMem.customAlloc) { in ZWRAP_customCalloc() 133 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZWRAP_customCalloc() 187 customMem.customAlloc = ZWRAP_allocFunction; in ZWRAP_createCCtx() 547 customMem.customAlloc = ZWRAP_allocFunction; in ZWRAP_createDCtx()
|
| /freebsd-14.2/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v07.c | 67 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member 2981 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced() 2984 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced() 2987 dctx = (ZSTDv07_DCtx*) customMem.customAlloc(customMem.opaque, sizeof(ZSTDv07_DCtx)); in ZSTDv07_createDCtx_advanced() 4188 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced() 4191 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced() 4195 void* const dictContent = customMem.customAlloc(customMem.opaque, dictSize); in ZSTDv07_createDDict_advanced() 4341 if (!customMem.customAlloc && !customMem.customFree) in ZBUFFv07_createDCtx_advanced() 4344 if (!customMem.customAlloc || !customMem.customFree) in ZBUFFv07_createDCtx_advanced() 4347 zbd = (ZBUFFv07_DCtx*)customMem.customAlloc(customMem.opaque, sizeof(ZBUFFv07_DCtx)); in ZBUFFv07_createDCtx_advanced() [all …]
|
| /freebsd-14.2/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_ddict.c | 150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
|
| H A D | zstd_decompress.c | 290 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_ddict.c | 150 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDDict_advanced()
|
| H A D | zstd_decompress.c | 137 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createDCtx_advanced()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.h | 1374 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
|
| /freebsd-14.2/sys/contrib/zstd/lib/ |
| H A D | zstd.h | 1587 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
|
| /freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress.c | 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()
|
| /freebsd-14.2/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress.c | 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()
|
| H A D | zstdmt_compress.c | 927 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()
|