Searched defs:COMPILE_ASSERT (Results 1 - 18 of 18) sorted by last modified time

/external/webrtc/src/system_wrappers/interface/
H A Dcompile_assert.h17 * COMPILE_ASSERT(sizeof(foo) < 128);
19 #define COMPILE_ASSERT(expression) switch(0){case 0: case expression:;} macro
/external/regex-re2/util/
H A Dutil.h80 // COMPILE_ASSERT causes a compile error about msg if expr is not true.
82 #define COMPILE_ASSERT(expr, msg) \ macro
/external/chromium_org/v8/src/base/
H A Dmacros.h107 // The COMPILE_ASSERT macro can be used to verify that a compile time
111 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,
116 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
124 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) macro
131 #define COMPILE_ASSERT(expr, msg) \ macro
135 // Implementation details of COMPILE_ASSERT:
137 // - COMPILE_ASSERT works by defining an array type that has -1
142 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
150 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is
164 // COMPILE_ASSERT(
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dcompile_assert.h16 // The COMPILE_ASSERT macro can be used to verify that a compile time
20 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,
25 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
33 #if !defined(COMPILE_ASSERT)
36 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) macro
43 #define COMPILE_ASSERT(expr, msg) \ macro
47 #endif // !defined(COMPILE_ASSERT)
49 // Implementation details of COMPILE_ASSERT:
51 // - COMPILE_ASSERT works by defining an array type that has -1
56 // #define COMPILE_ASSERT(exp
[all...]
H A Dcompile_assert_c.h19 // COMPILE_ASSERT(sizeof(foo) < 128);
20 #define COMPILE_ASSERT(expression) switch (0) {case 0: case expression:;} macro
/external/chromium_org/tools/gyp/test/win/compiler-flags/
H A Ddefault-char-is-unsigned.cc9 #define COMPILE_ASSERT(expr, msg) \ macro
13 COMPILE_ASSERT(char(-1) > 0, default_char_is_unsigned);
/external/chromium_org/third_party/webrtc/base/
H A Dcompile_assert.h11 // COMPILE_ASSERT macro, borrowed from google3/base/macros.h.
15 // The COMPILE_ASSERT macro can be used to verify that a compile time
19 // COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES,
24 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
32 #if !defined(COMPILE_ASSERT)
37 #define COMPILE_ASSERT(expr, msg) \ macro
39 #endif // COMPILE_ASSERT
41 // Implementation details of COMPILE_ASSERT:
43 // - COMPILE_ASSERT works by defining an array type that has -1
48 // #define COMPILE_ASSERT(exp
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/
H A Dbasictypes.h177 // The COMPILE_ASSERT macro can be used to verify that a compile time
181 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,
186 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
196 #if !defined(COMPILE_ASSERT)
197 #define COMPILE_ASSERT(expr, msg) \ macro
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/
H A Dbasictypes.h188 // 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 #if !defined(COMPILE_ASSERT)
208 #define COMPILE_ASSERT(expr, msg) \ macro
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DAssertions.h300 /* COMPILE_ASSERT */
301 #ifndef COMPILE_ASSERT
304 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name) macro
306 #define COMPILE_ASSERT(exp, name) static_assert((exp), #name)
308 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
/external/chromium_org/third_party/re2/util/
H A Dutil.h81 // COMPILE_ASSERT causes a compile error about msg if expr is not true.
83 #define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) macro
86 #define COMPILE_ASSERT(expr, msg) \ macro
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dbasictypes.h128 // The COMPILE_ASSERT macro can be used to verify that a compile time
132 // COMPILE_ASSERT(sizeof(num_content_type_names) == sizeof(int),
137 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
143 // Implementation details of COMPILE_ASSERT:
145 // - COMPILE_ASSERT works by defining an array type that has -1
150 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
158 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is
172 // COMPILE_ASSERT(5 > 0, some_message);
188 #define COMPILE_ASSERT(expr, msg) \ macro
213 COMPILE_ASSERT(sizeo
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dbasictypes.h128 // The COMPILE_ASSERT macro can be used to verify that a compile time
132 // COMPILE_ASSERT(sizeof(num_content_type_names) == sizeof(int),
137 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
143 // Implementation details of COMPILE_ASSERT:
145 // - COMPILE_ASSERT works by defining an array type that has -1
150 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
158 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is
172 // COMPILE_ASSERT(5 > 0, some_message);
188 #define COMPILE_ASSERT(expr, msg) \ macro
213 COMPILE_ASSERT(sizeo
[all...]
/external/chromium_org/third_party/cld/base/
H A Dbasictypes.h188 // 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...]
H A Dmacros.h20 // The COMPILE_ASSERT macro can be used to verify that a compile time
24 // COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES,
29 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
35 #define COMPILE_ASSERT(expr, msg) \ macro
38 // Implementation details of COMPILE_ASSERT:
40 // - COMPILE_ASSERT works by defining an array type that has -1
45 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
53 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is
67 // COMPILE_ASSERT(5 > 0, some_message);
/external/chromium_org/components/nacl/loader/
H A Dnacl_ipc_adapter.cc389 COMPILE_ASSERT(IPC::Channel::kMaximumMessageSize < (UINT_MAX / 2), function
/external/chromium_org/chrome/installer/mini_installer/
H A Dmini_string.h8 #ifndef COMPILE_ASSERT
9 // COMPILE_ASSERT macro borrowed from basictypes.h
12 #define COMPILE_ASSERT(expr, msg) \ macro
75 COMPILE_ASSERT(kCapacity != 0, invalid_buffer_size);
/external/chromium_org/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 670 milliseconds