Home
last modified time | relevance | path

Searched refs:COMPILE_ASSERT (Results 1 – 25 of 141) sorted by relevance

123456

/external/webkit/Source/JavaScriptCore/wtf/
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 int>::value, WTF_IsInteger_unsigned_int_true);
37 COMPILE_ASSERT(IsInteger<long>::value, WTF_IsInteger_long_true);
38 COMPILE_ASSERT(IsInteger<unsigned long>::value, WTF_IsInteger_unsigned_long_true);
[all …]
DSizeLimits.cpp50 COMPILE_ASSERT(sizeof(OwnPtr<int>) == sizeof(int*), OwnPtr_should_stay_small);
51 COMPILE_ASSERT(sizeof(PassRefPtr<RefCounted<int> >) == sizeof(int*), PassRefPtr_should_stay_small);
52 COMPILE_ASSERT(sizeof(RefCounted<int>) == sizeof(int) + refCountedExtraDebugSize, RefCounted_should…
53 COMPILE_ASSERT(sizeof(RefCountedCustomAllocated<int>) == sizeof(int) + refCountedExtraDebugSize, Re…
54 COMPILE_ASSERT(sizeof(RefPtr<RefCounted<int> >) == sizeof(int*), RefPtr_should_stay_small);
55 COMPILE_ASSERT(sizeof(Vector<int>) == 3 * sizeof(int*), Vector_should_stay_small);
DTCPackedCache.h143 COMPILE_ASSERT(kKeybits <= sizeof(K) * 8, key_size); in PackedCache()
144 COMPILE_ASSERT(kValuebits <= sizeof(V) * 8, value_size); in PackedCache()
145 COMPILE_ASSERT(kHashbits <= kKeybits, hash_function); in PackedCache()
146 COMPILE_ASSERT(kKeybits - kHashbits + kValuebits <= kTbits, in PackedCache()
DAssertions.h232 #undef COMPILE_ASSERT
302 #ifndef COMPILE_ASSERT
303 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] macro
DStdLibExtras.h96 COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal); in bitwise_cast()
120 COMPILE_ASSERT(divisor && !(divisor & (divisor - 1)), divisor_is_a_power_of_two); in roundUpToMultipleOf()
/external/chromium/chrome/browser/chromeos/
Dlanguage_preferences.cc56 COMPILE_ASSERT(kNumChewingBooleanPrefs == arraysize(kChewingBooleanPrefs),
65 COMPILE_ASSERT(kNumChewingIntegerPrefs == arraysize(kChewingIntegerPrefs),
111 COMPILE_ASSERT(kNumChewingMultipleChoicePrefs ==
145 COMPILE_ASSERT(kNumHangulKeyboardNameIDPairs ==
182 COMPILE_ASSERT(kNumPinyinBooleanPrefs == arraysize(kPinyinBooleanPrefs),
202 COMPILE_ASSERT(kNumPinyinIntegerPrefs == arraysize(kPinyinIntegerPrefs),
255 COMPILE_ASSERT(kNumMozcBooleanPrefs == arraysize(kMozcBooleanPrefs),
362 COMPILE_ASSERT(kNumMozcMultipleChoicePrefs ==
370 COMPILE_ASSERT(kNumMozcIntegerPrefs == arraysize(kMozcIntegerPrefs),
/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_constants.cc44 COMPILE_ASSERT(SCHEME_MAX == SCHEME_FALLBACK,
46 COMPILE_ASSERT(arraysize(field_name) == SCHEME_MAX + 1,
48 COMPILE_ASSERT(arraysize(scheme_name) == SCHEME_MAX + 1,
50 COMPILE_ASSERT(SCHEME_ALL == 0, singleProxy_must_be_first_option);
/external/chromium/net/disk_cache/
Ddisk_format.h129 COMPILE_ASSERT(sizeof(EntryStore) == 256, bad_EntyStore);
159 COMPILE_ASSERT(sizeof(RankingsNode) == 36, bad_RankingsNode);
193 COMPILE_ASSERT(sizeof(BlockFileHeader) == kBlockHeaderSize, bad_header);
256 COMPILE_ASSERT(sizeof(SparseData) == sizeof(SparseHeader) + kNumSparseBits / 8,
Dstats.cc23 COMPILE_ASSERT(sizeof(OnDiskStats) < 512, needs_more_than_2_blocks);
65 COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER,
111 COMPILE_ASSERT(sizeof(*stats) <= 256 * 2, use_more_blocks); in CreateStats()
313 COMPILE_ASSERT(kDataSizesLength > 16, update_the_scale); in GetStatsBucket()
/external/chromium/chrome/browser/
Dcontent_setting_bubble_model.cc85 COMPILE_ASSERT(arraysize(kAccessedTitleIDs) == CONTENT_SETTINGS_NUM_TYPES, in SetTitle()
87 COMPILE_ASSERT(arraysize(kBlockedTitleIDs) == CONTENT_SETTINGS_NUM_TYPES, in SetTitle()
89 COMPILE_ASSERT(arraysize(kResourceSpecificBlockedTitleIDs) == in SetTitle()
117 COMPILE_ASSERT(arraysize(kLinkIDs) == CONTENT_SETTINGS_NUM_TYPES, in SetManageLink()
152 COMPILE_ASSERT(arraysize(kCustomIDs) == CONTENT_SETTINGS_NUM_TYPES, in SetCustomLink()
230 COMPILE_ASSERT(arraysize(kAllowIDs) == CONTENT_SETTINGS_NUM_TYPES, in SetRadioGroup()
243 COMPILE_ASSERT( in SetRadioGroup()
262 COMPILE_ASSERT(arraysize(kBlockIDs) == CONTENT_SETTINGS_NUM_TYPES, in SetRadioGroup()
/external/chromium/app/sql/
Dstatement.cc148 COMPILE_ASSERT(COLUMN_TYPE_INTEGER == SQLITE_INTEGER, integer_no_match); in ColumnType()
149 COMPILE_ASSERT(COLUMN_TYPE_FLOAT == SQLITE_FLOAT, float_no_match); in ColumnType()
150 COMPILE_ASSERT(COLUMN_TYPE_TEXT == SQLITE_TEXT, integer_no_match); in ColumnType()
151 COMPILE_ASSERT(COLUMN_TYPE_BLOB == SQLITE_BLOB, blob_no_match); in ColumnType()
152 COMPILE_ASSERT(COLUMN_TYPE_NULL == SQLITE_NULL, null_no_match); in ColumnType()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_columns.h63 COMPILE_ASSERT(arraysize(g_metas_columns) >= FIELD_COUNT, missing_column_name);
64 COMPILE_ASSERT(arraysize(g_metas_columns) <= FIELD_COUNT, extra_column_names);
Dsyncable_enum_conversions.cc17 COMPILE_ASSERT(static_cast<int>(enum_min) == \
20 COMPILE_ASSERT(static_cast<int>(enum_max) == \
/external/chromium/base/
Dbind_internal.h1042 COMPILE_ASSERT(IsMethod::value ||
1045 COMPILE_ASSERT(!IsMethod::value || !is_array<P1>::value,
1053 COMPILE_ASSERT(
1082 COMPILE_ASSERT(IsMethod::value ||
1085 COMPILE_ASSERT(!IsMethod::value || !is_array<P1>::value,
1087 COMPILE_ASSERT(!internal::UnsafeBindtoRefCountedArg<P2>::value,
1095 COMPILE_ASSERT(
1127 COMPILE_ASSERT(IsMethod::value ||
1130 COMPILE_ASSERT(!IsMethod::value || !is_array<P1>::value,
1132 COMPILE_ASSERT(!internal::UnsafeBindtoRefCountedArg<P2>::value,
[all …]
Dbasictypes.h215 #undef COMPILE_ASSERT
216 #define COMPILE_ASSERT(expr, msg) \ macro
/external/webkit/Source/JavaScriptCore/runtime/
DJSObjectWithGlobalObject.cpp36 COMPILE_ASSERT(AnonymousSlotCount == 1, AnonymousSlotCount_must_be_one); in JSObjectWithGlobalObject()
47 COMPILE_ASSERT(AnonymousSlotCount == 1, AnonymousSlotCount_must_be_one); in JSObjectWithGlobalObject()
DJSGlobalData.cpp125 COMPILE_ASSERT(sizeof(JSArray) <= sizeof(storage), sizeof_JSArray_must_be_less_than_storage); in storeVPtrs()
130COMPILE_ASSERT(sizeof(JSByteArray) <= sizeof(storage), sizeof_JSByteArray_must_be_less_than_storag… in storeVPtrs()
135 COMPILE_ASSERT(sizeof(JSString) <= sizeof(storage), sizeof_JSString_must_be_less_than_storage); in storeVPtrs()
140COMPILE_ASSERT(sizeof(JSFunction) <= sizeof(storage), sizeof_JSFunction_must_be_less_than_storage); in storeVPtrs()
/external/chromium/chrome/common/
Dlaunchd_mac.mm59 COMPILE_ASSERT(static_cast<int>(Launchd::User) == function
62 COMPILE_ASSERT(static_cast<int>(Launchd::Local) == function
65 COMPILE_ASSERT(static_cast<int>(Launchd::Network) == function
68 COMPILE_ASSERT(static_cast<int>(Launchd::System) == function
/external/chromium/sdch/open-vcdiff/src/
Dmutex.h299 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name)
300 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name)
301 #define WriterMutexLock(x) COMPILE_ASSERT(0, wmutex_lock_decl_missing_var_name)
Dblockhash.cc43 COMPILE_ASSERT(BlockHash::kBlockSize >= 2, kBlockSize_must_be_at_least_2);
52 COMPILE_ASSERT((BlockHash::kBlockSize & (BlockHash::kBlockSize - 1)) == 0,
234 COMPILE_ASSERT((BlockHash::kBlockSize % sizeof(uword_t)) == 0,
Dcompile_assert.h45 #define COMPILE_ASSERT(expr, msg) \ macro
/external/chromium/net/socket/
Dclient_socket_pool.h165 COMPILE_ASSERT(!base::is_pointer<scoped_refptr<SocketParams> >::value, in CheckIsValidSocketParamsForPool()
167 COMPILE_ASSERT((SocketParamTraits<PoolType, in CheckIsValidSocketParamsForPool()
/external/chromium/chrome/browser/sync/protocol/
Dproto_enum_conversions.cc15 COMPILE_ASSERT(enum_parent::enum_type##_MIN == enum_parent::enum_min, \
17 COMPILE_ASSERT(enum_parent::enum_type##_MAX == enum_parent::enum_max, \
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DArgumentDecoder.h66 COMPILE_ASSERT(sizeof(T) <= sizeof(uint64_t), enum_type_must_not_be_larger_than_64_bits); in decodeEnum()
79 COMPILE_ASSERT(WTF::IsArithmetic<T>::value, type_must_have_known_encoded_size); in bufferIsLargeEnoughToContain()
/external/webkit/Source/JavaScriptCore/wtf/unicode/
DUnicode.h42 COMPILE_ASSERT(sizeof(UChar) == 2, UCharIsTwoBytes);

123456