Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c96 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); in FSE_buildDTable() local
115 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
131 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
141 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable()
143 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable()
144 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable()
/freebsd-12.1/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c404 …FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)(ptr) + 1; /* because dt is unsigned, 32-… in FSE_buildDTable() local
425 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
441 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
454 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
456 tableDecode[i].nbBits = (BYTE) (tableLog - FSE_highbit32 ((U32)nextState) ); in FSE_buildDTable()
457 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
H A Dzstd_v03.c1090 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; in FSE_buildDTable() local
1111 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1127 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1140 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
1142 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1143 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
H A Dzstd_v02.c1088 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; in FSE_buildDTable() local
1110 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1126 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1139 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
1141 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1142 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
H A Dzstd_v04.c1129 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); in FSE_buildDTable() local
1150 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1166 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1179 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
1181 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1182 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
H A Dzstd_v06.c1461 FSEv06_DECODE_TYPE* const tableDecode = (FSEv06_DECODE_TYPE*) (tdPtr); in FSEv06_buildDTable() local
1480 tableDecode[highThreshold--].symbol = (FSEv06_FUNCTION_TYPE)s; in FSEv06_buildDTable()
1496 tableDecode[position].symbol = (FSEv06_FUNCTION_TYPE)s; in FSEv06_buildDTable()
1507 FSEv06_FUNCTION_TYPE const symbol = (FSEv06_FUNCTION_TYPE)(tableDecode[u].symbol); in FSEv06_buildDTable()
1509 tableDecode[u].nbBits = (BYTE) (tableLog - BITv06_highbit32 ((U32)nextState) ); in FSEv06_buildDTable()
1510 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv06_buildDTable()
H A Dzstd_v05.c1211 FSEv05_DECODE_TYPE* const tableDecode = (FSEv05_DECODE_TYPE*) (tdPtr); in FSEv05_buildDTable() local
1230 tableDecode[highThreshold--].symbol = (FSEv05_FUNCTION_TYPE)s; in FSEv05_buildDTable()
1241 tableDecode[position].symbol = (FSEv05_FUNCTION_TYPE)s; in FSEv05_buildDTable()
1252 FSEv05_FUNCTION_TYPE symbol = (FSEv05_FUNCTION_TYPE)(tableDecode[i].symbol); in FSEv05_buildDTable()
1254 tableDecode[i].nbBits = (BYTE) (tableLog - BITv05_highbit32 ((U32)nextState) ); in FSEv05_buildDTable()
1255 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSEv05_buildDTable()
H A Dzstd_v07.c1481 FSEv07_DECODE_TYPE* const tableDecode = (FSEv07_DECODE_TYPE*) (tdPtr); in FSEv07_buildDTable() local
1500 tableDecode[highThreshold--].symbol = (FSEv07_FUNCTION_TYPE)s; in FSEv07_buildDTable()
1516 tableDecode[position].symbol = (FSEv07_FUNCTION_TYPE)s; in FSEv07_buildDTable()
1527 FSEv07_FUNCTION_TYPE const symbol = (FSEv07_FUNCTION_TYPE)(tableDecode[u].symbol); in FSEv07_buildDTable()
1529 tableDecode[u].nbBits = (BYTE) (tableLog - BITv07_highbit32 ((U32)nextState) ); in FSEv07_buildDTable()
1530 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv07_buildDTable()
/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c809 ZSTD_seqSymbol* const tableDecode = dt+1; in ZSTD_buildFSETable() local
828 tableDecode[highThreshold--].baseValue = s; in ZSTD_buildFSETable()
844 tableDecode[position].baseValue = s; in ZSTD_buildFSETable()
854 U32 const symbol = tableDecode[u].baseValue; in ZSTD_buildFSETable()
856 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable()
857 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in ZSTD_buildFSETable()
859 tableDecode[u].nbAdditionalBits = (BYTE)nbAdditionalBits[symbol]; in ZSTD_buildFSETable()
860 tableDecode[u].baseValue = baseValue[symbol]; in ZSTD_buildFSETable()