Searched refs:COMPILE_ASSERT (Results 151 - 175 of 537) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/cld/base/
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/third_party/cld/encodings/compact_lang_det/win/
H A Dcld_unicodetext.cc75 COMPILE_ASSERT(arraysize(language3) == arraysize(percent3),
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dspinlock.h148 #define SpinLockHolder(x) COMPILE_ASSERT(0, spin_lock_decl_missing_var_name)
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dsampler.h168 COMPILE_ASSERT(sizeof(d) == sizeof(uint64_t), DoubleMustBe64Bits);
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dspinlock.h148 #define SpinLockHolder(x) COMPILE_ASSERT(0, spin_lock_decl_missing_var_name)
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dsampler.h168 COMPILE_ASSERT(sizeof(d) == sizeof(uint64_t), DoubleMustBe64Bits);
/external/chromium_org/third_party/webrtc/common_audio/
H A Dwav_header_unittest.cc75 COMPILE_ASSERT(sizeof(kExpectedBuf) == kSize, buf_size);
H A Dwav_header.cc29 COMPILE_ASSERT(sizeof(ChunkHeader) == 8, chunk_header_size);
125 COMPILE_ASSERT(sizeof(header) == kWavHeaderSize, no_padding_in_header);
H A Dwav_writer_unittest.cc57 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 Dordinal.h144 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 Dmock_launchd.cc132 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 Dbrowser_font_resource_trusted.cc147 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 Dutil_constants.h98 // 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 Daes_128_gcm_12_decrypter_nss.cc213 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big);
214 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
H A Daes_128_gcm_12_encrypter_nss.cc212 COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big);
213 COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize,
/external/chromium_org/remoting/host/
H A Dfake_desktop_capturer.cc24 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 Dpolicy_engine_opcodes.h156 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 DWorkerGlobalScopeFileSystem.cpp127 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 DWebPrivatePtr.h141 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 Dwindow_property.h120 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 Drender_widget.cc1883 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 Djson_reader.cc13 COMPILE_ASSERT(JSONReader::JSON_PARSE_ERROR_COUNT < 1000,
/external/chromium_org/chrome/browser/diagnostics/
H A Ddiagnostics_metrics.cc56 COMPILE_ASSERT(arraysize(kTestNameInfo) == DIAGNOSTICS_TEST_ID_COUNT,
/external/chromium_org/chrome/browser/sync/test/integration/performance/
H A Dtyped_urls_sync_perf_test.cc24 COMPILE_ASSERT(
/external/chromium_org/components/proximity_auth/
H A Dwire_message.cc44 COMPILE_ASSERT(kHeaderLength > 2, header_length_too_small);

Completed in 5230 milliseconds

1234567891011>>