Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dhist.c70 U32* const workSpace) in HIST_count_parallel_wksp() argument
76 U32* const Counting1 = workSpace; in HIST_count_parallel_wksp()
88 ZSTD_memset(workSpace, 0, 4*256*sizeof(unsigned)); in HIST_count_parallel_wksp()
142 void* workSpace, size_t workSpaceSize) in HIST_countFast_wksp() argument
146 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */ in HIST_countFast_wksp()
148 …IST_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, trustInput, (U32*)workSpace); in HIST_countFast_wksp()
156 void* workSpace, size_t workSpaceSize) in HIST_count_wksp() argument
158 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */ in HIST_count_wksp()
161 …_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, checkMaxSymbolValue, (U32*)workSpace); in HIST_count_wksp()
163 …return HIST_countFast_wksp(count, maxSymbolValuePtr, source, sourceSize, workSpace, workSpaceSize); in HIST_count_wksp()
Dhist.h48 void* workSpace, size_t workSpaceSize);
64 void* workSpace, size_t workSpaceSize);
Dhuf_compress.c510 …* tree, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument
512 HUF_buildCTable_wksp_tables* const wksp_tables = (HUF_buildCTable_wksp_tables*)workSpace; in HUF_buildCTable_wksp()
518 …if (((size_t)workSpace & 3) != 0) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries… in HUF_buildCTable_wksp()
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
887 workSpace, wkspSize, in HUF_compress4X_wksp()
897 void* workSpace, size_t wkspSize, in HUF_compress4X_repeat() argument
[all …]
Dfse_compress.c69 void* workSpace, size_t wkspSize) in FSE_buildCTable_wksp() argument
79 U32* cumul = (U32*)workSpace; in FSE_buildCTable_wksp()
84 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* Must be 4 byte aligned */ in FSE_buildCTable_wksp()
/linux-6.1.9/lib/zstd/common/
Dhuf.h95 void* workSpace, size_t wkspSize);
165 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize…
167 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize…
170 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize…
210 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspS…
221 void* workSpace, size_t wkspSize);
284 size_t HUF_readDTableX1_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace,…
288 size_t HUF_readDTableX2_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace,…
305 … src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize…
315 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspSi…
[all …]
Dfse_decompress.c71 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_internal() argument
75 U16* symbolNext = (U16*)workSpace; in FSE_buildDTable_internal()
176 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_wksp() argument
178 …return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSi… 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
329 FSE_DecompressWksp* const wksp = (FSE_DecompressWksp*)workSpace; in FSE_decompress_wksp_body()
345 workSpace = wksp->dtable + FSE_DTABLE_SIZE_U32(tableLog); in FSE_decompress_wksp_body()
348 …_buildDTable_internal(wksp->dtable, wksp->ncount, maxSymbolValue, tableLog, workSpace, wkspSize) ); 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 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize…
343 …t* 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 … dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize…
/linux-6.1.9/lib/zstd/decompress/
Dhuf_decompress.c142 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, … in HUF_readDTableX1_wksp() argument
144 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp()
147 …X1_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize… in HUF_readDTableX1_wksp_bmi2() argument
154 HUF_ReadDTableX1_Workspace* wksp = (HUF_ReadDTableX1_Workspace*)workSpace; 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 …]