/external/zstd/lib/common/ |
D | zstd_common.c | 56 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()
|
D | zstd_internal.h | 414 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);
|
D | pool.c | 35 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()
|
D | pool.h | 34 ZSTD_customMem customMem);
|
/external/zstd/lib/decompress/ |
D | zstd_ddict.c | 43 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()
|
D | zstd_decompress_internal.h | 127 ZSTD_customMem customMem;
|
D | zstd_decompress.c | 143 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/ |
D | zstd.h | 1483 …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/ |
D | zbuff.h | 195 …"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);
|
D | zbuff_decompress.c | 25 ZBUFF_DCtx* ZBUFF_createDCtx_advanced(ZSTD_customMem customMem) in ZBUFF_createDCtx_advanced()
|
D | zbuff_compress.c | 58 ZBUFF_CCtx* ZBUFF_createCCtx_advanced(ZSTD_customMem customMem) in ZBUFF_createCCtx_advanced()
|
/external/zstd/lib/compress/ |
D | zstdmt_compress.c | 101 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 …]
|
D | zstdmt_compress.h | 54 ZSTD_customMem cMem,
|
D | zstd_cwksp.h | 489 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()
|
D | zstd_compress_internal.h | 250 ZSTD_customMem customMem; 280 ZSTD_customMem customMem;
|
D | zstd_compress.c | 72 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/ |
D | zstd_zlibwrapper.c | 121 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/ |
D | zbufftest.c | 121 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()
|
D | fuzzer.c | 209 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/ |
D | zwrapbench.c | 237 ZSTD_customMem const cmem = { NULL, NULL, NULL }; in BMK_benchMem()
|