Searched refs:STATIC_ASSERT (Results 1 - 25 of 256) sorted by relevance

1234567891011

/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_strings.c175 STATIC_ASSERT(Elements(tgsi_file_names) == TGSI_FILE_COUNT);
176 STATIC_ASSERT(Elements(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
177 STATIC_ASSERT(Elements(tgsi_texture_names) == TGSI_TEXTURE_COUNT);
178 STATIC_ASSERT(Elements(tgsi_property_names) == TGSI_PROPERTY_COUNT);
179 STATIC_ASSERT(Elements(tgsi_primitive_names) == PIPE_PRIM_MAX);
180 STATIC_ASSERT(Elements(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT);
/external/v8/src/parsing/
H A Dpreparse-data.cc38 STATIC_ASSERT(PreparseDataConstants::kMessageStartPos == 0);
40 STATIC_ASSERT(PreparseDataConstants::kMessageEndPos == 1);
42 STATIC_ASSERT(PreparseDataConstants::kMessageArgCountPos == 2);
44 STATIC_ASSERT(PreparseDataConstants::kParseErrorTypePos == 3);
46 STATIC_ASSERT(PreparseDataConstants::kMessageTemplatePos == 4);
48 STATIC_ASSERT(PreparseDataConstants::kMessageArgPos == 5);
/external/valgrind/coregrind/
H A Dm_vkiscnums.c61 STATIC_ASSERT(__NR_pipe == 4042);
62 STATIC_ASSERT(__NR_pipe2 == 4328);
64 STATIC_ASSERT(__NR_pipe == 5021);
65 STATIC_ASSERT(__NR_pipe2 == 5287);
/external/libdrm/
H A Dlibdrm_macros.h38 #define STATIC_ASSERT(COND) \ macro
77 STATIC_ASSERT(LARGE_OFF_T % 2147483629 == 721 &&
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_depth.c52 STATIC_ASSERT(PIPE_FUNC_NEVER == GL_NEVER - GL_NEVER);
53 STATIC_ASSERT(PIPE_FUNC_LESS == GL_LESS - GL_NEVER);
54 STATIC_ASSERT(PIPE_FUNC_EQUAL == GL_EQUAL - GL_NEVER);
55 STATIC_ASSERT(PIPE_FUNC_LEQUAL == GL_LEQUAL - GL_NEVER);
56 STATIC_ASSERT(PIPE_FUNC_GREATER == GL_GREATER - GL_NEVER);
57 STATIC_ASSERT(PIPE_FUNC_NOTEQUAL == GL_NOTEQUAL - GL_NEVER);
58 STATIC_ASSERT(PIPE_FUNC_GEQUAL == GL_GEQUAL - GL_NEVER);
59 STATIC_ASSERT(PIPE_FUNC_ALWAYS == GL_ALWAYS - GL_NEVER);
H A Dst_atom_clip.c50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
H A Dst_context.c221 STATIC_ASSERT(MESA_SHADER_VERTEX == PIPE_SHADER_VERTEX);
222 STATIC_ASSERT(MESA_SHADER_FRAGMENT == PIPE_SHADER_FRAGMENT);
223 STATIC_ASSERT(MESA_SHADER_GEOMETRY == PIPE_SHADER_GEOMETRY);
/external/v8/src/
H A Delements-kind.cc53 STATIC_ASSERT(FixedArray::kHeaderSize == FixedDoubleArray::kHeaderSize);
75 STATIC_ASSERT(FAST_SMI_ELEMENTS == FIRST_FAST_ELEMENTS_KIND);
84 STATIC_ASSERT(FAST_SMI_ELEMENTS + kFastElementsKindPackedToHoley ==
86 STATIC_ASSERT(FAST_DOUBLE_ELEMENTS + kFastElementsKindPackedToHoley ==
88 STATIC_ASSERT(FAST_ELEMENTS + kFastElementsKindPackedToHoley ==
H A Dproperty-details.h45 STATIC_ASSERT(ALL_PROPERTIES == static_cast<PropertyFilter>(NONE));
46 STATIC_ASSERT(ONLY_WRITABLE == static_cast<PropertyFilter>(READ_ONLY));
47 STATIC_ASSERT(ONLY_ENUMERABLE == static_cast<PropertyFilter>(DONT_ENUM));
48 STATIC_ASSERT(ONLY_CONFIGURABLE == static_cast<PropertyFilter>(DONT_DELETE));
49 STATIC_ASSERT(((SKIP_STRINGS | SKIP_SYMBOLS | ONLY_ALL_CAN_READ) &
51 STATIC_ASSERT(ALL_PROPERTIES ==
53 STATIC_ASSERT(ONLY_WRITABLE ==
55 STATIC_ASSERT(ONLY_ENUMERABLE ==
57 STATIC_ASSERT(ONLY_CONFIGURABLE == static_cast<PropertyFilter>(
59 STATIC_ASSERT(SKIP_STRING
[all...]
H A Dsmall-pointer-list.h155 STATIC_ASSERT(kTagMask + 1 <= kPointerAlignment);
159 STATIC_ASSERT(kSingletonTag == 0);
H A Dtype-feedback-vector.h211 STATIC_ASSERT(static_cast<int>(FeedbackVectorSlotKind::KINDS_NUMBER) <
323 STATIC_ASSERT(WeakCell::kSize >= 2 * kPointerSize);
324 STATIC_ASSERT(WeakCell::kValueOffset == AllocationSite::kTransitionInfoOffset);
325 STATIC_ASSERT(WeakCell::kValueOffset == FixedArray::kLengthOffset);
326 STATIC_ASSERT(WeakCell::kValueOffset == Name::kHashFieldSlot);
329 STATIC_ASSERT((Name::kEmptyHashField & kHeapObjectTag) == kHeapObjectTag);
330 STATIC_ASSERT(Name::kEmptyHashField == 0x3);
332 STATIC_ASSERT(Name::kHashNotComputedMask == kHeapObjectTag);
/external/v8/test/cctest/
H A Dtest-utils-arm64.h165 STATIC_ASSERT(sizeof(for_sizeof().d_[0]) == kDRegSize);
166 STATIC_ASSERT(sizeof(for_sizeof().s_[0]) == kSRegSize);
167 STATIC_ASSERT(sizeof(for_sizeof().d_[0]) == kXRegSize);
168 STATIC_ASSERT(sizeof(for_sizeof().s_[0]) == kWRegSize);
169 STATIC_ASSERT(sizeof(for_sizeof().x_[0]) == kXRegSize);
170 STATIC_ASSERT(sizeof(for_sizeof().w_[0]) == kWRegSize);
/external/nanopb-c/
H A Dpb.h106 * If this does not work properly on your compiler, use #define STATIC_ASSERT
112 * in the place where the STATIC_ASSERT macro was called.
114 #ifndef STATIC_ASSERT
115 #define STATIC_ASSERT(COND,MSG) typedef char STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; macro
231 STATIC_ASSERT(sizeof(int8_t) == 1, INT8_T_WRONG_SIZE)
232 STATIC_ASSERT(sizeof(uint8_t) == 1, UINT8_T_WRONG_SIZE)
233 STATIC_ASSERT(sizeof(int16_t) == 2, INT16_T_WRONG_SIZE)
234 STATIC_ASSERT(sizeof(uint16_t) == 2, UINT16_T_WRONG_SIZE)
235 STATIC_ASSERT(sizeof(int32_t) == 4, INT32_T_WRONG_SIZE)
236 STATIC_ASSERT(sizeo
[all...]
/external/v8/src/heap/
H A Dremembered-set.cc18 STATIC_ASSERT(direction == OLD_TO_NEW);
56 STATIC_ASSERT(direction == OLD_TO_NEW);
/external/nanopb-c/tests/backwards_compatibility/
H A Dalltypes_legacy.h162 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 256 && pb_membersize(AllTypes, rep_submsg[0]) < 256 && pb_membersize(AllTypes, opt_submsg) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_SubMessage_AllTypes)
166 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 65536 && pb_membersize(AllTypes, rep_submsg[0]) < 65536 && pb_membersize(AllTypes, opt_submsg) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_SubMessage_AllTypes)
172 STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)
/external/v8/src/base/
H A Datomic-utils.h40 STATIC_ASSERT(sizeof(T) <= sizeof(base::AtomicWord));
71 STATIC_ASSERT(sizeof(T) <= sizeof(base::AtomicWord));
159 STATIC_ASSERT(E::kLastValue < (sizeof(base::AtomicWord) * CHAR_BIT));
H A Ddivision-by-constant.cc24 STATIC_ASSERT(static_cast<T>(0) < static_cast<T>(-1));
62 STATIC_ASSERT(static_cast<T>(0) < static_cast<T>(-1));
/external/v8/src/arm64/
H A Dutils-arm64.h16 STATIC_ASSERT((static_cast<int32_t>(-1) >> 1) == -1);
17 STATIC_ASSERT((static_cast<uint32_t>(-1) >> 1) == 0x7FFFFFFF);
/external/v8/src/snapshot/
H A Dserializer-common.h67 STATIC_ASSERT(IS_POWER_OF_TWO(kSize));
94 STATIC_ASSERT(5 == kNumberOfSpaces);
121 STATIC_ASSERT(kNumberOfSpaces <= kSpaceMask + 1);
176 STATIC_ASSERT(kNumberOfHotObjects == HotObjectsList::kSize);
/external/v8/src/ia32/
H A Dcode-stubs-ia32.cc199 STATIC_ASSERT(kDoubleSize == 2 * kPointerSize);
681 STATIC_ASSERT(kSmiTag == 0);
707 STATIC_ASSERT(kSmiTag == 0);
708 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1);
709 STATIC_ASSERT(Isolate::kJSRegexpStaticOffsetsVectorSize >= 2);
753 STATIC_ASSERT((kStringTag | kSeqStringTag | kTwoByteStringTag) == 0);
766 STATIC_ASSERT(kConsStringTag < kExternalStringTag);
767 STATIC_ASSERT(kSlicedStringTag > kExternalStringTag);
768 STATIC_ASSERT(kIsNotStringMask > kExternalStringTag);
769 STATIC_ASSERT(kShortExternalStringTa
[all...]
/external/v8/src/x87/
H A Dcode-stubs-x87.cc382 STATIC_ASSERT(kSmiTag == 0);
408 STATIC_ASSERT(kSmiTag == 0);
409 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1);
410 STATIC_ASSERT(Isolate::kJSRegexpStaticOffsetsVectorSize >= 2);
454 STATIC_ASSERT((kStringTag | kSeqStringTag | kTwoByteStringTag) == 0);
467 STATIC_ASSERT(kConsStringTag < kExternalStringTag);
468 STATIC_ASSERT(kSlicedStringTag > kExternalStringTag);
469 STATIC_ASSERT(kIsNotStringMask > kExternalStringTag);
470 STATIC_ASSERT(kShortExternalStringTag > kExternalStringTag);
576 STATIC_ASSERT(kSmiTa
[all...]
/external/v8/src/mips/
H A Dcode-stubs-mips.cc400 STATIC_ASSERT(LAST_TYPE == LAST_JS_RECEIVER_TYPE);
425 STATIC_ASSERT(kInternalizedTag == 0 && kStringTag == 0);
463 STATIC_ASSERT(kInternalizedTag == 0 && kStringTag == 0);
568 STATIC_ASSERT(kSmiTag == 0);
691 STATIC_ASSERT(EQUAL == 0);
1471 STATIC_ASSERT(kSmiTag == 0);
1503 STATIC_ASSERT(kSmiTag == 0);
1504 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1);
1505 STATIC_ASSERT(Isolate::kJSRegexpStaticOffsetsVectorSize >= 2);
1546 STATIC_ASSERT((kStringTa
[all...]
/external/v8/src/arm/
H A Dcode-stubs-arm.cc130 STATIC_ASSERT(HeapNumber::kExponentBias + 1 == 1024);
375 STATIC_ASSERT(LAST_TYPE == LAST_JS_RECEIVER_TYPE);
401 STATIC_ASSERT(kInternalizedTag == 0 && kStringTag == 0);
444 STATIC_ASSERT(kInternalizedTag == 0 && kStringTag == 0);
546 STATIC_ASSERT(kSmiTag == 0);
645 STATIC_ASSERT(EQUAL == 0);
1395 STATIC_ASSERT(kSmiTag == 0);
1396 STATIC_ASSERT(kSmiTagSize + kSmiShiftSize == 1);
1397 STATIC_ASSERT(Isolate::kJSRegexpStaticOffsetsVectorSize >= 2);
1439 STATIC_ASSERT((kStringTa
[all...]
/external/v8/src/x64/
H A Dcodegen-x64.cc164 STATIC_ASSERT(FixedDoubleArray::kLengthOffset == FixedArray::kLengthOffset);
165 STATIC_ASSERT(FixedDoubleArray::kHeaderSize == FixedArray::kHeaderSize);
414 STATIC_ASSERT(kSeqStringTag == 0);
427 STATIC_ASSERT(kShortExternalStringTag != 0);
431 STATIC_ASSERT(kTwoByteStringTag == 0);
446 STATIC_ASSERT((kStringEncodingMask & kOneByteStringTag) != 0);
447 STATIC_ASSERT((kStringEncodingMask & kTwoByteStringTag) == 0);
453 STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1);
/external/v8/src/ic/
H A Daccess-compiler.h81 STATIC_ASSERT(sizeof(MacroAssembler) < 128 * kPointerSize);

Completed in 688 milliseconds

1234567891011