Searched refs:COMPILE_ASSERT (Results 226 - 250 of 537) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DStdLibExtras.h115 COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dvdso_support.cc49 #include "base/basictypes.h" // for COMPILE_ASSERT
97 COMPILE_ASSERT(sizeof(vdso_base_) == sizeof(aux.a_un.a_val),
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 Dvdso_support.cc49 #include "base/basictypes.h" // for COMPILE_ASSERT
97 COMPILE_ASSERT(sizeof(vdso_base_) == sizeof(aux.a_un.a_val),
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/webrtc/base/
H A Dscoped_ptr.h102 #include "webrtc/base/compile_assert.h" // for COMPILE_ASSERT
124 // using a COMPILE_ASSERT() based on is_convertible<> and requiring
133 COMPILE_ASSERT((rtc::is_convertible<U*, T*>::value),
164 COMPILE_ASSERT(sizeof(T) == -1, do_not_use_array_with_size_as_type);
340 COMPILE_ASSERT(!rtc::is_array<U>::value, U_cannot_be_an_array);
358 COMPILE_ASSERT(!rtc::is_array<U>::value, U_cannot_be_an_array);
H A Dsafe_conversions_impl.h178 COMPILE_ASSERT(std::numeric_limits<Src>::is_specialized,
180 COMPILE_ASSERT(std::numeric_limits<Dst>::is_specialized,
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_estimator_c.c76 COMPILE_ASSERT(PITCH_CORR_LEN2 %4 == 0);
H A Dpitch_estimator_mips.c37 COMPILE_ASSERT(PITCH_CORR_LEN2 % 4 == 0);
H A Dpitch_filter.c80 COMPILE_ASSERT(PITCH_FRACORDER == 9);
81 COMPILE_ASSERT(PITCH_DAMPORDER == 5);
/external/chromium_org/ui/base/
H A Dlayout.cc39 COMPILE_ASSERT(NUM_SCALE_FACTORS == arraysize(kScaleFactorScales),
/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/base/numerics/
H A Dsafe_conversions_impl.h206 COMPILE_ASSERT(std::numeric_limits<Src>::is_specialized,
208 COMPILE_ASSERT(std::numeric_limits<Dst>::is_specialized,
H A Dsafe_math.h65 COMPILE_ASSERT(std::numeric_limits<Src>::is_specialized,
90 COMPILE_ASSERT(std::numeric_limits<T>::is_iec559, argument_must_be_float);
/external/chromium_org/base/time/
H A Dtime_mac.cc135 COMPILE_ASSERT(std::numeric_limits<CFAbsoluteTime>::has_infinity,
147 COMPILE_ASSERT(std::numeric_limits<CFAbsoluteTime>::has_infinity,
/external/chromium_org/cc/animation/
H A Danimation.cc26 COMPILE_ASSERT(static_cast<int>(cc::Animation::RunStateEnumSize) ==
39 COMPILE_ASSERT(static_cast<int>(cc::Animation::TargetPropertyEnumSize) ==
/external/chromium_org/chrome/browser/extensions/api/alarms/
H A Dalarms_api.cc54 COMPILE_ASSERT(kReleaseDelayMinimum == 1, update_warning_message_below);
70 COMPILE_ASSERT(kReleaseDelayMinimum == 1, update_warning_message_below);
/external/chromium_org/chrome/tools/profile_reset/
H A Djtl_parser_unittest.cc92 COMPILE_ASSERT(arraysize(kCompactedSourceCode) == arraysize(kLineNumbers) + 1,
111 COMPILE_ASSERT(arraysize(kCompactedSourceCode) == arraysize(kLineNumbers) + 1,
/external/chromium_org/content/browser/download/
H A Ddownload_net_log_parameters.cc37 COMPILE_ASSERT(ARRAYSIZE_UNSAFE(download_type_names) == SRC_SAVE_PAGE_AS + 1,
39 COMPILE_ASSERT(ARRAYSIZE_UNSAFE(download_danger_names) ==
/external/chromium_org/media/filters/
H A Dfake_demuxer_stream_unittest.cc19 COMPILE_ASSERT(kNumBuffersToReadFirst < kNumBuffersInOneConfig,
21 COMPILE_ASSERT(kNumConfigs > 0, need_multiple_configs_to_trigger_config_change);
/external/chromium_org/sandbox/linux/services/
H A Dcredentials.cc72 COMPILE_ASSERT((base::is_same<uid_t, gid_t>::value), UidAndGidAreSameType);
114 COMPILE_ASSERT((base::is_same<base::PlatformThreadId, int>::value),
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DBufferedLineReaderTest.cpp204 COMPILE_ASSERT(numTestLines == WTF_ARRAY_LENGTH(breaks), DifferentLengths_lines_and_breaks);
237 COMPILE_ASSERT(numTestLines == WTF_ARRAY_LENGTH(breaks), DifferentLengths_lines_and_breaks);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmalloc_hook-inl.h59 COMPILE_ASSERT(sizeof(PtrT) <= sizeof(AtomicWord),
108 COMPILE_ASSERT(sizeof(T) <= sizeof(AtomicWord), T_should_fit_in_AtomicWord);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmalloc_hook-inl.h59 COMPILE_ASSERT(sizeof(PtrT) <= sizeof(AtomicWord),
108 COMPILE_ASSERT(sizeof(T) <= sizeof(AtomicWord), T_should_fit_in_AtomicWord);
/external/chromium_org/ui/base/resource/
H A Ddata_pack.cc45 COMPILE_ASSERT(sizeof(DataPackEntry) == 6, size_of_entry_must_be_six);
184 COMPILE_ASSERT(__BYTE_ORDER == __LITTLE_ENDIAN,

Completed in 1847 milliseconds

1234567891011>>