Home | History | Annotate | Download | only in api

Lines Matching refs:SIZE

42    a given number of bytes wide.  The size of the array is designed to be 1
43 (which should always be valid) if the enum's size is SIZE, and otherwise the
44 size of the array will be -1 (which all/most compilers should flag as an
54 SIZE is the expected size in bytes.
56 #define PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, CTYPENAME, SIZE) \
59 ## NAME ## _is_not_ ## SIZE ## \
60 _bytes_wide[(sizeof(CTYPENAME) == SIZE) ? 1 : -1]; }
68 #define PP_COMPILE_ASSERT_SIZE_IN_BYTES(NAME, SIZE) \
69 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, NAME, SIZE)
77 #define PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(NAME, SIZE) \
78 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, struct NAME, SIZE)
86 #define PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(NAME, SIZE) \
87 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, enum NAME, SIZE)