Searched defs:COMPILE_ASSERT (Results 1 - 2 of 2) sorted by relevance

/system/bt/osi/include/
H A Dosi.h38 // base/macros.h defines a COMPILE_ASSERT macro to the C++11 keyword
39 // "static_assert" (it undef's COMPILE_ASSERT before redefining it).
42 #ifndef COMPILE_ASSERT
43 #define COMPILE_ASSERT(COND) \ macro
45 #endif // COMPILE_ASSERT
/system/extras/perfprofd/quipper/base/
H A Dmacros.h140 // The COMPILE_ASSERT macro can be used to verify that a compile time
144 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,
149 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
155 #undef COMPILE_ASSERT macro
156 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) macro
214 COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), VerifySizesAreEqual);

Completed in 543 milliseconds