/linux-6.12.1/lib/zstd/compress/ |
D | hist.c | 70 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()
|
D | hist.h | 48 void* workSpace, size_t workSpaceSize); 64 void* workSpace, size_t workSpaceSize);
|
D | huf_compress.c | 677 …CTable, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument 679 … const wksp_tables = (HUF_buildCTable_wksp_tables*)HUF_alignUpWorkspace(workSpace, &wkspSize, ZSTD… in HUF_buildCTable_wksp() 1179 void* workSpace, size_t wkspSize, in HUF_compress_internal() argument 1183 …HUF_compress_tables_t* const table = (HUF_compress_tables_t*)HUF_alignUpWorkspace(workSpace, &wksp… 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() 1312 void* workSpace, size_t wkspSize) in HUF_compress4X_wksp() argument 1316 workSpace, wkspSize, in HUF_compress4X_wksp() [all …]
|
D | fse_compress.c | 69 void* workSpace, size_t wkspSize) in FSE_buildCTable_wksp() argument 80 U16* cumul = (U16*)workSpace; /* size = maxSV1 */ in FSE_buildCTable_wksp() 85 assert(((size_t)workSpace & 1) == 0); /* Must be 2 bytes-aligned */ in FSE_buildCTable_wksp()
|
/linux-6.12.1/lib/zstd/common/ |
D | huf.h | 95 void* workSpace, size_t wkspSize); 161 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 163 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 166 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 208 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspS… 219 void* workSpace, size_t wkspSize); 281 size_t HUF_readDTableX1_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace,… 285 size_t HUF_readDTableX2_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace,… 302 … src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize… 314 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspSi… [all …]
|
D | fse_decompress.c | 71 …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 …]
|
D | entropy_common.c | 263 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()
|
D | fse.h | 325 … src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize… 340 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize… 344 …t* 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 … dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize…
|
/linux-6.12.1/lib/zstd/decompress/ |
D | huf_decompress.c | 333 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, … in HUF_readDTableX1_wksp() argument 335 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp() 338 …X1_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize… in HUF_readDTableX1_wksp_bmi2() argument 345 HUF_ReadDTableX1_Workspace* wksp = (HUF_ReadDTableX1_Workspace*)workSpace; 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 …]
|