Searched refs:COMPILE_ASSERT (Results 1 - 25 of 537) sorted by relevance

1234567891011>>

/external/chromium_org/base/
H A Dtemplate_util_unittest.cc21 COMPILE_ASSERT(!is_pointer<int>::value, IsPointer);
22 COMPILE_ASSERT(!is_pointer<int&>::value, IsPointer);
23 COMPILE_ASSERT(is_pointer<int*>::value, IsPointer);
24 COMPILE_ASSERT(is_pointer<const int*>::value, IsPointer);
27 COMPILE_ASSERT(!is_array<int>::value, IsArray);
28 COMPILE_ASSERT(!is_array<int*>::value, IsArray);
29 COMPILE_ASSERT(!is_array<int(*)[3]>::value, IsArray);
30 COMPILE_ASSERT(is_array<int[]>::value, IsArray);
31 COMPILE_ASSERT(is_array<const int[]>::value, IsArray);
32 COMPILE_ASSERT(is_arra
[all...]
/external/chromium_org/third_party/cld/encodings/compact_lang_det/generated/
H A Dcld_generated_score_deltaoctachrome_0406.cc380 COMPILE_ASSERT(EXT_NUM_LANGUAGES >= 209, k_ext_num_languages_changed);
H A Dcld_generated_score_quadchrome_0406.cc382 COMPILE_ASSERT(EXT_NUM_LANGUAGES >= 209, k_ext_num_languages_changed);
H A Dcompact_lang_det_generated_longwords8_0.cc21 COMPILE_ASSERT(MONTENEGRIN == 160, k_montenegrin_changed);
22 COMPILE_ASSERT(EXT_NUM_LANGUAGES == 209, k_ext_num_languages_changed);
27 COMPILE_ASSERT(MONTENEGRIN == 160, k_montenegrin_changed);
28 COMPILE_ASSERT(EXT_NUM_LANGUAGES == 209, k_ext_num_languages_changed);
41 COMPILE_ASSERT(1 < (1 << 16), k_indirectbits_too_small);
H A Dcompact_lang_det_generated_cjkbis_0.cc22 COMPILE_ASSERT(MONTENEGRIN == 160, k_montenegrin_changed);
23 COMPILE_ASSERT(EXT_NUM_LANGUAGES == 209, k_ext_num_languages_changed);
36 COMPILE_ASSERT(1 < (1 << 16), k_indirectbits_too_small);
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dcompile_assert_c.h19 // COMPILE_ASSERT(sizeof(foo) < 128);
20 #define COMPILE_ASSERT(expression) switch (0) {case 0: case expression:;} macro
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...]
/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/chromium_org/third_party/WebKit/Source/wtf/
H A DTypeTraits.cpp29 COMPILE_ASSERT(IsInteger<bool>::value, WTF_IsInteger_bool_true);
30 COMPILE_ASSERT(IsInteger<char>::value, WTF_IsInteger_char_true);
31 COMPILE_ASSERT(IsInteger<signed char>::value, WTF_IsInteger_signed_char_true);
32 COMPILE_ASSERT(IsInteger<unsigned char>::value, WTF_IsInteger_unsigned_char_true);
33 COMPILE_ASSERT(IsInteger<short>::value, WTF_IsInteger_short_true);
34 COMPILE_ASSERT(IsInteger<unsigned short>::value, WTF_IsInteger_unsigned_short_true);
35 COMPILE_ASSERT(IsInteger<int>::value, WTF_IsInteger_int_true);
36 COMPILE_ASSERT(IsInteger<unsigned>::value, WTF_IsInteger_unsigned_int_true);
37 COMPILE_ASSERT(IsInteger<long>::value, WTF_IsInteger_long_true);
38 COMPILE_ASSERT(IsIntege
[all...]
H A DSizeLimits.cpp79 COMPILE_ASSERT(sizeof(OwnPtr<int>) == sizeof(int*), OwnPtr_should_stay_small);
80 COMPILE_ASSERT(sizeof(PassRefPtr<RefCounted<int> >) == sizeof(int*), PassRefPtr_should_stay_small);
81 COMPILE_ASSERT(sizeof(RefCounted<int>) == sizeof(SameSizeAsRefCounted), RefCounted_should_stay_small);
82 COMPILE_ASSERT(sizeof(RefPtr<RefCounted<int> >) == sizeof(int*), RefPtr_should_stay_small);
83 COMPILE_ASSERT(sizeof(String) == sizeof(int*), String_should_stay_small);
84 COMPILE_ASSERT(sizeof(AtomicString) == sizeof(String), AtomicString_should_stay_small);
85 COMPILE_ASSERT(sizeof(Vector<int>) == sizeof(SameSizeAsVectorWithInlineCapacity<int>), Vector_should_stay_small);
86 COMPILE_ASSERT(sizeof(Vector<int, 1>) == sizeof(SameSizeAsVectorWithInlineCapacity<int, 1>), Vector_should_stay_small);
87 COMPILE_ASSERT(sizeof(Vector<int, 2>) == sizeof(SameSizeAsVectorWithInlineCapacity<int, 2>), Vector_should_stay_small);
88 COMPILE_ASSERT(sizeo
[all...]
/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/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/content/browser/power_profiler/
H A Dpower_event.cc14 COMPILE_ASSERT(arraysize(kPowerTypeNames) == PowerEvent::ID_COUNT,
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
H A DUnicode.h33 COMPILE_ASSERT(sizeof(UChar) == 2, UCharIsTwoBytes);
/external/chromium_org/sync/api/
H A Dstring_ordinal.h30 COMPILE_ASSERT(StringOrdinal::kZeroDigit == 'a',
32 COMPILE_ASSERT(StringOrdinal::kOneDigit == 'b',
34 COMPILE_ASSERT(StringOrdinal::kMidDigit == 'n',
36 COMPILE_ASSERT(StringOrdinal::kMaxDigit == 'z',
38 COMPILE_ASSERT(StringOrdinal::kMidDigitValue == 13,
40 COMPILE_ASSERT(StringOrdinal::kMaxDigitValue == 25,
42 COMPILE_ASSERT(StringOrdinal::kRadix == 26,
/external/chromium_org/cc/quads/
H A Drender_pass_id.cc10 COMPILE_ASSERT(sizeof(size_t) <= sizeof(void*), // NOLINT
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_api_constants.cc45 COMPILE_ASSERT(SCHEME_MAX == SCHEME_FALLBACK,
47 COMPILE_ASSERT(arraysize(field_name) == SCHEME_MAX + 1,
49 COMPILE_ASSERT(arraysize(scheme_name) == SCHEME_MAX + 1,
51 COMPILE_ASSERT(SCHEME_ALL == 0, singleProxy_must_be_first_option);
/external/chromium_org/ppapi/shared_impl/
H A Did_assignment.cc15 COMPILE_ASSERT(PP_ID_TYPE_COUNT <= (1 << kPPIdTypeBits),
/external/chromium_org/sync/internal_api/public/base/
H A Dnode_ordinal.h27 COMPILE_ASSERT(static_cast<char>(NodeOrdinal::kZeroDigit) == '\x00',
29 COMPILE_ASSERT(static_cast<char>(NodeOrdinal::kOneDigit) == '\x01',
31 COMPILE_ASSERT(static_cast<char>(NodeOrdinal::kMidDigit) == '\x80',
33 COMPILE_ASSERT(static_cast<char>(NodeOrdinal::kMaxDigit) == '\xff',
35 COMPILE_ASSERT(NodeOrdinal::kMidDigitValue == 128,
37 COMPILE_ASSERT(NodeOrdinal::kMaxDigitValue == 255,
39 COMPILE_ASSERT(NodeOrdinal::kRadix == 256,
/external/chromium_org/content/child/appcache/
H A Dappcache_frontend_impl.cc92 COMPILE_ASSERT((int)WebApplicationCacheHost::Uncached ==
94 COMPILE_ASSERT((int)WebApplicationCacheHost::Idle ==
96 COMPILE_ASSERT((int)WebApplicationCacheHost::Checking ==
98 COMPILE_ASSERT((int)WebApplicationCacheHost::Downloading ==
100 COMPILE_ASSERT((int)WebApplicationCacheHost::UpdateReady ==
102 COMPILE_ASSERT((int)WebApplicationCacheHost::Obsolete ==
105 COMPILE_ASSERT((int)WebApplicationCacheHost::CheckingEvent ==
107 COMPILE_ASSERT((int)WebApplicationCacheHost::ErrorEvent ==
109 COMPILE_ASSERT((int)WebApplicationCacheHost::NoUpdateEvent ==
111 COMPILE_ASSERT((in
[all...]
/external/chromium_org/chrome/common/extensions/api/webstore/
H A Dwebstore_api_constants.cc38 COMPILE_ASSERT(arraysize(kInstallResultCodes) ==
/external/chromium_org/net/quic/crypto/
H A Daes_128_gcm_12_decrypter_openssl.cc21 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big);
22 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
H A Daes_128_gcm_12_encrypter_openssl.cc21 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big);
22 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
H A Dchacha20_poly1305_decrypter_openssl.cc21 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big);
22 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
H A Dchacha20_poly1305_encrypter_openssl.cc21 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big);
22 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,

Completed in 700 milliseconds

1234567891011>>