Home
last modified time | relevance | path

Searched refs:DEBUG_STATIC_ASSERT (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/lib/zstd/common/
Ddebug.h40 #define DEBUG_STATIC_ASSERT(c) (void)sizeof(char[(c) ? 1 : -1]) macro
Dfse_decompress.c33 #define FSE_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
331 DEBUG_STATIC_ASSERT((FSE_MAX_SYMBOL_VALUE + 1) % 2 == 0); in FSE_decompress_wksp_body()
Dzstd_internal.h38 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c)
Dbitstream.h187 DEBUG_STATIC_ASSERT(BIT_MASK_SIZE == 32); in BIT_addBits()
/linux-6.6.21/lib/zstd/decompress/
Dhuf_decompress.c347 DEBUG_STATIC_ASSERT(HUF_DECOMPRESS_WORKSPACE_SIZE >= sizeof(*wksp)); in HUF_readDTableX1_wksp_bmi2()
350 DEBUG_STATIC_ASSERT(sizeof(DTableDesc) == sizeof(HUF_DTable)); in HUF_readDTableX1_wksp_bmi2()
826 DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, sequence) == 0); in HUF_buildDEltX2U32()
827 DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, nbBits) == 2); in HUF_buildDEltX2U32()
828 DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, length) == 3); in HUF_buildDEltX2U32()
829 DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(U32)); in HUF_buildDEltX2U32()
846 DEBUG_STATIC_ASSERT(sizeof(DElt) == sizeof(val)); in HUF_buildDEltX2()
1068DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(HUF_DTable)); /* if compiler fails here, assert… in HUF_readDTableX2_wksp_bmi2()
/linux-6.6.21/lib/zstd/compress/
Dhuf_compress.c38 #define HUF_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
1208 DEBUG_STATIC_ASSERT(SUSPECT_INCOMPRESSIBLE_SAMPLE_RATIO >= 2); in HUF_compress_internal()