Home
last modified time | relevance | path

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

/external/zstd/lib/common/
Ddebug.h43 #define DEBUG_STATIC_ASSERT(c) (void)sizeof(char[(c) ? 1 : -1]) macro
Dzstd_internal.h45 #define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c)
Dmem.h419 MEM_STATIC void MEM_check(void) { DEBUG_STATIC_ASSERT((sizeof(size_t)==4) || (sizeof(size_t)==8)); } in MEM_check()
Dbitstream.h206 DEBUG_STATIC_ASSERT(BIT_MASK_SIZE == 32); in BIT_addBits()
Dfse_decompress.c33 #define FSE_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
/external/zstd/lib/decompress/
Dhuf_decompress.c156 DEBUG_STATIC_ASSERT(HUF_DECOMPRESS_WORKSPACE_SIZE >= sizeof(*wksp)); in HUF_readDTableX1_wksp_bmi2()
159 DEBUG_STATIC_ASSERT(sizeof(DTableDesc) == sizeof(HUF_DTable)); in HUF_readDTableX1_wksp_bmi2()
646DEBUG_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(HUF_DTable)); /* if compiler fails here, assert… in HUF_readDTableX2_wksp()
/external/zstd/lib/compress/
Dfse_compress.c694DEBUG_STATIC_ASSERT(sizeof(scratchBuffer) >= FSE_COMPRESS_WKSP_SIZE_U32(FSE_MAX_TABLELOG, FSE_MAX_… in FSE_compress2()
Dhuf_compress.c41 #define HUF_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c) /* use only *after* variable declarations */
/external/zstd/tests/
Dfuzzer.c506 DEBUG_STATIC_ASSERT(sizeof(funcptr_getDictID) == sizeof(voidptr_getDictID)); in basicUnitTests()