Home
last modified time | relevance | path

Searched refs:wkspSize (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/lib/zstd/common/
Dhuf.h95 void* workSpace, size_t wkspSize);
165 …e_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); /*< considers R…
167 …e_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); /*< single-sy…
170 …e_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); /*< double-sy…
210 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspS…
221 void* workSpace, size_t wkspSize);
242 void* workspace, size_t wkspSize,
284 …bleX1_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize);
288 …bleX2_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize);
305 …ze, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize); /*< `workSpace…
[all …]
Dfse_decompress.c71 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_internal() argument
83 …if (FSE_BUILD_DTABLE_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(maxSymbolValue_t… in FSE_buildDTable_internal()
176 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_wksp() argument
178 …urn FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSize); in FSE_buildDTable_wksp()
308 … dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize) in FSE_decompress_wksp() argument
310 …return FSE_decompress_wksp_bmi2(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, /* … in FSE_decompress_wksp()
322 unsigned maxLog, void* workSpace, size_t wkspSize, in FSE_decompress_wksp_body() argument
332 if (wkspSize < sizeof(*wksp)) return ERROR(GENERIC); in FSE_decompress_wksp_body()
344 …if (FSE_DECOMPRESS_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(tableLog_tooLarge); in FSE_decompress_wksp_body()
346 wkspSize -= sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog); in FSE_decompress_wksp_body()
[all …]
Dentropy_common.c265 void* workSpace, size_t wkspSize, in HUF_readStats_body() argument
291 … oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); in HUF_readStats_body()
331 void* workSpace, size_t wkspSize) in HUF_readStats_body_default() argument
333 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 0); in HUF_readStats_body_default()
340 void* workSpace, size_t wkspSize) in HUF_readStats_body_bmi2() argument
342 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 1); in HUF_readStats_body_bmi2()
349 void* workSpace, size_t wkspSize, in HUF_readStats_wksp() argument
354 …_bmi2(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp()
358 …fault(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp()
Dfse.h325 …src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
339 …* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
343 …* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
354 …dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize);
357 …y, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize, int bmi2);
/linux-6.1.9/lib/zstd/decompress/
Dhuf_decompress.c142 …TableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize) in HUF_readDTableX1_wksp() argument
144 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp()
147 …i2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int bmi2) in HUF_readDTableX1_wksp_bmi2() argument
157 if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge); in HUF_readDTableX1_wksp_bmi2()
466 void* workSpace, size_t wkspSize) in HUF_decompress1X1_DCtx_wksp() argument
470 size_t const hSize = HUF_readDTableX1_wksp(DCtx, cSrc, cSrcSize, workSpace, wkspSize); in HUF_decompress1X1_DCtx_wksp()
491 void* workSpace, size_t wkspSize, int bmi2) in HUF_decompress4X1_DCtx_wksp_bmi2() argument
495 … size_t const hSize = HUF_readDTableX1_wksp_bmi2(dctx, cSrc, cSrcSize, workSpace, wkspSize, bmi2); in HUF_decompress4X1_DCtx_wksp_bmi2()
505 void* workSpace, size_t wkspSize) in HUF_decompress4X1_DCtx_wksp() argument
507 …return HUF_decompress4X1_DCtx_wksp_bmi2(dctx, dst, dstSize, cSrc, cSrcSize, workSpace, wkspSize, 0… in HUF_decompress4X1_DCtx_wksp()
[all …]
Dzstd_decompress_block.h58 unsigned tableLog, void* wksp, size_t wkspSize,
Dzstd_decompress_block.c371 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body() argument
385 assert(wkspSize >= ZSTD_BUILD_FSE_TABLE_WKSP_SIZE); in ZSTD_buildFSETable_body()
386 (void)wkspSize; in ZSTD_buildFSETable_body()
491 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_default() argument
494 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_default()
501 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_bmi2() argument
504 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_bmi2()
511 unsigned tableLog, void* wksp, size_t wkspSize, int bmi2) in ZSTD_buildFSETable() argument
516 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable()
522 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable()
[all …]
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_superblock.c66 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy_literal() argument
69 BYTE* const wkspEnd = wkspStart + wkspSize; in ZSTD_buildSuperBlockEntropy_literal()
101 …est = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize, workspace, wkspSize); in ZSTD_buildSuperBlockEntropy_literal()
169 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy_sequences() argument
172 BYTE* const wkspEnd = wkspStart + wkspSize; in ZSTD_buildSuperBlockEntropy_sequences()
192 ZSTD_memset(workspace, 0, wkspSize); in ZSTD_buildSuperBlockEntropy_sequences()
200 …t = HIST_countFast_wksp(countWksp, &max, llCodeTable, nbSeq, workspace, wkspSize); /* can't fail … in ZSTD_buildSuperBlockEntropy_sequences()
223 …t = HIST_countFast_wksp(countWksp, &max, ofCodeTable, nbSeq, workspace, wkspSize); /* can't fail … in ZSTD_buildSuperBlockEntropy_sequences()
247 …t = HIST_countFast_wksp(countWksp, &max, mlCodeTable, nbSeq, workspace, wkspSize); /* can't fail… in ZSTD_buildSuperBlockEntropy_sequences()
280 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy() argument
[all …]
Dhuf_compress.c510 …* tree, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument
519 if (wkspSize < sizeof(HUF_buildCTable_wksp_tables)) in HUF_buildCTable_wksp()
768 void* workSpace_align4, size_t wkspSize, in HUF_compress_internal() argument
781 if (wkspSize < HUF_WORKSPACE_SIZE) return ERROR(workSpace_tooSmall); in HUF_compress_internal()
798 …ount_wksp (table->count, &maxSymbolValue, (const BYTE*)src, srcSize, workSpace_align4, wkspSize) ); in HUF_compress_internal()
857 void* workSpace, size_t wkspSize) in HUF_compress1X_wksp() argument
861 workSpace, wkspSize, in HUF_compress1X_wksp()
868 void* workSpace, size_t wkspSize, in HUF_compress1X_repeat() argument
873 workSpace, wkspSize, hufTable, in HUF_compress1X_repeat()
883 void* workSpace, size_t wkspSize) in HUF_compress4X_wksp() argument
[all …]
Dfse_compress.c69 void* workSpace, size_t wkspSize) in FSE_buildCTable_wksp() argument
85 …if (FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) > wkspSize) return ERROR(tableLog_to… in FSE_buildCTable_wksp()