/external/chromium_org/third_party/cld/base/ |
H A D | macros.h | 20 // 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/third_party/cld/encodings/compact_lang_det/win/ |
H A D | cld_unicodetext.cc | 75 COMPILE_ASSERT(arraysize(language3) == arraysize(percent3),
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | spinlock.h | 148 #define SpinLockHolder(x) COMPILE_ASSERT(0, spin_lock_decl_missing_var_name)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | sampler.h | 168 COMPILE_ASSERT(sizeof(d) == sizeof(uint64_t), DoubleMustBe64Bits);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | spinlock.h | 148 #define SpinLockHolder(x) COMPILE_ASSERT(0, spin_lock_decl_missing_var_name)
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | sampler.h | 168 COMPILE_ASSERT(sizeof(d) == sizeof(uint64_t), DoubleMustBe64Bits);
|
/external/chromium_org/third_party/webrtc/common_audio/ |
H A D | wav_header_unittest.cc | 75 COMPILE_ASSERT(sizeof(kExpectedBuf) == kSize, buf_size);
|
H A D | wav_header.cc | 29 COMPILE_ASSERT(sizeof(ChunkHeader) == 8, chunk_header_size); 125 COMPILE_ASSERT(sizeof(header) == kWavHeaderSize, no_padding_in_header);
|
H A D | wav_writer_unittest.cc | 57 COMPILE_ASSERT(sizeof(kExpectedContents) == kContentSize, content_size); 101 COMPILE_ASSERT(sizeof(kExpectedContents) == kContentSize, content_size);
|
/external/chromium_org/sync/internal_api/public/base/ |
H A D | ordinal.h | 144 COMPILE_ASSERT(kOneDigit > kZeroDigit, OrdinalOneDigitGreaterThanMinDigit); 145 COMPILE_ASSERT(kMidDigit > kOneDigit, OrdinalMidDigitGreaterThanOneDigit); 146 COMPILE_ASSERT(kMaxDigit > kMidDigit, OrdinalMaxDigitGreaterThanMidDigit); 147 COMPILE_ASSERT(kMinLength > 0, OrdinalMinLengthIsPositive); 148 COMPILE_ASSERT(kMidDigitValue > 1, OrdinalMidDigitValueGreaterThanOne); 149 COMPILE_ASSERT(kMaxDigitValue > kMidDigitValue, 151 COMPILE_ASSERT(kRadix == kMaxDigitValue + 1,
|
/external/chromium_org/chrome/common/mac/ |
H A D | mock_launchd.cc | 132 COMPILE_ASSERT(arraysize(keys) == arraysize(values), array_sizes_must_match); 158 COMPILE_ASSERT(arraysize(keys) == arraysize(values), array_sizes_must_match); 180 COMPILE_ASSERT(arraysize(keys) == arraysize(values), 233 COMPILE_ASSERT(arraysize(socket_keys) == arraysize(socket_values), 244 COMPILE_ASSERT(arraysize(keys) == arraysize(values), array_sizes_must_match);
|
/external/chromium_org/content/child/ |
H A D | browser_font_resource_trusted.cc | 147 COMPILE_ASSERT(static_cast<int>(WebFontDescription::Weight100) == 150 COMPILE_ASSERT(static_cast<int>(WebFontDescription::Weight900) == 153 COMPILE_ASSERT(WebFontDescription::GenericFamilyStandard == 156 COMPILE_ASSERT(WebFontDescription::GenericFamilySerif == 159 COMPILE_ASSERT(WebFontDescription::GenericFamilySansSerif == 162 COMPILE_ASSERT(WebFontDescription::GenericFamilyMonospace ==
|
/external/chromium_org/chrome/installer/util/ |
H A D | util_constants.h | 98 // Friendly reminder: note the COMPILE_ASSERT below. 103 COMPILE_ASSERT(installer::UNPACKING_FAILED == 57, 144 COMPILE_ASSERT(UNINSTALLING_CHROME_FRAME == 20,
|
/external/chromium_org/net/quic/crypto/ |
H A D | aes_128_gcm_12_decrypter_nss.cc | 213 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big); 214 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
|
H A D | aes_128_gcm_12_encrypter_nss.cc | 212 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big); 213 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
|
/external/chromium_org/remoting/host/ |
H A D | fake_desktop_capturer.cc | 24 COMPILE_ASSERT(kBoxWidth < kWidth && kBoxHeight < kHeight, bad_box_size); 25 COMPILE_ASSERT((kBoxWidth % kSpeed == 0) && (kWidth % kSpeed == 0) &&
|
/external/chromium_org/sandbox/win/src/ |
H A D | policy_engine_opcodes.h | 156 COMPILE_ASSERT(sizeof(T) <= sizeof(arguments_[0]), invalid_size); 164 COMPILE_ASSERT(sizeof(T) <= sizeof(arguments_[0]), invalid_size);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | WorkerGlobalScopeFileSystem.cpp | 127 COMPILE_ASSERT(static_cast<int>(WorkerGlobalScopeFileSystem::TEMPORARY) == static_cast<int>(FileSystemTypeTemporary), enum_mismatch); 128 COMPILE_ASSERT(static_cast<int>(WorkerGlobalScopeFileSystem::PERSISTENT) == static_cast<int>(FileSystemTypePersistent), enum_mismatch);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebPrivatePtr.h | 141 COMPILE_ASSERT(sizeof(PtrStorage) == sizeof(void*), PtrStorage_must_be_pointer_size); 147 COMPILE_ASSERT(sizeof(PtrStorage) == sizeof(void*), PtrStorage_must_be_pointer_size);
|
/external/chromium_org/ui/aura/ |
H A D | window_property.h | 120 COMPILE_ASSERT(sizeof(TYPE) <= sizeof(int64), property_type_too_large); \ 127 COMPILE_ASSERT(sizeof(TYPE) <= sizeof(int64), property_type_too_large); \
|
/external/chromium_org/content/renderer/ |
H A D | render_widget.cc | 1883 COMPILE_ASSERT(int(blink::WebTextInputTypeNone) == \ 1885 COMPILE_ASSERT(int(blink::WebTextInputTypeText) == \ 1887 COMPILE_ASSERT(int(blink::WebTextInputTypePassword) == \ 1889 COMPILE_ASSERT(int(blink::WebTextInputTypeSearch) == \ 1891 COMPILE_ASSERT(int(blink::WebTextInputTypeEmail) == \ 1893 COMPILE_ASSERT(int(blink::WebTextInputTypeNumber) == \ 1895 COMPILE_ASSERT(int(blink::WebTextInputTypeTelephone) == \ 1897 COMPILE_ASSERT(int(blink::WebTextInputTypeURL) == \ 1899 COMPILE_ASSERT(int(blink::WebTextInputTypeDate) == \ 1901 COMPILE_ASSERT(in [all...] |
/external/chromium_org/base/json/ |
H A D | json_reader.cc | 13 COMPILE_ASSERT(JSONReader::JSON_PARSE_ERROR_COUNT < 1000,
|
/external/chromium_org/chrome/browser/diagnostics/ |
H A D | diagnostics_metrics.cc | 56 COMPILE_ASSERT(arraysize(kTestNameInfo) == DIAGNOSTICS_TEST_ID_COUNT,
|
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
H A D | typed_urls_sync_perf_test.cc | 24 COMPILE_ASSERT(
|
/external/chromium_org/components/proximity_auth/ |
H A D | wire_message.cc | 44 COMPILE_ASSERT(kHeaderLength > 2, header_length_too_small);
|