Home
last modified time | relevance | path

Searched refs:FSE_FUNCTION_TYPE (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
H A Dfse_decompress.c77 #ifndef FSE_FUNCTION_TYPE
78 #error "FSE_FUNCTION_TYPE must be defined"
116 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_wksp()
136 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_wksp()
150 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable_wksp()
H A Dfse_compress.c76 #ifndef FSE_FUNCTION_TYPE
77 #error "FSE_FUNCTION_TYPE must be defined"
89 * wkspSize should be sized to handle worst case situation, which is `1<<max_tableLog * sizeof(FSE_FUNCTION_TYPE)`
90 * workSpace must also be properly aligned with FSE_FUNCTION_TYPE requirements
104 FSE_FUNCTION_TYPE *tableSymbol; in FSE_buildCTable_wksp()
109 tableSymbol = (FSE_FUNCTION_TYPE *)((U32 *)workspace + spaceUsed32); in FSE_buildCTable_wksp()
110 spaceUsed32 += ALIGN(sizeof(FSE_FUNCTION_TYPE) * ((size_t)1 << tableLog), sizeof(U32)) >> 2; in FSE_buildCTable_wksp()
131 tableSymbol[highThreshold--] = (FSE_FUNCTION_TYPE)(u - 1); in FSE_buildCTable_wksp()
146 tableSymbol[position] = (FSE_FUNCTION_TYPE)symbol; in FSE_buildCTable_wksp()
161 FSE_FUNCTION_TYPE in FSE_buildCTable_wksp()
[all...]
H A Dfse.h555 #define FSE_FUNCTION_TYPE BYTE macro
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse_decompress.c49 #ifndef FSE_FUNCTION_TYPE
50 # error "FSE_FUNCTION_TYPE must be defined"
95 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
157 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
167 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable_internal()
H A Dfse.h684 #define FSE_FUNCTION_TYPE BYTE macro
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dfse_compress.c50 #ifndef FSE_FUNCTION_TYPE
51 # error "FSE_FUNCTION_TYPE must be defined"
64 * wkspSize should be sized to handle worst case situation, which is `1<<max_tableLog * sizeof(FSE_FUNCTION_TYPE)`
65 * workSpace must also be properly aligned with FSE_FUNCTION_TYPE requirements
81 FSE_FUNCTION_TYPE* const tableSymbol = (FSE_FUNCTION_TYPE*)(cumul + (maxSV1+1)); /* size = tableSize */ in FSE_buildCTable_wksp()
105 tableSymbol[highThreshold--] = (FSE_FUNCTION_TYPE)(u-1); in FSE_buildCTable_wksp()
160 tableSymbol[position] = (FSE_FUNCTION_TYPE)symbol; in FSE_buildCTable_wksp()
170 FSE_FUNCTION_TYPE s = tableSymbol[u]; /* note : static analyzer may not understand tableSymbol is properly initialized */ in FSE_buildCTable_wksp()

Completed in 10 milliseconds