Home
last modified time | relevance | path

Searched refs:workSpace (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/lib/zstd/
Dhuf_compress.c420 …_CElt *tree, const U32 *count, U32 maxSymbolValue, U32 maxNbBits, void *workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument
422 nodeElt *const huffNode0 = (nodeElt *)workSpace; in HUF_buildCTable_wksp()
652 …unsigned singleStream, void *workSpace, size_t wkspSize, HUF_CElt *oldHufTable, HUF_repeat *repeat… in HUF_compress_internal() argument
679 count = (U32 *)workSpace; in HUF_compress_internal()
680 workSpace = (BYTE *)workSpace + countSize; in HUF_compress_internal()
682 CTable = (HUF_CElt *)workSpace; in HUF_compress_internal()
683 workSpace = (BYTE *)workSpace + CTableSize; in HUF_compress_internal()
693 …V_F(largest, FSE_count_wksp(count, &maxSymbolValue, (const BYTE *)src, srcSize, (U32 *)workSpace)); in HUF_compress_internal()
714 …CHECK_V_F(maxBits, HUF_buildCTable_wksp(CTable, count, maxSymbolValue, huffLog, workSpace, wkspSiz… in HUF_compress_internal()
722 …CHECK_V_F(hSize, HUF_writeCTable_wksp(op, dstSize, CTable, maxSymbolValue, huffLog, workSpace, wks… in HUF_compress_internal()
[all …]
Dhuf.h57 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
144 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
152 …_CElt *tree, const U32 *count, U32 maxSymbolValue, U32 maxNbBits, void *workSpace, size_t wkspSize…
189 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
197 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
Dfse_compress.c358 unsigned *const workSpace) in FSE_count_parallel_wksp() argument
364 U32 *const Counting1 = workSpace; in FSE_count_parallel_wksp()
448 …ed *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned *workSpace) in FSE_countFast_wksp() argument
452 return FSE_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, 0, workSpace); in FSE_countFast_wksp()
458 …ed *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned *workSpace) in FSE_count_wksp() argument
461 return FSE_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, 1, workSpace); in FSE_count_wksp()
463 return FSE_countFast_wksp(count, maxSymbolValuePtr, source, sourceSize, workSpace); in FSE_count_wksp()
Dfse.h249 …d *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned *workSpace);
255 …nsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize, unsigned *workSpace);
276 …t *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workSpace, size_t wkspSize…
Dcompress.c70 void *workSpace; member
127 cctx->workSpace = ZSTD_stackAllocAll(cctx->customMem.opaque, &cctx->workSpaceSize); in ZSTD_initCCtx()
136 ZSTD_free(cctx->workSpace, cctx->customMem); in ZSTD_freeCCtx()
270 ZSTD_free(zc->workSpace, zc->customMem); in ZSTD_resetCCtx_advanced()
271 zc->workSpace = ZSTD_malloc(neededSpace, zc->customMem); in ZSTD_resetCCtx_advanced()
272 if (zc->workSpace == NULL) in ZSTD_resetCCtx_advanced()
279 memset(zc->workSpace, 0, tableSpace); /* reset tables only */ in ZSTD_resetCCtx_advanced()
282 zc->hashTable = (U32 *)(zc->workSpace); in ZSTD_resetCCtx_advanced()
366 memcpy(dstCCtx->workSpace, srcCCtx->workSpace, tableSpace); in ZSTD_copyCCtx()