Home
last modified time | relevance | path

Searched refs:ZSTD_customMalloc (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/common/
H A Dpool.c129 ctx->queue = (POOL_job*)ZSTD_customMalloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
143 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
212 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD… in POOL_resize_internal()
H A Dzstd_common.c56 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc() function
H A Dzstd_internal.h414 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem);
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c130 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
152 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_customMalloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c147 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced()
1796 zds->inBuff = (char*)ZSTD_customMalloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c209 void* const start = ZSTD_customMalloc(bSize, bufPool->cMem); in ZSTDMT_getBuffer()
231 void* const start = ZSTD_customMalloc(bSize, bufPool->cMem); in ZSTDMT_resizeBuffer()
500 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_customMalloc(hashSize, cMem); in ZSTDMT_serialState_reset()
504 serialState->ldmState.bucketOffsets = (BYTE*)ZSTD_customMalloc(bucketSize, cMem); in ZSTDMT_serialState_reset()
1272 mtctx->roundBuff.buffer = (BYTE*)ZSTD_customMalloc(capacity, mtctx->cMem); in ZSTDMT_initCStream_internal()
H A Dzstd_cwksp.h490 void* workspace = ZSTD_customMalloc(size, customMem); in ZSTD_cwksp_create()
H A Dzstd_compress.c99 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
1013 dictBuffer = ZSTD_customMalloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
2587 void* dst = ZSTD_customMalloc(dstCapacity, ZSTD_defaultCMem); in ZSTD_generateSequences()
3686 void* const workspace = ZSTD_customMalloc(workspaceSize, customMem); in ZSTD_createCDict_advanced_internal()