Searched defs:COMPILE_ASSERT (Results 1 - 5 of 5) 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/regex-re2/util/ |
H A D | util.h | 75 // COMPILE_ASSERT causes a compile error about msg if expr is not true. 77 #define COMPILE_ASSERT(expr, msg) \ macro
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | Assertions.h | 228 /* FIXME: We include this here only to avoid a conflict with the COMPILE_ASSERT macro. */ 231 /* FIXME: Change to use something other than COMPILE_ASSERT to avoid this conflict with the underlying platform */ 232 #undef COMPILE_ASSERT macro 301 /* COMPILE_ASSERT */ 302 #ifndef COMPILE_ASSERT 303 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] macro
|
/external/chromium/base/ |
H A D | basictypes.h | 196 // The COMPILE_ASSERT macro can be used to verify that a compile time 200 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES, 205 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large); 215 #undef COMPILE_ASSERT macro 216 #define COMPILE_ASSERT(expr, msg) \ macro 219 // Implementation details of COMPILE_ASSERT: 221 // - COMPILE_ASSERT works by defining an array type that has -1 226 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1] 234 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is 248 // COMPILE_ASSERT( [all...] |
/external/webkit/Source/JavaScriptCore/parser/ |
H A D | JSParser.cpp | 69 COMPILE_ASSERT(LastUntaggedToken < 64, LessThan64UntaggedTokens); function in namespace:JSC
|
Completed in 146 milliseconds