Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/contrib/zstd/lib/common/
HDfse_decompress.c60 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 …]
HDfse.h246 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 …]
/freebsd-14-stable/sys/contrib/openzfs/module/zstd/lib/common/
HDfse.h233 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
234 FSE_PUBLIC_API FSE_DTable* FSE_createDTable(unsigned tableLog);
235 FSE_PUBLIC_API void FSE_freeDTable(FSE_DTable* dt);
240 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned max…
247 …singDTable(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
300 …_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable))
329 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
332 size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
335 …wksp(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, FSE_DTable* workSpace, unsi…
417 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
[all …]
HDfse_decompress.c59 size_t FSE_buildDTable(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, uns… in FSE_buildDTable()
122 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
140 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
169 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
231 const FSE_DTable* dt) in FSE_decompress_usingDTable()
243 …wksp(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, FSE_DTable* workSpace, unsi… in FSE_decompress_wksp()
265 typedef FSE_DTable DTable_max_t[FSE_DTABLE_SIZE_U32(FSE_MAX_TABLELOG)];
HDentropy_common.c180FSE_DTable fseWorkspace[FSE_DTABLE_SIZE_U32(6)]; /* 6 is max possible tableLog for HUF header (ma… in HUF_readStats()
/freebsd-14-stable/sys/contrib/zstd/lib/legacy/
HDzstd_v04.c486 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 …]
HDzstd_v01.c58 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()
HDzstd_v03.c606 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 …]
HDzstd_v02.c604 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 …]