Searched refs:AlignedType (Results 1 – 10 of 10) sorted by relevance
189 struct TEST_ALIGNAS(128) AlignedType { struct190 AlignedType() : elem(0) {} in AlignedType() function204 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()220 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()222 assert(stats.expect_align(TEST_ALIGNOF(AlignedType))); in test_allocator_and_new_match()234 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()236 assert(stats.expect_size(sizeof(AlignedType))); in test_allocator_and_new_match()248 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()250 assert(stats.expect_size_align(sizeof(AlignedType), in test_allocator_and_new_match()251 TEST_ALIGNOF(AlignedType))); in test_allocator_and_new_match()
186 struct TEST_ALIGNAS(128) AlignedType { struct187 AlignedType() : elem(0) {} in AlignedType() function201 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()217 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()219 assert(stats.expect_align(TEST_ALIGNOF(AlignedType))); in test_allocator_and_new_match()231 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()233 assert(stats.expect_size(sizeof(AlignedType))); in test_allocator_and_new_match()245 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()247 assert(stats.expect_size_align(sizeof(AlignedType), in test_allocator_and_new_match()248 TEST_ALIGNOF(AlignedType))); in test_allocator_and_new_match()
41 struct TEST_ALIGNAS(Align) AlignedType { in TEST_ALIGNAS()44 AlignedType() { ++constructed; } in TEST_ALIGNAS()45 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()46 ~AlignedType() { --constructed; } in TEST_ALIGNAS()49 int AlignedType<Align>::constructed = 0;54 typedef AlignedType<Align> T; in test_aligned()86 typedef AlignedType<Align> T; in test_aligned_constexpr()
41 struct TEST_ALIGNAS(Align) AlignedType { in TEST_ALIGNAS()44 AlignedType() { ++constructed; } in TEST_ALIGNAS()45 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()46 ~AlignedType() { --constructed; } in TEST_ALIGNAS()49 int AlignedType<Align>::constructed = 0;54 typedef AlignedType<Align> T; in test_aligned()
40 struct TEST_ALIGNAS(Align) AlignedType { in TEST_ALIGNAS()43 AlignedType() { ++constructed; } in TEST_ALIGNAS()44 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()45 ~AlignedType() { --constructed; } in TEST_ALIGNAS()48 int AlignedType<Align>::constructed = 0;53 typedef AlignedType<Align> T; in test_aligned()
28 struct __attribute__((aligned)) AlignedType {}; struct35 # define EXPECTED_ALIGNMENT alignof(AlignedType)
27 struct __attribute__((aligned)) AlignedType {}; struct34 # define EXPECTED_ALIGNMENT alignof(AlignedType)
44 struct alignas(Alignment) AlignedType {}; struct57 using M = AlignedType<Alignment>; in Allocate()76 using M = AlignedType<Alignment>; in Deallocate()