/netbsd-src/external/apache2/llvm/dist/libcxx/src/support/win32/ |
H A D | thread_win32.cpp | 19 static_assert(sizeof(__libcpp_mutex_t) == sizeof(SRWLOCK), ""); 20 static_assert(alignof(__libcpp_mutex_t) == alignof(SRWLOCK), ""); 22 static_assert(sizeof(__libcpp_recursive_mutex_t) == sizeof(CRITICAL_SECTION), 24 static_assert(alignof(__libcpp_recursive_mutex_t) == alignof(CRITICAL_SECTION), 27 static_assert(sizeof(__libcpp_condvar_t) == sizeof(CONDITION_VARIABLE), ""); 28 static_assert(alignof(__libcpp_condvar_t) == alignof(CONDITION_VARIABLE), ""); 30 static_assert(sizeof(__libcpp_exec_once_flag) == sizeof(INIT_ONCE), ""); 31 static_assert(alignof(__libcpp_exec_once_flag) == alignof(INIT_ONCE), ""); 33 static_assert(sizeof(__libcpp_thread_id) == sizeof(DWORD), ""); 34 static_assert(alignof(__libcpp_thread_id) == alignof(DWORD), ""); [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | AMDHSAKernelDescriptor.h | 193 static_assert( 196 static_assert(offsetof(kernel_descriptor_t, group_segment_fixed_size) == 199 static_assert(offsetof(kernel_descriptor_t, private_segment_fixed_size) == 202 static_assert(offsetof(kernel_descriptor_t, kernarg_size) == 205 static_assert(offsetof(kernel_descriptor_t, reserved0) == RESERVED0_OFFSET, 207 static_assert(offsetof(kernel_descriptor_t, kernel_code_entry_byte_offset) == 210 static_assert(offsetof(kernel_descriptor_t, reserved1) == RESERVED1_OFFSET, 212 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc3) == 215 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc1) == 218 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc2) == [all …]
|
H A D | MathExtras.h | 157 static_assert(std::numeric_limits<T>::is_integer && 226 static_assert(std::numeric_limits<T>::is_integer && 249 static_assert(std::is_unsigned<T>::value, "Invalid type!"); 380 static_assert( 382 static_assert(N + S <= 64, "isShiftedInt<N, S> with N + S > 64 is too wide."); 396 static_assert(N > 0, "isUInt<0> doesn't make sense"); 418 static_assert( 420 static_assert(N + S <= 64, 510 static_assert(std::numeric_limits<T>::is_integer && 526 static_assert(std::numeric_limits<T>::is_integer && [all …]
|
H A D | ScaledNumber.h | 54 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getRounded() 81 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); 115 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getProduct() 154 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getQuotient() 155 static_assert(sizeof(DigitsT) == 4 || sizeof(DigitsT) == 8, in getQuotient() 189 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getLgImpl() 252 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in compare() 288 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in matchScales() 334 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getSum() 374 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getDifference() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | iterator.h | 100 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value, 102 static_assert( 110 static_assert( 116 static_assert( 125 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value, 135 static_assert( 141 static_assert( 156 static_assert( 163 static_assert( 169 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 is unsigned"); 135 static_assert(std::is_signed<T>::value, "T is 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"); 236 static_assert(Bits > 0, "Bits must be non zero"); 238 static_assert(Bits <= TypeBits, "Bits may not be greater than T size"); 239 static_assert(!std::is_enum<T>::value || MaxValue != T(0), [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | SmallVector.cpp | 29 static_assert(sizeof(SmallVector<void *, 0>) == 32 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 34 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 36 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 38 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 40 static_assert(sizeof(SmallVector<void *, 1>) == 44 static_assert(sizeof(SmallVector<char, 0>) == 139 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint64_t), 142 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint32_t),
|
/netbsd-src/external/apache2/llvm/dist/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(sizeof(Module) == 108, ""); [all …]
|
/netbsd-src/external/mit/isl/dist/m4/ |
H A D | ax_cxx_compile_stdcxx.m4 | 194 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 267 static_assert(is_same<int, decltype(0)>::value == true, ""); 268 static_assert(is_same<int, decltype(c)>::value == false, ""); 269 static_assert(is_same<int, decltype(v)>::value == false, ""); 274 static_assert(is_same<int, decltype(ac)>::value == true, ""); 275 static_assert(is_same<int, decltype(av)>::value == true, ""); 276 static_assert(is_same<int, decltype(sumi)>::value == true, ""); 277 static_assert(is_same<int, decltype(sumf)>::value == false, ""); 278 static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); 290 static_assert(noexcept(f()) == false, ""); [all …]
|
/netbsd-src/external/gpl3/binutils/dist/config/ |
H A D | ax_cxx_compile_stdcxx.m4 | 211 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 284 static_assert(is_same<int, decltype(0)>::value == true, ""); 285 static_assert(is_same<int, decltype(c)>::value == false, ""); 286 static_assert(is_same<int, decltype(v)>::value == false, ""); 291 static_assert(is_same<int, decltype(ac)>::value == true, ""); 292 static_assert(is_same<int, decltype(av)>::value == true, ""); 293 static_assert(is_same<int, decltype(sumi)>::value == true, ""); 294 static_assert(is_same<int, decltype(sumf)>::value == false, ""); 295 static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); 307 static_assert(noexcept(f()) == false, ""); [all …]
|
/netbsd-src/external/gpl3/gcc/dist/config/ |
H A D | ax_cxx_compile_stdcxx.m4 | 211 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 284 static_assert(is_same<int, decltype(0)>::value == true, ""); 285 static_assert(is_same<int, decltype(c)>::value == false, ""); 286 static_assert(is_same<int, decltype(v)>::value == false, ""); 291 static_assert(is_same<int, decltype(ac)>::value == true, ""); 292 static_assert(is_same<int, decltype(av)>::value == true, ""); 293 static_assert(is_same<int, decltype(sumi)>::value == true, ""); 294 static_assert(is_same<int, decltype(sumf)>::value == false, ""); 295 static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); 307 static_assert(noexcept(f()) == false, ""); [all …]
|
/netbsd-src/external/gpl3/gdb/dist/config/ |
H A D | ax_cxx_compile_stdcxx.m4 | 211 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 284 static_assert(is_same<int, decltype(0)>::value == true, ""); 285 static_assert(is_same<int, decltype(c)>::value == false, ""); 286 static_assert(is_same<int, decltype(v)>::value == false, ""); 291 static_assert(is_same<int, decltype(ac)>::value == true, ""); 292 static_assert(is_same<int, decltype(av)>::value == true, ""); 293 static_assert(is_same<int, decltype(sumi)>::value == true, ""); 294 static_assert(is_same<int, decltype(sumf)>::value == false, ""); 295 static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); 307 static_assert(noexcept(f()) == false, ""); [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_trace.h | 93 static_assert(sizeof(Event) == 8, "bad Event size"); 110 static_assert(sizeof(EventAccess) == 8, "bad EventAccess size"); 118 static_assert(sizeof(EventFunc) == 8, "bad EventFunc size"); 132 static_assert(sizeof(EventAccessExt) == 16, "bad EventAccessExt size"); 148 static_assert(sizeof(EventAccessRange) == 16, "bad EventAccessRange size"); 163 static_assert(sizeof(EventLock) == 16, "bad EventLock size"); 173 static_assert(sizeof(EventUnlock) == 8, "bad EventUnlock size"); 184 static_assert(sizeof(EventTime) == 8, "bad EventTime size"); 207 static_assert(sizeof(TracePart) == TracePart::kByteSize, "bad TracePart size");
|
H A D | tsan_dense_alloc.h | 41 static_assert((kL1Size & (kL1Size - 1)) == 0, 43 static_assert((kL2Size & (kL2Size - 1)) == 0, 45 static_assert((kL1Size * kL2Size) <= (1ull << (sizeof(IndexT) * 8)), 47 static_assert(((kL1Size * kL2Size - 1) & kReserved) == 0, 49 static_assert(sizeof(T) > sizeof(IndexT),
|
/netbsd-src/external/lgpl3/gmp/dist/tests/cxx/ |
H A D | t-cxx11.cc | 36 static_assert(noexcept(z1 = std::move(z2)), "sorry"); in check_noexcept() 37 static_assert(noexcept(q1 = std::move(q2)), "sorry"); in check_noexcept() 38 static_assert(noexcept(f1 = std::move(f2)), "sorry"); in check_noexcept() 39 static_assert(noexcept(q1 = std::move(z1)), "sorry"); in check_noexcept() 42 static_assert(std::is_nothrow_default_constructible<mpz_class>::value, "sorry"); in check_noexcept() 43 static_assert(std::is_nothrow_move_constructible<mpz_class>::value, "sorry"); in check_noexcept() 44 static_assert(!std::is_nothrow_default_constructible<mpq_class>::value, "sorry"); in check_noexcept() 45 static_assert(!std::is_nothrow_move_constructible<mpq_class>::value, "sorry"); in check_noexcept() 46 static_assert(!std::is_nothrow_default_constructible<mpf_class>::value, "sorry"); in check_noexcept() 47 static_assert(!std::is_nothrow_move_constructible<mpf_class>::value, "sorry"); in check_noexcept() [all …]
|
/netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
H A D | __bits | 61 static_assert(sizeof(unsigned) == sizeof(unsigned long), ""); 62 static_assert(sizeof(unsigned long) == 4, ""); 71 static_assert(sizeof(unsigned long) == sizeof(unsigned), ""); 94 static_assert(sizeof(unsigned) == sizeof(unsigned long), ""); 95 static_assert(sizeof(unsigned long) == 4, ""); 104 static_assert(sizeof(unsigned) == sizeof(unsigned long), ""); 125 static_assert(sizeof(unsigned) == 4, ""); 130 static_assert(sizeof(unsigned long) == 4, ""); 135 static_assert(sizeof(unsigned long long) == 8, "");
|
H A D | bit | 84 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__rotl requires an unsigned integer type"… 95 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__rotr requires an unsigned integer type"… 106 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__countr_zero requires an unsigned intege… 133 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__countl_zero requires an unsigned intege… 165 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__countl_one requires an unsigned integer… 175 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__countr_one requires an unsigned integer… 185 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__popcount requires an unsigned integer t… 209 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__bit_log2 requires an unsigned integer t… 217 …static_assert(__libcpp_is_unsigned_integer<_Tp>::value, "__has_single_bit requires an unsigned int…
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
H A D | ratio | 98 static_assert(__a1 == 0 || __b1 == 0, 100 static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1), 102 static_assert(__b0 * __a0 <= __INTMAX_MAX__, 104 static_assert((__a0 * __b1 + __b0 * __a1) * __c 132 static_assert(!__big_less<__hi1, __lo1, __hi2, __lo2>::value, 169 static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)), 171 static_assert(__n1 < __d, "Internal library error"); 206 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, 214 static_assert(__d != 0, "Internal library error"); 215 static_assert(sizeof (uintmax_t) == sizeof (unsigned long long), [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVRegisterInfo.cpp | 30 static_assert(RISCV::X1 == RISCV::X0 + 1, "Register list not consecutive"); 31 static_assert(RISCV::X31 == RISCV::X0 + 31, "Register list not consecutive"); 32 static_assert(RISCV::F1_H == RISCV::F0_H + 1, "Register list not consecutive"); 33 static_assert(RISCV::F31_H == RISCV::F0_H + 31, 35 static_assert(RISCV::F1_F == RISCV::F0_F + 1, "Register list not consecutive"); 36 static_assert(RISCV::F31_F == RISCV::F0_F + 31, 38 static_assert(RISCV::F1_D == RISCV::F0_D + 1, "Register list not consecutive"); 39 static_assert(RISCV::F31_D == RISCV::F0_D + 31, 41 static_assert(RISCV::V1 == RISCV::V0 + 1, "Register list not consecutive"); 42 static_assert(RISCV::V31 == RISCV::V0 + 31, "Register list not consecutive");
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/include/xray/ |
H A D | xray_records.h | 34 static_assert(sizeof(FdrAdditionalHeaderData) == 16, 66 static_assert(sizeof(XRayFileHeader) == 32, "XRayFileHeader != 32 bytes"); 105 static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); 131 static_assert(sizeof(XRayArgPayload) == 32, "XRayArgPayload != 32 bytes");
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
H A D | ratio | 98 static_assert(__a1 == 0 || __b1 == 0, 100 static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1), 102 static_assert(__b0 * __a0 <= __INTMAX_MAX__, 104 static_assert((__a0 * __b1 + __b0 * __a1) * __c 132 static_assert(!__big_less<__hi1, __lo1, __hi2, __lo2>::value, 169 static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)), 171 static_assert(__n1 < __d, "Internal library error"); 206 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, 214 static_assert(__d != 0, "Internal library error"); 215 static_assert(sizeof (uintmax_t) == sizeof (unsigned long long), [all …]
|
H A D | charconv | 121 static_assert(is_integral<_Tp>::value, "implementation bug"); 122 static_assert(is_unsigned<_Tp>::value, "implementation bug"); 162 static_assert(is_integral<_Tp>::value, "implementation bug"); 163 static_assert(is_unsigned<_Tp>::value, "implementation bug"); 209 static_assert(is_integral<_Tp>::value, "implementation bug"); 210 static_assert(is_unsigned<_Tp>::value, "implementation bug"); 233 static_assert(is_integral<_Tp>::value, "implementation bug"); 234 static_assert(is_unsigned<_Tp>::value, "implementation bug"); 287 static_assert(is_integral<_Tp>::value, "implementation bug"); 288 static_assert(is_unsigned<_Tp>::value, "implementation bug"); [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
H A D | charconv.h | 49 static_assert(is_integral<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY() 50 static_assert(is_unsigned<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY() 74 static_assert(is_integral<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY() 75 static_assert(is_unsigned<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | charconv.h | 49 static_assert(is_integral<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY() 50 static_assert(is_unsigned<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY() 74 static_assert(is_integral<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY() 75 static_assert(is_unsigned<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/ |
H A D | BitcodeConvenience.h | 79 static_assert(Width <= 64, "fixed-width field is too large"); 103 static_assert(Width >= 2, "width does not have room for continuation bit"); 150 static_assert(!ElementTy::IsCompound, "arrays can only contain scalar types"); 176 static_assert(!FieldTy::IsCompound, in emitOps() 190 static_assert(!ElementTy::IsCompound, in emit() 227 static_assert(!ElementTy::IsCompound, in emit() 398 static_assert(sizeof...(data) <= sizeof...(Fields) || 401 static_assert(sizeof...(data) >= sizeof...(Fields), 415 static_assert(sizeof...(data) <= sizeof...(Fields), 417 static_assert(sizeof...(Fields) <=
|