Searched refs:ZSTD_customMem (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/lib/zstd/ |
D | zstd_common.c | 35 ZSTD_customMem ZSTD_initStack(void *workspace, size_t workspaceSize) in ZSTD_initStack() 37 ZSTD_customMem stackMem = {ZSTD_stackAlloc, ZSTD_stackFree, workspace}; in ZSTD_initStack() 41 ZSTD_customMem error = {NULL, NULL, NULL}; in ZSTD_initStack() 69 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem) { return customMem.customAlloc(customMem.o… in ZSTD_malloc() 71 void ZSTD_free(void *ptr, ZSTD_customMem customMem) in ZSTD_free()
|
D | zstd_internal.h | 223 } ZSTD_customMem; typedef 225 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem); 226 void ZSTD_free(void *ptr, ZSTD_customMem customMem); 238 ZSTD_customMem ZSTD_initStack(void *workspace, size_t workspaceSize);
|
D | decompress.c | 97 ZSTD_customMem customMem; 126 ZSTD_DCtx *ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced() 143 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initDCtx() 1985 ZSTD_customMem cMem; 2039 …teDDict_advanced(const void *dict, size_t dictSize, unsigned byReference, ZSTD_customMem customMem) in ZSTD_createDDict_advanced() 2084 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initDDict() 2093 ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict() 2176 ZSTD_customMem customMem; 2191 static ZSTD_DStream *ZSTD_createDStream_advanced(ZSTD_customMem customMem) in ZSTD_createDStream_advanced() 2202 memcpy(&zds->customMem, &customMem, sizeof(ZSTD_customMem)); in ZSTD_createDStream_advanced() [all …]
|
D | compress.c | 75 ZSTD_customMem customMem; 109 static ZSTD_CCtx *ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced() 124 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initCCtx() 353 memcpy(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); in ZSTD_copyCCtx() 2847 …ictBuffer, size_t dictSize, unsigned byReference, ZSTD_parameters params, ZSTD_customMem customMem) in ZSTD_createCDict_advanced() 2895 ZSTD_customMem const stackMem = ZSTD_initStack(workspace, workspaceSize); in ZSTD_initCDict() 2904 ZSTD_customMem const cMem = cdict->refContext->customMem; in ZSTD_freeCDict() 2970 ZSTD_customMem customMem; 2982 ZSTD_CStream *ZSTD_createCStream_advanced(ZSTD_customMem customMem) in ZSTD_createCStream_advanced() 2993 memcpy(&zcs->customMem, &customMem, sizeof(ZSTD_customMem)); in ZSTD_createCStream_advanced() [all …]
|