| /src/sys/contrib/zstd/lib/common/ |
| H A D | fse_decompress.c | 60 FSE_DTable* FSE_createDTable (unsigned tableLog) in FSE_createDTable() 63 return (FSE_DTable*)ZSTD_malloc( FSE_DTABLE_SIZE_U32(tableLog) * sizeof (U32) ); in FSE_createDTable() 66 void FSE_freeDTable (FSE_DTable* dt) in FSE_freeDTable() 71 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned max… in FSE_buildDTable_internal() 176 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() 187 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle() 205 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() 234 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic() 296 const FSE_DTable* dt) in FSE_decompress_usingDTable() 315 FSE_DTable dtable[1]; /* Dynamically sized */ [all …]
|
| H A D | fse.h | 246 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef 247 FSE_PUBLIC_API FSE_DTable* FSE_createDTable(unsigned tableLog); 248 FSE_PUBLIC_API void FSE_freeDTable(FSE_DTable* dt); 253 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned max… 260 …singDTable(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt); 313 …_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable)) 347 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned… 350 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits); 353 size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue); 443 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt); [all …]
|
| /src/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | fse_decompress.c | 59 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned max… in FSE_buildDTable_internal() 162 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() 177 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic() 255 size_t const dtablePos = sizeof(FSE_DecompressWksp) / sizeof(FSE_DTable); in FSE_decompress_wksp_body() 256 FSE_DTable* const dtable = (FSE_DTable*)workSpace + dtablePos; in FSE_decompress_wksp_body() 262 FSE_STATIC_ASSERT(sizeof(FSE_DecompressWksp) % sizeof(FSE_DTable) == 0); in FSE_decompress_wksp_body()
|
| H A D | fse.h | 195 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef 246 …_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable)) 270 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned… 358 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt); 518 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState()
|
| /src/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v04.c | 486 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef 493 static size_t FSE_buildDTable ( FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolV… 501 …usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt); 837 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits); 840 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue); 855 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt); 886 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() 1073 static size_t FSE_buildDTable(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolVal… in FSE_buildDTable() 1272 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle() 1290 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() [all …]
|
| H A D | zstd_v01.c | 58 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef 396 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) in FSE_buildDTable() 594 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle() 611 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() 769 static void FSE_initDState(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() 817 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic() 886 const FSE_DTable* dt) in FSE_decompress_usingDTable() 1573 FSE_DTable* DTableLL, FSE_DTable* DTableML, FSE_DTable* DTableOffb, in ZSTDv01_decodeSeqHeaders()
|
| H A D | zstd_v03.c | 606 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef 664 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits); 667 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue); 681 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt); 713 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() 1097 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) in FSE_buildDTable() 1295 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle() 1312 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() 1341 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic() 1410 const FSE_DTable* dt) in FSE_decompress_usingDTable() [all …]
|
| H A D | zstd_v02.c | 604 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef 662 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits); 665 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue); 679 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt); 711 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() 1096 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) in FSE_buildDTable() 1294 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle() 1311 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() 1340 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic() 1409 const FSE_DTable* dt) in FSE_decompress_usingDTable() [all …]
|