/freebsd-current/contrib/googletest/googlemock/test/ |
H A D | gmock-pp_test.cc | 13 static_assert(GMOCK_PP_CAT(1, 4) == 14, ""); 14 static_assert(GMOCK_PP_INTERNAL_INTERNAL_16TH(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17 static_assert(GMOCK_PP_NARG() == 1, ""); 18 static_assert(GMOCK_PP_NARG(x) == 1, ""); 19 static_assert(GMOCK_PP_NARG(x, y) == 2, ""); 20 static_assert(GMOCK_PP_NARG(x, y, z) == 3, ""); 21 static_assert(GMOCK_PP_NARG(x, y, z, w) == 4, ""); 22 static_assert(!GMOCK_PP_HAS_COMMA(), ""); 23 static_assert(GMOCK_PP_HAS_COMMA(b, ), ""); 24 static_assert(!GMOCK_PP_HAS_COMM [all...] |
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIModeRegisterDefaults.cpp | 126 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 128 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 131 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 134 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 138 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 141 static_assert(decodeIndexFltRoundConversionTable( 144 static_assert(decodeIndexFltRoundConversionTable( 148 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 151 static_assert(decodeIndexFltRoundConversionTable(getModeRegisterRoundMode( 154 static_assert(decodeIndexFltRoundConversionTabl [all...] |
/freebsd-current/usr.bin/dtc/ |
H A D | util.hh | 43 #ifndef static_assert 44 #define static_assert(x, y) ((void)0) macro 98 static_assert(sizeof(T) > 1,
|
/freebsd-current/contrib/googletest/googlemock/include/gmock/internal/ |
H A D | gmock-port.h | 105 static_assert(true, "no-op to require trailing semicolon") 110 static_assert(true, "no-op to require trailing semicolon") 115 static_assert(true, "no-op to require trailing semicolon") 122 static_assert(true, "no-op to require trailing semicolon") 127 static_assert(true, "no-op to require trailing semicolon") 132 static_assert(true, "no-op to require trailing semicolon")
|
/freebsd-current/contrib/llvm-project/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.");
|
/freebsd-current/contrib/llvm-project/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) ==
|
/freebsd-current/contrib/llvm-project/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");
|
/freebsd-current/contrib/llvm-project/libcxx/include/__random/ |
H A D | clamp_to_integral.h | 30 static_assert(is_floating_point<_FloatT>::value, "must be a floating point type"); 31 static_assert(is_integral<_IntT>::value, "must be an integral type"); 32 static_assert(numeric_limits<_FloatT>::radix == 2, "FloatT has incorrect radix"); 33 static_assert(
|
/freebsd-current/contrib/llvm-project/libcxx/include/__tuple/ |
H A D | tuple_indices.h | 29 static_assert(_Sp <= _Ep, "__make_tuple_indices input error");
|
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | fstream.cpp | 25 static_assert(std::same_as<HANDLE, void*>);
|
/freebsd-current/contrib/llvm-project/libcxx/include/__numeric/ |
H A D | gcd_lcm.h | 54 static_assert((!is_signed<_Tp>::value), ""); 60 static_assert((is_integral<_Tp>::value && is_integral<_Up>::value), "Arguments to gcd must be integer types"); 61 static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to gcd cannot be bool"); 62 static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to gcd cannot be bool"); 71 static_assert((is_integral<_Tp>::value && is_integral<_Up>::value), "Arguments to lcm must be integer types"); 72 static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to lcm cannot be bool"); 73 static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to lcm cannot be bool");
|
/freebsd-current/contrib/llvm-project/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>) == 169 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint64_t), 172 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint32_t),
|
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/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...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | AMDHSAKernelDescriptor.h | 270 static_assert( 273 static_assert(offsetof(kernel_descriptor_t, group_segment_fixed_size) == 276 static_assert(offsetof(kernel_descriptor_t, private_segment_fixed_size) == 279 static_assert(offsetof(kernel_descriptor_t, kernarg_size) == 282 static_assert(offsetof(kernel_descriptor_t, reserved0) == RESERVED0_OFFSET, 284 static_assert(offsetof(kernel_descriptor_t, kernel_code_entry_byte_offset) == 287 static_assert(offsetof(kernel_descriptor_t, reserved1) == RESERVED1_OFFSET, 289 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc3) == 292 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc1) == 295 static_assert(offseto [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | guarded_pool_allocator_tls.h | 40 static_assert(sizeof(ThreadLocalPackedVariables) == sizeof(uint64_t),
|
/freebsd-current/contrib/llvm-project/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,
|
/freebsd-current/include/ |
H A D | assert.h | 61 * Static assertions. In principle we could define static_assert for 70 #define static_assert _Static_assert macro
|
/freebsd-current/contrib/llvm-project/libcxx/include/__utility/ |
H A D | declval.h | 31 static_assert(!__is_same(_Tp, _Tp),
|
/freebsd-current/contrib/llvm-project/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)) ==
|