| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| ptid-selftests.c | 31 static_assert (gdb::And<std::is_standard_layout<ptid_t>, 37 static_assert (!std::is_convertible<int, ptid_t>::value, 48 static_assert. Once the real ones are made constexpr, we can get rid of 56 static_assert (pid.pid () == 1, "pid's pid is right"); 57 static_assert (lwp.pid () == 1, "lwp's pid is right"); 58 static_assert (tid.pid () == 1, "tid's pid is right"); 59 static_assert (both.pid () == 1, "both's pid is right"); 63 static_assert (!pid.lwp_p (), "pid's lwp_p is right"); 64 static_assert (lwp.lwp_p (), "lwp's lwp_p is right"); 65 static_assert (!tid.lwp_p (), "tid's lwp_p is right") [all...] |
| offset-type-selftests.c | 109 static_assert (to_underlying (a) == 0, ""); 113 static_assert (to_underlying (res1) == 2, ""); 116 static_assert (to_underlying (res2) == 1, ""); 121 static_assert (to_underlying (res1) == 2, ""); 124 static_assert (to_underlying (res2) == 1, ""); 145 static_assert (delta == 10, ""); 153 static_assert (o1 < o2, ""); 154 static_assert (!(o2 < o1), ""); 156 static_assert (o2 > o1, ""); 157 static_assert (!(o1 > o2), "") [all...] |
| packed-selftests.c | 34 static_assert (sizeof (packed<test_enum, 1>) == 1); 35 static_assert (sizeof (packed<test_enum, 2>) == 2); 36 static_assert (sizeof (packed<test_enum, 3>) == 3); 37 static_assert (sizeof (packed<test_enum, 4>) == 4); 39 static_assert (alignof (packed<test_enum, 1>) == 1); 40 static_assert (alignof (packed<test_enum, 2>) == 1); 41 static_assert (alignof (packed<test_enum, 3>) == 1); 42 static_assert (alignof (packed<test_enum, 4>) == 1); 46 static_assert (std::TRAIT<packed<test_enum, 1>>::value, "")
|
| function-view-selftests.c | 127 static_assert (std::is_same<decltype (plus_one_func_view), 129 static_assert (std::is_same<decltype (plus_one_func_view), 145 static_assert (null_func_view_2 == nullptr, ""); 146 static_assert (nullptr == null_func_view_2, ""); 147 static_assert (null_func_view_2 == NULL, ""); 148 static_assert (NULL == null_func_view_2, ""); 151 static_assert (!(null_func_view_2 != nullptr), ""); 152 static_assert (!(nullptr != null_func_view_2), ""); 153 static_assert (!(null_func_view_2 != NULL), ""); 154 static_assert (!(NULL != null_func_view_2), "") [all...] |
| /src/external/gpl3/gdb/dist/gdb/unittests/ |
| ptid-selftests.c | 31 static_assert (gdb::And<std::is_standard_layout<ptid_t>, 37 static_assert (!std::is_convertible<int, ptid_t>::value, 48 static_assert. Once the real ones are made constexpr, we can get rid of 56 static_assert (pid.pid () == 1, "pid's pid is right"); 57 static_assert (lwp.pid () == 1, "lwp's pid is right"); 58 static_assert (tid.pid () == 1, "tid's pid is right"); 59 static_assert (both.pid () == 1, "both's pid is right"); 63 static_assert (!pid.lwp_p (), "pid's lwp_p is right"); 64 static_assert (lwp.lwp_p (), "lwp's lwp_p is right"); 65 static_assert (!tid.lwp_p (), "tid's lwp_p is right") [all...] |
| offset-type-selftests.c | 109 static_assert (to_underlying (a) == 0, ""); 113 static_assert (to_underlying (res1) == 2, ""); 116 static_assert (to_underlying (res2) == 1, ""); 121 static_assert (to_underlying (res1) == 2, ""); 124 static_assert (to_underlying (res2) == 1, ""); 145 static_assert (delta == 10, ""); 153 static_assert (o1 < o2, ""); 154 static_assert (!(o2 < o1), ""); 156 static_assert (o2 > o1, ""); 157 static_assert (!(o1 > o2), "") [all...] |
| packed-selftests.c | 34 static_assert (sizeof (packed<test_enum, 1>) == 1); 35 static_assert (sizeof (packed<test_enum, 2>) == 2); 36 static_assert (sizeof (packed<test_enum, 3>) == 3); 37 static_assert (sizeof (packed<test_enum, 4>) == 4); 39 static_assert (alignof (packed<test_enum, 1>) == 1); 40 static_assert (alignof (packed<test_enum, 2>) == 1); 41 static_assert (alignof (packed<test_enum, 3>) == 1); 42 static_assert (alignof (packed<test_enum, 4>) == 1); 46 static_assert (std::TRAIT<packed<test_enum, 1>>::value, "")
|
| function-view-selftests.c | 127 static_assert (std::is_same<decltype (plus_one_func_view), 129 static_assert (std::is_same<decltype (plus_one_func_view), 145 static_assert (null_func_view_2 == nullptr, ""); 146 static_assert (nullptr == null_func_view_2, ""); 147 static_assert (null_func_view_2 == NULL, ""); 148 static_assert (NULL == null_func_view_2, ""); 151 static_assert (!(null_func_view_2 != nullptr), ""); 152 static_assert (!(nullptr != null_func_view_2), ""); 153 static_assert (!(null_func_view_2 != NULL), ""); 154 static_assert (!(NULL != null_func_view_2), "") [all...] |
| /src/external/gpl3/gdb/dist/gdb/dwarf2/ |
| read-debug-names.h | 40 static_assert (sizeof (dwarf5_augmentation_1) % 4 == 0); 44 static_assert (sizeof (dwarf5_augmentation_2) % 4 == 0); 48 static_assert (sizeof (dwarf5_augmentation_3) % 4 == 0);
|
| /src/external/gpl3/gdb.old/dist/gdb/mi/ |
| mi-common.c | 45 static_assert (ARRAY_SIZE (async_reason_string_lookup)
|
| /src/external/gpl3/gdb/dist/gdb/mi/ |
| mi-common.c | 45 static_assert (ARRAY_SIZE (async_reason_string_lookup)
|
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| 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(kCompressedAddrBits + kStackIDHiBits + kUnusedBits == 64 [all...] |
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| gdb-xfree.h | 30 static_assert (IsFreeable<T>::value, "Trying to use xfree with a non-POD \
|
| packed.h | 65 static_assert (sizeof (ULONGEST) >= sizeof (T)); 79 static_assert (sizeof (packed) == Bytes); 80 static_assert (alignof (packed) == 1); 83 static_assert (std::is_trivially_copyable<packed>::value); 84 static_assert (std::is_copy_constructible<packed>::value); 85 static_assert (std::is_move_constructible<packed>::value); 86 static_assert (std::is_copy_assignable<packed>::value); 87 static_assert (std::is_move_assignable<packed>::value);
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| gdb-xfree.h | 30 static_assert (IsFreeable<T>::value, "Trying to use xfree with a non-POD \
|
| packed.h | 65 static_assert (sizeof (ULONGEST) >= sizeof (T)); 79 static_assert (sizeof (packed) == Bytes); 80 static_assert (alignof (packed) == 1); 83 static_assert (std::is_trivially_copyable<packed>::value); 84 static_assert (std::is_copy_constructible<packed>::value); 85 static_assert (std::is_move_constructible<packed>::value); 86 static_assert (std::is_copy_assignable<packed>::value); 87 static_assert (std::is_move_assignable<packed>::value);
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| 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),
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| 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...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| xray_fdr_log_records.h | 47 static_assert(sizeof(MetadataRecord) == 16, "Wrong size for MetadataRecord."); 72 static_assert(sizeof(FunctionRecord) == 8, "Wrong size for FunctionRecord.");
|
| /src/sys/external/bsd/common/include/linux/ |
| build_bug.h | 39 #define static_assert(EXPR) CTASSERT(EXPR) macro
|
| /src/sys/external/bsd/compiler_rt/dist/include/xray/ |
| 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");
|
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| AllDiagnostics.h | 32 static_assert(SizeOfStr <= FieldType(~0U), "Field too small!");
|
| /src/external/apache2/llvm/dist/libcxx/src/support/win32/ |
| 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...] |
| /src/external/gpl3/gcc/dist/fixincludes/tests/base/ |
| assert.h | 24 #define static_assert _Static_assert macro
|
| /src/external/gpl3/gcc.old/dist/fixincludes/tests/base/ |
| assert.h | 24 #define static_assert _Static_assert macro
|