Lines Matching refs:ZSTD_malloc
6683 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);
7095 ctx->queue = (POOL_job*)ZSTD_malloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
7109 ctx->threads = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
7176 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthre… in POOL_resize_internal()
7371 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem) in ZSTD_malloc() function
9671 void* workspace = ZSTD_malloc(size, customMem); in ZSTD_cwksp_create()
13168 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
13988 void* dictBuffer = ZSTD_malloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
15451 void* dst = ZSTD_malloc(dstCapacity, ZSTD_defaultCMem); in ZSTD_getSequences()
16500 void* const workspace = ZSTD_malloc(workspaceSize, customMem); in ZSTD_createCDict_advanced()
24328 void* const internalBuffer = ZSTD_malloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
24350 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_malloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
24643 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced()
26255 zds->inBuff = (char*)ZSTD_malloc(bufferSize, zds->customMem); in ZSTD_decompressStream()