Searched refs:AlignedType (Results 1 – 3 of 3) 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()
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()
27 struct __attribute__((aligned)) AlignedType {}; struct34 # define EXPECTED_ALIGNMENT alignof(AlignedType)