/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | CmpInstAnalysis.h | 68 static_assert(CmpInst::FCMP_FALSE == 0); // 0 0 0 0 69 static_assert(CmpInst::FCMP_OEQ == 1); // 0 0 0 1 70 static_assert(CmpInst::FCMP_OGT == 2); // 0 0 1 0 71 static_assert(CmpInst::FCMP_OGE == 3); // 0 0 1 1 72 static_assert(CmpInst::FCMP_OLT == 4); // 0 1 0 0 73 static_assert(CmpInst::FCMP_OLE == 5); // 0 1 0 1 74 static_assert(CmpInst::FCMP_ONE == 6); // 0 1 1 0 75 static_assert(CmpInst::FCMP_ORD == 7); // 0 1 1 1 76 static_assert(CmpInst::FCMP_UNO == 8); // 1 0 0 0 77 static_assert(CmpIns [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/gwp_asan/ |
H A D | common.h | 168 static_assert(offsetof(AllocatorState, VersionMagic) == 0, ""); 169 static_assert(sizeof(AllocatorVersionMagic) == 8, ""); 171 static_assert(sizeof(AllocatorState) == 56, ""); 172 static_assert(offsetof(AllocatorState, FailureAddress) == 48, ""); 173 static_assert(sizeof(AllocationMetadata) == 568, ""); 174 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, ""); 176 static_assert(sizeof(AllocatorState) == 56, ""); 177 static_assert(offsetof(AllocatorState, FailureAddress) == 48, ""); 178 static_assert(sizeof(AllocationMetadata) == 568, ""); 179 static_assert(offseto [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_trace.h | 42 static_assert(sizeof(Event) == 8, "bad Event size"); 51 static_assert(kPCBits + kCompressedAddrBits + 5 == 64, 61 static_assert(sizeof(EventAccess) == 8, "bad EventAccess size"); 69 static_assert(sizeof(EventFunc) == 8, "bad EventFunc size"); 80 static_assert(kCompressedAddrBits + kUnusedBits + 9 == 64, 93 static_assert(sizeof(EventAccessExt) == 16, "bad EventAccessExt size"); 98 static_assert(kCompressedAddrBits + kSizeLoBits + 7 == 64, 111 static_assert(sizeof(EventAccessRange) == 16, "bad EventAccessRange size"); 119 static_assert(kCompressedAddrBits + kStackIDLoBits + 5 == 64, 121 static_assert(kCompressedAddrBit [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/xray/ |
H A D | xray_fdr_log_records.h | 46 static_assert(sizeof(MetadataRecord) == 16, "Wrong size for MetadataRecord."); 71 static_assert(sizeof(FunctionRecord) == 8, "Wrong size for FunctionRecord.");
|
/openbsd-current/gnu/llvm/libcxxabi/src/ |
H A D | cxa_exception.h | 110 static_assert(sizeof(_Unwind_Exception) + 114 static_assert(sizeof(_Unwind_Exception) + 120 static_assert(offsetof(__cxa_exception, propagationCount) + 124 static_assert(offsetof(__cxa_dependent_exception, propagationCount) + 129 static_assert(offsetof(__cxa_exception, adjustedPtr) + 133 static_assert(offsetof(__cxa_dependent_exception, adjustedPtr) + 138 static_assert(offsetof(__cxa_exception, referenceCount) + 142 static_assert(offsetof(__cxa_dependent_exception, primaryException) +
|
/openbsd-current/gnu/llvm/clang/include/clang/Basic/ |
H A D | AllDiagnostics.h | 32 static_assert(SizeOfStr <= FieldType(~0U), "Field too small!");
|
H A D | HLSLRuntime.h | 34 static_assert( \ 54 static_assert(getStageFromEnvironment(llvm::Triple::UnknownEnvironment) == 58 static_assert(getStageFromEnvironment(llvm::Triple::MSVC) ==
|
/openbsd-current/gnu/llvm/compiler-rt/include/xray/ |
H A D | xray_records.h | 33 static_assert(sizeof(FdrAdditionalHeaderData) == 16, 65 static_assert(sizeof(XRayFileHeader) == 32, "XRayFileHeader != 32 bytes"); 104 static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); 130 static_assert(sizeof(XRayArgPayload) == 32, "XRayArgPayload != 32 bytes");
|
/openbsd-current/sys/dev/pci/drm/include/linux/ |
H A D | build_bug.h | 15 #define static_assert(x, ...) macro
|
/openbsd-current/gnu/llvm/libcxx/include/__tuple_dir/ |
H A D | tuple_indices.h | 29 static_assert(_Sp <= _Ep, "__make_tuple_indices input error");
|
/openbsd-current/gnu/llvm/libcxx/include/__random/ |
H A D | clamp_to_integral.h | 31 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type"); 32 static_assert(is_integral<_IntT>::value, "must be an integral type"); 33 static_assert(numeric_limits<_FloatT>::radix == 2, "FloatT has incorrect radix"); 34 static_assert((_IsSame<_FloatT, float>::value || _IsSame<_FloatT, double>::value
|
/openbsd-current/gnu/llvm/libcxx/include/__numeric/ |
H A D | gcd_lcm.h | 57 static_assert((!is_signed<_Tp>::value), ""); 66 static_assert((is_integral<_Tp>::value && is_integral<_Up>::value), "Arguments to gcd must be integer types"); 67 static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to gcd cannot be bool" ); 68 static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to gcd cannot be bool" ); 81 static_assert((is_integral<_Tp>::value && is_integral<_Up>::value), "Arguments to lcm must be integer types"); 82 static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to lcm cannot be bool" ); 83 static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to lcm cannot be bool" );
|
/openbsd-current/gnu/llvm/llvm/lib/Support/ |
H A D | SmallVector.cpp | 40 static_assert(sizeof(SmallVector<void *, 0>) == 43 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 45 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 47 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 49 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 51 static_assert(sizeof(SmallVector<void *, 1>) == 55 static_assert(sizeof(SmallVector<char, 0>) == 170 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint64_t), 173 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint32_t),
|
/openbsd-current/gnu/llvm/libcxx/src/support/win32/ |
H A D | thread_win32.cpp | 18 static_assert(sizeof(__libcpp_mutex_t) == sizeof(SRWLOCK), ""); 19 static_assert(alignof(__libcpp_mutex_t) == alignof(SRWLOCK), ""); 21 static_assert(sizeof(__libcpp_recursive_mutex_t) == sizeof(CRITICAL_SECTION), 23 static_assert(alignof(__libcpp_recursive_mutex_t) == alignof(CRITICAL_SECTION), 26 static_assert(sizeof(__libcpp_condvar_t) == sizeof(CONDITION_VARIABLE), ""); 27 static_assert(alignof(__libcpp_condvar_t) == alignof(CONDITION_VARIABLE), ""); 29 static_assert(sizeof(__libcpp_exec_once_flag) == sizeof(INIT_ONCE), ""); 30 static_assert(alignof(__libcpp_exec_once_flag) == alignof(INIT_ONCE), ""); 32 static_assert(sizeof(__libcpp_thread_id) == sizeof(DWORD), ""); 33 static_assert(aligno [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | iterator.h | 130 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value, 132 static_assert( 140 static_assert( 146 static_assert( 155 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value, 165 static_assert( 171 static_assert( 186 static_assert( 193 static_assert( 199 static_assert( [all...] |
H A D | Bitfields.h | 100 static_assert(sizeof(Unsigned) == sizeof(T), "Types must have same size"); 103 static_assert(TypeBits >= Bits, "n-bit must fit in T"); 122 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); 135 static_assert(std::is_signed<T>::value, "T must be signed"); 157 static_assert(std::is_unsigned<StorageType>::value, 164 static_assert(Bitfield::FirstBit <= StorageBits, "Data must fit in mask"); 165 static_assert(Bitfield::LastBit <= StorageBits, "Data must fit in mask"); 221 ? T(0) // coupled with static_assert below 236 static_assert(Bits > 0, "Bits must be non zero"); 238 static_assert(Bit [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | Minidump.h | 46 static_assert(sizeof(Header) == 32); 63 static_assert(sizeof(LocationDescriptor) == 8); 71 static_assert(sizeof(MemoryDescriptor) == 16); 84 static_assert(sizeof(MemoryInfoListHeader) == 16); 115 static_assert(sizeof(MemoryInfo) == 48); 124 static_assert(sizeof(Directory) == 12); 157 static_assert(sizeof(CPUInfo) == 24); 180 static_assert(sizeof(SystemInfo) == 56); 197 static_assert(sizeof(VSFixedFileInfo) == 52); 215 static_assert(sizeo [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | guarded_pool_allocator_tls.h | 40 static_assert(sizeof(ThreadLocalPackedVariables) == sizeof(uint64_t),
|
/openbsd-current/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | Cloneable.h | 46 // scope static_assert cannot be used. 47 static_assert(std::is_base_of<Cloneable, Derived>::value,
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | AMDHSAKernelDescriptor.h | 198 static_assert( 201 static_assert(offsetof(kernel_descriptor_t, group_segment_fixed_size) == 204 static_assert(offsetof(kernel_descriptor_t, private_segment_fixed_size) == 207 static_assert(offsetof(kernel_descriptor_t, kernarg_size) == 210 static_assert(offsetof(kernel_descriptor_t, reserved0) == RESERVED0_OFFSET, 212 static_assert(offsetof(kernel_descriptor_t, kernel_code_entry_byte_offset) == 215 static_assert(offsetof(kernel_descriptor_t, reserved1) == RESERVED1_OFFSET, 217 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc3) == 220 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc1) == 223 static_assert(offseto [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_mapping_sparc64.h | 111 static_assert(ShadowToMemSparc64(MEM_TO_SHADOW(0x0000000000000000)) == 113 static_assert(ShadowToMemSparc64(MEM_TO_SHADOW(0xfff8000000000000)) == 116 static_assert(ShadowToMemSparc64(MEM_TO_SHADOW(0x0007ffffffffffff)) ==
|
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | atomic_helpers.h | 24 static_assert(memory_order_relaxed == __ATOMIC_RELAXED, ""); 25 static_assert(memory_order_consume == __ATOMIC_CONSUME, ""); 26 static_assert(memory_order_acquire == __ATOMIC_ACQUIRE, ""); 27 static_assert(memory_order_release == __ATOMIC_RELEASE, ""); 28 static_assert(memory_order_acq_rel == __ATOMIC_ACQ_REL, ""); 29 static_assert(memory_order_seq_cst == __ATOMIC_SEQ_CST, "");
|
/openbsd-current/usr.sbin/radiusd/ |
H A D | eap2mschap_local.h | 74 static_assert(sizeof(struct eap_mschap_challenge) == 26, ""); 75 static_assert(offsetof(struct eap_mschap_challenge, chap) == 5, ""); 76 static_assert(offsetof(struct eap_mschap_challenge, chall) == 10, ""); 91 static_assert(sizeof(struct eap_mschap_response) == 59, ""); 92 static_assert(offsetof(struct eap_mschap_response, chap) == 5, ""); 93 static_assert(offsetof(struct eap_mschap_response, peerchall) == 10, "");
|
/openbsd-current/include/ |
H A D | assert.h | 66 #define static_assert _Static_assert macro
|
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/ |
H A D | SelectorExtras.h | 19 static_assert(sizeof...(IdentifierInfos) > 0,
|