/linux/lib/zstd/compress/ |
A 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()
|
A D | hist.h | 48 void* workSpace, size_t workSpaceSize); 64 void* workSpace, size_t workSpaceSize);
|
A D | huf_compress.c | 510 …* 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 …]
|
A D | fse_compress.c | 69 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/lib/zstd/common/ |
A D | huf.h | 95 void* workSpace, size_t wkspSize); 167 …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,… 315 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspSi… 324 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 347 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 350 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… [all …]
|
A D | fse_decompress.c | 75 U16* symbolNext = (U16*)workSpace; in FSE_buildDTable_internal() 178 …return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSi… in FSE_buildDTable_wksp() 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() 364 … return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 0); in FSE_decompress_wksp_body_default() 370 … return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 1); in FSE_decompress_wksp_body_bmi2() 378 …return FSE_decompress_wksp_body_bmi2(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize… in FSE_decompress_wksp_bmi2() [all …]
|
A 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()
|
A D | fse.h | 325 … 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/lib/zstd/decompress/ |
A D | huf_decompress.c | 466 void* workSpace, size_t wkspSize) in HUF_decompress1X1_DCtx_wksp() argument 505 void* workSpace, size_t wkspSize) in HUF_decompress4X1_DCtx_wksp() argument 628 void* workSpace, size_t wkspSize) in HUF_readDTableX2_wksp() argument 933 void* workSpace, size_t wkspSize) in HUF_decompress1X2_DCtx_wksp() argument 964 workSpace, wkspSize); in HUF_decompress4X2_DCtx_wksp_bmi2() 1100 cSrcSize, workSpace, wkspSize): in HUF_decompress4X_hufOnly_wksp() 1108 void* workSpace, size_t wkspSize) in HUF_decompress1X_DCtx_wksp() argument 1121 cSrcSize, workSpace, wkspSize); in HUF_decompress1X_DCtx_wksp() 1126 cSrcSize, workSpace, wkspSize); in HUF_decompress1X_DCtx_wksp() 1129 cSrcSize, workSpace, wkspSize): in HUF_decompress1X_DCtx_wksp() [all …]
|