Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/common/
Dhuf.h95 void* workSpace, size_t wkspSize);
161 …e_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); /*< considers R…
163 …e_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); /*< single-sy…
166 …e_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); /*< double-sy…
208 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspS…
219 void* workSpace, size_t wkspSize);
240 void* workspace, size_t wkspSize,
281 …bleX1_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize);
285 …bleX2_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize);
302 …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.c263 void* workSpace, size_t wkspSize, in HUF_readStats_body() argument
289 … oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); in HUF_readStats_body()
329 void* workSpace, size_t wkspSize) in HUF_readStats_body_default() argument
331 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 0); in HUF_readStats_body_default()
338 void* workSpace, size_t wkspSize) in HUF_readStats_body_bmi2() argument
340 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 1); in HUF_readStats_body_bmi2()
347 void* workSpace, size_t wkspSize, in HUF_readStats_wksp() argument
352 …_bmi2(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp()
356 …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);
340 …* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
344 …* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
355 …dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize);
358 …y, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize, int bmi2);
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_superblock.c305 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_literal() argument
315 … HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize); in ZSTD_estimateSubBlockSize_literal()
330 void* workspace, size_t wkspSize) in ZSTD_estimateSubBlockSize_symbolType() argument
339 HIST_countFast_wksp(countWksp, &max, codeTable, nbSeq, workspace, wkspSize); /* can't fail */ in ZSTD_estimateSubBlockSize_symbolType()
366 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_sequences() argument
375 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
379 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
383 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
395 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize() argument
400 workspace, wkspSize, writeLitEntropy); in ZSTD_estimateSubBlockSize()
[all …]
Dhuf_compress.c677 …CTable, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument
679 …tables = (HUF_buildCTable_wksp_tables*)HUF_alignUpWorkspace(workSpace, &wkspSize, ZSTD_ALIGNOF(U32… in HUF_buildCTable_wksp()
685 if (wkspSize < sizeof(HUF_buildCTable_wksp_tables)) in HUF_buildCTable_wksp()
1179 void* workSpace, size_t wkspSize, in HUF_compress_internal() argument
1183 … const table = (HUF_compress_tables_t*)HUF_alignUpWorkspace(workSpace, &wkspSize, ZSTD_ALIGNOF(siz… in HUF_compress_internal()
1191 if (wkspSize < sizeof(*table)) return ERROR(workSpace_tooSmall); in HUF_compress_internal()
1285 void* workSpace, size_t wkspSize) in HUF_compress1X_wksp() argument
1289 workSpace, wkspSize, in HUF_compress1X_wksp()
1296 void* workSpace, size_t wkspSize, in HUF_compress1X_repeat() argument
1302 workSpace, wkspSize, hufTable, in HUF_compress1X_repeat()
[all …]
Dzstd_compress.c2968 void* workspace, size_t wkspSize) in ZSTD_buildBlockEntropyStats_literals() argument
2971 BYTE* const wkspEnd = wkspStart + wkspSize; in ZSTD_buildBlockEntropyStats_literals()
3004 …est = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize, workspace, wkspSize); in ZSTD_buildBlockEntropyStats_literals()
3087 void* workspace, size_t wkspSize) in ZSTD_buildBlockEntropyStats_sequences() argument
3096 size_t entropyWorkspaceSize = wkspSize - (MaxSeq + 1) * sizeof(*countWorkspace); in ZSTD_buildBlockEntropyStats_sequences()
3125 void* workspace, size_t wkspSize) in ZSTD_buildBlockEntropyStats() argument
3133 workspace, wkspSize); in ZSTD_buildBlockEntropyStats()
3140 workspace, wkspSize); in ZSTD_buildBlockEntropyStats()
3149 void* workspace, size_t wkspSize, in ZSTD_estimateBlockSize_literal() argument
3160 … HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize); in ZSTD_estimateBlockSize_literal()
[all …]
Dfse_compress.c69 void* workSpace, size_t wkspSize) in FSE_buildCTable_wksp() argument
86 …if (FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) > wkspSize) return ERROR(tableLog_to… in FSE_buildCTable_wksp()
Dzstd_compress_internal.h119 void* workspace, size_t wkspSize);
/linux-6.12.1/lib/zstd/decompress/
Dhuf_decompress.c333 …TableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize) in HUF_readDTableX1_wksp() argument
335 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp()
338 …i2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int bmi2) in HUF_readDTableX1_wksp_bmi2() argument
348 if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge); in HUF_readDTableX1_wksp_bmi2()
761 void* workSpace, size_t wkspSize) in HUF_decompress1X1_DCtx_wksp() argument
765 size_t const hSize = HUF_readDTableX1_wksp(DCtx, cSrc, cSrcSize, workSpace, wkspSize); in HUF_decompress1X1_DCtx_wksp()
786 void* workSpace, size_t wkspSize, int bmi2) in HUF_decompress4X1_DCtx_wksp_bmi2() argument
790 … size_t const hSize = HUF_readDTableX1_wksp_bmi2(dctx, cSrc, cSrcSize, workSpace, wkspSize, bmi2); in HUF_decompress4X1_DCtx_wksp_bmi2()
800 void* workSpace, size_t wkspSize) in HUF_decompress4X1_DCtx_wksp() argument
802 …return HUF_decompress4X1_DCtx_wksp_bmi2(dctx, dst, dstSize, cSrc, cSrcSize, workSpace, wkspSize, 0… in HUF_decompress4X1_DCtx_wksp()
[all …]
Dzstd_decompress_block.h64 unsigned tableLog, void* wksp, size_t wkspSize,
Dzstd_decompress_block.c447 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body() argument
461 assert(wkspSize >= ZSTD_BUILD_FSE_TABLE_WKSP_SIZE); in ZSTD_buildFSETable_body()
462 (void)wkspSize; in ZSTD_buildFSETable_body()
567 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_default() argument
570 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_default()
577 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_bmi2() argument
580 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_bmi2()
587 unsigned tableLog, void* wksp, size_t wkspSize, int bmi2) in ZSTD_buildFSETable() argument
592 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable()
598 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable()
[all …]