Home
last modified time | relevance | path

Searched refs:ZSTD_malloc (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/lib/common/
H A Dzstd_common.c59 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem) in ZSTD_malloc() function
H A Dpool.c118 ctx->queue = (POOL_job*)ZSTD_malloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
128 ctx->threads = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
H A Dzstd_internal.h238 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c191 void* const start = ZSTD_malloc(bSize, bufPool->cMem); in ZSTDMT_getBuffer()
213 void* const start = ZSTD_malloc(bSize, bufPool->cMem); in ZSTDMT_resizeBuffer()
463 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_malloc(hashSize, cMem); in ZSTDMT_serialState_reset()
467 serialState->ldmState.bucketOffsets = (BYTE*)ZSTD_malloc(bucketSize, cMem); in ZSTDMT_serialState_reset()
1296 mtctx->roundBuff.buffer = (BYTE*)ZSTD_malloc(capacity, mtctx->cMem); in ZSTDMT_initCStream_internal()
H A Dzstd_compress.c1009 zc->workSpace = ZSTD_malloc(neededSpace, zc->customMem); in ZSTD_resetCCtx_internal()
2629 void* const internalBuffer = ZSTD_malloc(dictSize, cdict->customMem); in ZSTD_initCDict_internal()
2675 { ZSTD_CDict* const cdict = (ZSTD_CDict*)ZSTD_malloc(sizeof(ZSTD_CDict), customMem); in ZSTD_createCDict_advanced()
2677 void* const workspace = ZSTD_malloc(workspaceSize, customMem); in ZSTD_createCDict_advanced()
/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c215 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced()
2376 void* const internalBuffer = ZSTD_malloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
2398 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_malloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
2864 zds->inBuff = (char*)ZSTD_malloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
/freebsd-12.1/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c523 zwd->version = ZSTD_malloc(strlen(version)+1, zwd->customMem); in z_inflateInit_()