Searched refs:tableDecode (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c74 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); local
95 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
144 tableDecode[uPosition].symbol = spread[s + u];
157 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
167 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol);
169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
170 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
/freebsd-13-stable/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c373 ZSTD_seqSymbol* const tableDecode = dt+1; local
395 tableDecode[highThreshold--].baseValue = s;
451 tableDecode[uPosition].baseValue = spread[s + u];
465 tableDecode[position].baseValue = s;
476 U32 const symbol = tableDecode[u].baseValue;
478 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
479 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
481 tableDecode[u].nbAdditionalBits = (BYTE)nbAdditionalBits[symbol];
482 tableDecode[
[all...]
/freebsd-13-stable/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-bits aligned on 32-bits */ local
425 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
441 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
454 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
456 tableDecode[i].nbBits = (BYTE) (tableLog - FSE_highbit32 ((U32)nextState) );
457 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v03.c1105 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; local
1126 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1142 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1155 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1157 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) );
1158 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v04.c1081 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); local
1097 memset(tableDecode, 0, sizeof(FSE_DECODE_TYPE) * (maxSymbolValue+1) ); /* useless init, but keep static analyzer happy, and we don't need to performance optimize legacy decoders */
1103 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1119 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1132 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1134 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) );
1135 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v05.c1217 FSEv05_DECODE_TYPE* const tableDecode = (FSEv05_DECODE_TYPE*) (tdPtr); local
1233 memset(tableDecode, 0, sizeof(FSEv05_FUNCTION_TYPE) * (maxSymbolValue+1) ); /* useless init, but keep static analyzer happy, and we don't need to performance optimize legacy decoders */
1237 tableDecode[highThreshold--].symbol = (FSEv05_FUNCTION_TYPE)s;
1248 tableDecode[position].symbol = (FSEv05_FUNCTION_TYPE)s;
1259 FSEv05_FUNCTION_TYPE symbol = (FSEv05_FUNCTION_TYPE)(tableDecode[i].symbol);
1261 tableDecode[i].nbBits = (BYTE) (tableLog - BITv05_highbit32 ((U32)nextState) );
1262 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v02.c1103 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; local
1125 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1141 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1154 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1156 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) );
1157 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v06.c1465 FSEv06_DECODE_TYPE* const tableDecode = (FSEv06_DECODE_TYPE*) (tdPtr); local
1484 tableDecode[highThreshold--].symbol = (FSEv06_FUNCTION_TYPE)s;
1500 tableDecode[position].symbol = (FSEv06_FUNCTION_TYPE)s;
1511 FSEv06_FUNCTION_TYPE const symbol = (FSEv06_FUNCTION_TYPE)(tableDecode[u].symbol);
1513 tableDecode[u].nbBits = (BYTE) (tableLog - BITv06_highbit32 ((U32)nextState) );
1514 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
H A Dzstd_v07.c1485 FSEv07_DECODE_TYPE* const tableDecode = (FSEv07_DECODE_TYPE*) (tdPtr); local
1504 tableDecode[highThreshold--].symbol = (FSEv07_FUNCTION_TYPE)s;
1520 tableDecode[position].symbol = (FSEv07_FUNCTION_TYPE)s;
1531 FSEv07_FUNCTION_TYPE const symbol = (FSEv07_FUNCTION_TYPE)(tableDecode[u].symbol);
1533 tableDecode[u].nbBits = (BYTE) (tableLog - BITv07_highbit32 ((U32)nextState) );
1534 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
/freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.c2825 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); local
2844 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
2860 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
2870 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol);
2872 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
2873 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
26766 ZSTD_seqSymbol* const tableDecode = dt+1; local
[all...]

Completed in 395 milliseconds