Home
last modified time | relevance | path

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

/linux/lib/zstd/common/
H A Dfse_decompress.c62 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); in FSE_buildDTable_internal() local
83 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
130 tableDecode[uPosition].symbol = spread[s + u]; in FSE_buildDTable_internal()
143 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
153 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable_internal()
155 tableDecode[u].nbBits = (BYTE) (tableLog - ZSTD_highbit32(nextState) ); in FSE_buildDTable_internal()
156 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_internal()
/linux/lib/zstd/decompress/
H A Dzstd_decompress_block.c491 ZSTD_seqSymbol* const tableDecode = dt+1; in ZSTD_buildFSETable_body() local
513 tableDecode[highThreshold--].baseValue = s; in ZSTD_buildFSETable_body()
570 tableDecode[uPosition].baseValue = spread[s + u]; in ZSTD_buildFSETable_body()
584 tableDecode[position].baseValue = s; in ZSTD_buildFSETable_body()
595 U32 const symbol = tableDecode[u].baseValue; in ZSTD_buildFSETable_body()
597 tableDecode[u].nbBits = (BYTE) (tableLog - ZSTD_highbit32(nextState) ); in ZSTD_buildFSETable_body()
598 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in ZSTD_buildFSETable_body()
600 tableDecode[u].nbAdditionalBits = nbAdditionalBits[symbol]; in ZSTD_buildFSETable_body()
601 tableDecode[u].baseValue = baseValue[symbol]; in ZSTD_buildFSETable_body()