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

  /external/chromium/sdch/open-vcdiff/src/
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) \
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(foo, msg); // not supposed to compile as foo i
    [all...]
  /external/skia/src/ports/
SkThread_win.cpp 29 #define COMPILE_ASSERT(expr, msg) \
45 COMPILE_ASSERT(sizeof(fStorage) > sizeof(CRITICAL_SECTION),
  /external/webkit/JavaScriptCore/wtf/
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
249 /* COMPILE_ASSERT */
250 #ifndef COMPILE_ASSERT
251 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
  /external/chromium/base/
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
208 #define COMPILE_ASSERT(expr, msg) \
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(5 > 0, some_message)
    [all...]

Completed in 70 milliseconds