Home
last modified time | relevance | path

Searched refs:FSE_FUNCTION_TYPE (Results 1 – 3 of 3) sorted by relevance

/linux/lib/zstd/common/
H A Dfse_decompress.c50 #ifndef FSE_FUNCTION_TYPE
51 # error "FSE_FUNCTION_TYPE must be defined"
83 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; 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()
H A Dfse.h602 #define FSE_FUNCTION_TYPE BYTE macro
/linux/lib/zstd/compress/
H A Dfse_compress.c52 #ifndef FSE_FUNCTION_TYPE
53 # error "FSE_FUNCTION_TYPE must be defined"
66 * wkspSize should be sized to handle worst case situation, which is `1<<max_tableLog * sizeof(FSE_FUNCTION_TYPE)`
67 * workSpace must also be properly aligned with FSE_FUNCTION_TYPE requirements
83 FSE_FUNCTION_TYPE* const tableSymbol = (FSE_FUNCTION_TYPE*)(cumul + (maxSV1+1)); /* size = tableSize */ in FSE_buildCTable_wksp()
107 tableSymbol[highThreshold--] = (FSE_FUNCTION_TYPE)(u-1); in FSE_buildCTable_wksp()
162 tableSymbol[position] = (FSE_FUNCTION_TYPE)symbol; in FSE_buildCTable_wksp()
172 FSE_FUNCTION_TYPE s = tableSymbol[u]; /* note : static analyzer may not understand tableSymbol is properly initialized */ in FSE_buildCTable_wksp()