/linux/lib/zstd/common/ |
A D | huf.h | 95 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); 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); 315 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspSi… 324 …x, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); 347 …st, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int bmi2); 350 …st, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int bmi2); [all …]
|
A D | fse_decompress.c | 83 …if (FSE_BUILD_DTABLE_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(maxSymbolValue_t… in FSE_buildDTable_internal() 178 …urn FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSize); 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 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() 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 …eturn 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 …* 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/lib/zstd/decompress/ |
A D | huf_decompress.c | 157 if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge); in HUF_readDTableX1_wksp_bmi2() 536 assert(wkspSize >= HUF_TABLELOG_MAX + 1); in HUF_fillDTableX2Level2() 537 (void)wkspSize; in HUF_fillDTableX2Level2() 581 assert(wkspSize >= HUF_TABLELOG_MAX + 1); in HUF_fillDTableX2() 583 wkspSize -= HUF_TABLELOG_MAX + 1; in HUF_fillDTableX2() 628 void* workSpace, size_t wkspSize) in HUF_readDTableX2_wksp() argument 640 if (sizeof(*wksp) > wkspSize) return ERROR(GENERIC); in HUF_readDTableX2_wksp() 964 workSpace, wkspSize); in HUF_decompress4X2_DCtx_wksp_bmi2() 1083 size_t wkspSize) in HUF_decompress4X_hufOnly_wksp() argument 1100 cSrcSize, workSpace, wkspSize): in HUF_decompress4X_hufOnly_wksp() [all …]
|
A D | zstd_decompress_block.c | 371 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 …]
|
A D | zstd_decompress_block.h | 58 unsigned tableLog, void* wksp, size_t wkspSize,
|
/linux/lib/zstd/compress/ |
A D | zstd_compress_superblock.c | 69 BYTE* const wkspEnd = wkspStart + wkspSize; in ZSTD_buildSuperBlockEntropy_literal() 172 BYTE* const wkspEnd = wkspStart + wkspSize; in ZSTD_buildSuperBlockEntropy_sequences() 192 ZSTD_memset(workspace, 0, wkspSize); in ZSTD_buildSuperBlockEntropy_sequences() 280 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy() argument 289 workspace, wkspSize); in ZSTD_buildSuperBlockEntropy() 296 workspace, wkspSize); in ZSTD_buildSuperBlockEntropy() 610 void* workspace, size_t wkspSize) in ZSTD_estimateSubBlockSize_symbolType() argument 654 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 658 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 662 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() [all …]
|
A D | huf_compress.c | 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() 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 85 …if (FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) > wkspSize) return ERROR(tableLog_to… in FSE_buildCTable_wksp()
|