Searched refs:DEBUG_STATIC_ASSERT (Results 1 – 14 of 14) sorted by relevance
43 #define DEBUG_STATIC_ASSERT(c) (void)sizeof(char[(c) ? 1 : -1]) macro
33 #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()
48 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c)
212 DEBUG_STATIC_ASSERT(BIT_MASK_SIZE == 32); in BIT_addBits()
435 MEM_STATIC void MEM_check(void) { DEBUG_STATIC_ASSERT((sizeof(size_t)==4) || (sizeof(size_t)==8)); } in MEM_check()
32 #define FSE_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
45 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c)
351 DEBUG_STATIC_ASSERT(HUF_DECOMPRESS_WORKSPACE_SIZE >= sizeof(*wksp)); in HUF_readDTableX1_wksp_bmi2()354 DEBUG_STATIC_ASSERT(sizeof(DTableDesc) == sizeof(HUF_DTable)); in HUF_readDTableX1_wksp_bmi2()830 DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, sequence) == 0); in HUF_buildDEltX2U32()831 DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, nbBits) == 2); in HUF_buildDEltX2U32()832 DEBUG_STATIC_ASSERT(offsetof(HUF_DEltX2, length) == 3); in HUF_buildDEltX2U32()833 DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(U32)); in HUF_buildDEltX2U32()850 DEBUG_STATIC_ASSERT(sizeof(DElt) == sizeof(val)); in HUF_buildDEltX2()1072 …DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(HUF_DTable)); /* if compiler fails here, assert… in HUF_readDTableX2_wksp_bmi2()
41 #define HUF_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */1211 DEBUG_STATIC_ASSERT(SUSPECT_INCOMPRESSIBLE_SAMPLE_RATIO >= 2); in HUF_compress_internal()
730 …DEBUG_STATIC_ASSERT(sizeof(scratchBuffer) >= FSE_COMPRESS_WKSP_SIZE_U32(FSE_MAX_TABLELOG, FSE_MAX_… in FSE_compress2()
687 …DEBUG_STATIC_ASSERT(sizeof(scratchBuffer) >= FSE_WKSP_SIZE_U32(FSE_MAX_TABLELOG, FSE_MAX_SYMBOL_VA… in FSE_compress2()
42 #define HUF_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
137 DEBUG_STATIC_ASSERT(sizeof(DTableDesc) == sizeof(HUF_DTable)); in HUF_readDTableX1_wksp()586 …DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(HUF_DTable)); /* if compiler fails here, assert… in HUF_readDTableX2_wksp()