Searched defs:COMPILE_ASSERT (Results 1 - 4 of 4) sorted by relevance
/external/chromium/sdch/open-vcdiff/src/ |
H A D | compile_assert.h | 21 // The COMPILE_ASSERT macro can be used to verify that a compile-time 25 // COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES, 30 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large); 32 // For the second argument to COMPILE_ASSERT, the programmer should supply 39 // is what differentiates COMPILE_ASSERT from Boost static asserts. 45 #define COMPILE_ASSERT(expr, msg) \ macro 49 // Implementation details of COMPILE_ASSERT: 51 // - COMPILE_ASSERT works by defining an array type that has -1 56 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1] 64 // COMPILE_ASSERT(fo [all...] |
/external/skia/src/ports/ |
H A D | SkThread_win.cpp | 29 #define COMPILE_ASSERT(expr, msg) \ macro 45 COMPILE_ASSERT(sizeof(fStorage) > sizeof(CRITICAL_SECTION),
|
/external/webkit/JavaScriptCore/wtf/ |
H A D | Assertions.h | 183 /* FIXME: We include this here only to avoid a conflict with the COMPILE_ASSERT macro. */ 186 /* FIXME: Change to use something other than COMPILE_ASSERT to avoid this conflict with the underlying platform */ 187 #undef COMPILE_ASSERT macro 249 /* COMPILE_ASSERT */ 250 #ifndef COMPILE_ASSERT 251 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] macro
|
/external/chromium/base/ |
H A D | basictypes.h | 188 // The COMPILE_ASSERT macro can be used to verify that a compile time 192 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES, 197 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large); 207 #undef COMPILE_ASSERT macro 208 #define COMPILE_ASSERT(expr, msg) \ macro 211 // Implementation details of COMPILE_ASSERT: 213 // - COMPILE_ASSERT works by defining an array type that has -1 218 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1] 226 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is 240 // COMPILE_ASSERT( [all...] |
Completed in 127 milliseconds