HomeSort by relevance Sort by last modified time
    Searched defs:STATIC_ASSERT (Results 1 - 15 of 15) sorted by null

  /ndk/tests/build/wchar_t-size/jni/
test_8bit.c 16 #define STATIC_ASSERT(condition) \
20 STATIC_ASSERT(sizeof(__WCHAR_TYPE__) == 1);
21 STATIC_ASSERT(sizeof(wchar_t) == 1);
23 STATIC_ASSERT(sizeof(__WCHAR_TYPE__) == 4);
24 STATIC_ASSERT(sizeof(wchar_t) == 4);
29 STATIC_ASSERT(WCHAR_MIN == 0x80000000);
30 STATIC_ASSERT(WCHAR_MAX == 0x7fffffff);
test_8bit_cplusplus.cpp 16 #define STATIC_ASSERT(condition) \
20 STATIC_ASSERT(sizeof(__WCHAR_TYPE__) == 1);
22 STATIC_ASSERT(sizeof(__WCHAR_TYPE__) == 4);
27 STATIC_ASSERT(sizeof(wchar_t) == 4);
33 STATIC_ASSERT(WCHAR_MIN == 0);
34 STATIC_ASSERT(WCHAR_MAX == 255);
36 STATIC_ASSERT(WCHAR_MIN == 0x80000000);
37 STATIC_ASSERT(WCHAR_MAX == 0x7fffffff);
test_always_signed.c 14 #define STATIC_ASSERT(condition) \
17 STATIC_ASSERT(sizeof(wchar_t) == 4);
19 STATIC_ASSERT(WCHAR_MIN == -1-2147483647);
20 STATIC_ASSERT(WCHAR_MAX == 2147483647);
test_default.c 12 #define STATIC_ASSERT(condition) \
15 STATIC_ASSERT(sizeof(wchar_t) == 4);
18 STATIC_ASSERT(WCHAR_MIN == 0U);
19 STATIC_ASSERT(WCHAR_MAX == 2*2147483647U + 1U);
21 STATIC_ASSERT(WCHAR_MIN == -1-2147483647);
22 STATIC_ASSERT(WCHAR_MAX == 2147483647);
test_8bit_cplusplus_stdc_limit_macros.cpp 18 #define STATIC_ASSERT(condition) \
22 STATIC_ASSERT(sizeof(__WCHAR_TYPE__) == 1);
24 STATIC_ASSERT(sizeof(__WCHAR_TYPE__) == 4);
29 STATIC_ASSERT(sizeof(wchar_t) == 4);
33 STATIC_ASSERT(WCHAR_MIN == 0x80000000);
34 STATIC_ASSERT(WCHAR_MAX == 0x7fffffff);
  /external/libdrm/
libdrm.h 40 #define STATIC_ASSERT(COND) \
79 STATIC_ASSERT(LARGE_OFF_T % 2147483629 == 721 &&
  /external/mesa3d/src/gallium/include/pipe/
p_compiler.h 320 #define STATIC_ASSERT(COND) \
  /external/valgrind/VEX/priv/
main_util.h 54 #define STATIC_ASSERT(x) extern int vex__unused_array[(x) ? 1 : -1] \
  /external/v8/src/base/
macros.h 123 // Under C++11, just use static_assert.
124 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg)
291 // Use C++11 static_assert if possible, which gives error
294 #define STATIC_ASSERT(test) static_assert(test, #test)
311 #define STATIC_ASSERT(test) \
  /external/mesa3d/src/mesa/main/
compiler.h 316 #define STATIC_ASSERT(COND) \
  /external/valgrind/include/
pub_tool_basics.h 373 #define STATIC_ASSERT(x) extern int VG_(VG_(VG_(unused)))[(x) ? 1 : -1] \
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/
bcmdefs.h 37 #define STATIC_ASSERT(expr) { \
  /external/nanopb-c/
pb.h 106 * If this does not work properly on your compiler, use #define STATIC_ASSERT
112 * in the place where the STATIC_ASSERT macro was called.
114 #ifndef STATIC_ASSERT
115 #define STATIC_ASSERT(COND,MSG) typedef char STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1];
231 STATIC_ASSERT(sizeof(int8_t) == 1, INT8_T_WRONG_SIZE)
232 STATIC_ASSERT(sizeof(uint8_t) == 1, UINT8_T_WRONG_SIZE)
233 STATIC_ASSERT(sizeof(int16_t) == 2, INT16_T_WRONG_SIZE)
234 STATIC_ASSERT(sizeof(uint16_t) == 2, UINT16_T_WRONG_SIZE)
235 STATIC_ASSERT(sizeof(int32_t) == 4, INT32_T_WRONG_SIZE)
236 STATIC_ASSERT(sizeof(uint32_t) == 4, UINT32_T_WRONG_SIZE
    [all...]
  /external/valgrind/none/tests/ppc64/
test_isa_2_07_part1.c 116 #define STATIC_ASSERT(e) sizeof(struct { int:-!(e); })
147 compile_time_test1 = STATIC_ASSERT(sizeof(uint32_t) == 4),
148 compile_time_test2 = STATIC_ASSERT(sizeof(uint64_t) == 8),
    [all...]
  /external/valgrind/none/tests/ppc32/
jm-insns.c 173 #define STATIC_ASSERT(e) sizeof(struct { int:-!(e); })
194 compile_time_test1 = STATIC_ASSERT(sizeof(uint32_t) == 4),
195 compile_time_test2 = STATIC_ASSERT(sizeof(uint64_t) == 8),
    [all...]

Completed in 766 milliseconds