Searched refs:ZSTD_malloc (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | threading.c | 86 *mutex = (pthread_mutex_t*)ZSTD_malloc(sizeof(pthread_mutex_t)); in ZSTD_pthread_mutex_init() 105 *cond = (pthread_cond_t*)ZSTD_malloc(sizeof(pthread_cond_t)); in ZSTD_pthread_cond_init()
|
H A D | zstd_common.c | 60 return ZSTD_malloc(size); in ZSTD_customMalloc()
|
H A D | zstd_deps.h | 54 #define ZSTD_malloc(s) malloc(s) macro
|
H A D | fse_decompress.c | 63 return (FSE_DTable*)ZSTD_malloc( FSE_DTABLE_SIZE_U32(tableLog) * sizeof (U32) ); in FSE_createDTable()
|
H A D | xxhash.h | 1458 static void* XXH_malloc(size_t s) { return ZSTD_malloc(s); } in XXH_malloc()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | pool.c | 125 ctx->queue = (POOL_job*)ZSTD_malloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced() 139 ctx->threads = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced() 206 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthre… in POOL_resize_internal()
|
H A D | zstd_common.c | 56 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem) in ZSTD_malloc() function
|
H A D | zstd_internal.h | 386 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_ddict.c | 130 void* const internalBuffer = ZSTD_malloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal() 152 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_malloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
|
H A D | zstd_decompress.c | 139 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced() 1751 zds->inBuff = (char*)ZSTD_malloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
|
/freebsd/sys/contrib/openzfs/module/zstd/include/ |
H A D | zstd_compat_wrapper.h | 96 #define ZSTD_malloc zfs_ZSTD_malloc macro
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_cwksp.h | 459 void* workspace = ZSTD_malloc(size, customMem); in ZSTD_cwksp_create()
|
H A D | zstd_compress.c | 86 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced() 906 void* dictBuffer = ZSTD_malloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced() 2369 void* dst = ZSTD_malloc(dstCapacity, ZSTD_defaultCMem); in ZSTD_getSequences() 3418 void* const workspace = ZSTD_malloc(workspaceSize, customMem); in ZSTD_createCDict_advanced()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | fse_compress.c | 350 return (FSE_CTable*)ZSTD_malloc(size); in FSE_createCTable()
|
/freebsd/sys/contrib/zstd/ |
H A D | CONTRIBUTING.md | 415 and must use instead `ZSTD_malloc()` and equivalent.
|