Home
last modified time | relevance | path

Searched refs:ZSTD_customMem (Results 1 – 20 of 20) sorted by relevance

/external/zstd/lib/common/
Dzstd_common.c56 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc()
63 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc()
75 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem) in ZSTD_customFree()
Dzstd_internal.h414 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem);
415 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem);
416 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem);
Dpool.c35 ZSTD_customMem customMem;
117 ZSTD_customMem customMem) { in POOL_create_advanced()
316 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) { in POOL_create_advanced()
Dpool.h34 ZSTD_customMem customMem);
/external/zstd/lib/decompress/
Dzstd_ddict.c43 ZSTD_customMem cMem;
148 ZSTD_customMem customMem) in ZSTD_createDDict_advanced()
172 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict()
182 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference()
215 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict()
Dzstd_decompress_internal.h127 ZSTD_customMem customMem;
Dzstd_decompress.c143 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
173 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx()
1294 ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem) in ZSTD_createDStream_advanced()
/external/zstd/lib/
Dzstd.h1483 …uct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; typedef
1488 ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /**< this constant defers to stdlib'…
1490 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
1491 ZSTDLIB_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
1492 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
1493 ZSTDLIB_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
1499 ZSTD_customMem customMem);
1524 ZSTD_customMem customMem);
1529 ZSTD_customMem customMem);
/external/zstd/lib/deprecated/
Dzbuff.h195 …"use ZSTD_createCStream_advanced") ZBUFF_CCtx* ZBUFF_createCCtx_advanced(ZSTD_customMem customMem);
199 …"use ZSTD_createDStream_advanced") ZBUFF_DCtx* ZBUFF_createDCtx_advanced(ZSTD_customMem customMem);
Dzbuff_decompress.c25 ZBUFF_DCtx* ZBUFF_createDCtx_advanced(ZSTD_customMem customMem) in ZBUFF_createDCtx_advanced()
Dzbuff_compress.c58 ZBUFF_CCtx* ZBUFF_createCCtx_advanced(ZSTD_customMem customMem) in ZBUFF_createCCtx_advanced()
/external/zstd/lib/compress/
Dzstdmt_compress.c101 ZSTD_customMem cMem;
105 static ZSTDMT_bufferPool* ZSTDMT_createBufferPool(unsigned nbWorkers, ZSTD_customMem cMem) in ZSTDMT_createBufferPool()
170 { ZSTD_customMem const cMem = srcBufPool->cMem; in ZSTDMT_expandBufferPool()
317 static ZSTDMT_seqPool* ZSTDMT_createSeqPool(unsigned nbWorkers, ZSTD_customMem cMem) in ZSTDMT_createSeqPool()
343 ZSTD_customMem cMem;
360 ZSTD_customMem cMem) in ZSTDMT_createCCtxPool()
385 { ZSTD_customMem const cMem = srcPool->cMem; in ZSTDMT_expandCCtxPool()
484 ZSTD_customMem cMem = params.customMem; in ZSTDMT_serialState_reset()
547 ZSTD_customMem cMem = serialState->params.customMem; in ZSTDMT_serialState_free()
828 ZSTD_customMem cMem;
[all …]
Dzstdmt_compress.h54 ZSTD_customMem cMem,
Dzstd_cwksp.h489 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()
497 MEM_STATIC void ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) { in ZSTD_cwksp_free()
Dzstd_compress_internal.h250 ZSTD_customMem customMem;
280 ZSTD_customMem customMem;
Dzstd_compress.c72 ZSTD_customMem customMem;
82 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
94 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
235 ZSTD_customMem customMem) in ZSTD_createCCtxParams_advanced()
1964 ZSTD_memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx_internal()
3676 ZSTD_compressionParameters cParams, ZSTD_customMem customMem) in ZSTD_createCDict_advanced_internal()
3711 ZSTD_customMem customMem) in ZSTD_createCDict_advanced()
3729 ZSTD_customMem customMem) in ZSTD_createCDict_advanced2()
3796 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict()
3964 ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem) in ZSTD_createCStream_advanced()
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.c121 static void* ZWRAP_customMalloc(size_t size, ZSTD_customMem customMem) in ZWRAP_customMalloc()
128 static void* ZWRAP_customCalloc(size_t size, ZSTD_customMem customMem) in ZWRAP_customCalloc()
140 static void ZWRAP_customFree(void* ptr, ZSTD_customMem customMem) in ZWRAP_customFree()
160 ZSTD_customMem customMem;
184 ZSTD_customMem customMem = { NULL, NULL, NULL }; in ZWRAP_createCCtx()
514 ZSTD_customMem customMem;
529 ZSTD_customMem customMem = { NULL, NULL, NULL }; in ZWRAP_createDCtx()
/external/zstd/tests/
Dzbufftest.c121 static int basicUnitTests(U32 seed, double compressibility, ZSTD_customMem customMem) in basicUnitTests()
504 ZSTD_customMem customMem = { ZBUFF_allocFunction, ZBUFF_freeFunction, NULL }; in main()
505 ZSTD_customMem customNULL = { NULL, NULL, NULL }; in main()
Dfuzzer.c209 ZSTD_customMem const cMem = { FUZ_mallocDebug, FUZ_freeDebug, &malcount }; in FUZ_mallocTests_internal()
222 ZSTD_customMem const cMem = { FUZ_mallocDebug, FUZ_freeDebug, &malcount }; in FUZ_mallocTests_internal()
241 ZSTD_customMem const cMem = { FUZ_mallocDebug, FUZ_freeDebug, &malcount }; in FUZ_mallocTests_internal()
259 ZSTD_customMem const cMem = { FUZ_mallocDebug, FUZ_freeDebug, &malcount }; in FUZ_mallocTests_internal()
497 ZSTD_customMem customMem) = ZSTD_createDStream_advanced; in basicUnitTests()
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c237 ZSTD_customMem const cmem = { NULL, NULL, NULL }; in BMK_benchMem()