Searched refs:AlignedType (Results 1 – 5 of 5) sorted by relevance
179 struct TEST_ALIGNAS(128) AlignedType { struct180 AlignedType() : elem(0) {} in AlignedType() function194 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()210 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()212 assert(stats.expect_align(TEST_ALIGNOF(AlignedType))); in test_allocator_and_new_match()224 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()226 assert(stats.expect_size(sizeof(AlignedType))); in test_allocator_and_new_match()238 AlignedType* a = new AlignedType(); in test_allocator_and_new_match()240 assert(stats.expect_size_align(sizeof(AlignedType), in test_allocator_and_new_match()241 TEST_ALIGNOF(AlignedType))); in test_allocator_and_new_match()
38 struct TEST_ALIGNAS(Align) AlignedType { in TEST_ALIGNAS()41 AlignedType() { ++constructed; } in TEST_ALIGNAS()42 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()43 ~AlignedType() { --constructed; } in TEST_ALIGNAS()46 int AlignedType<Align>::constructed = 0;51 typedef AlignedType<Align> T; in test_aligned()83 typedef AlignedType<Align> T; in test_aligned_constexpr()
36 struct alignas(Align) AlignedType { struct39 AlignedType() { ++constructed; } in AlignedType() argument40 AlignedType(AlignedType const&) { ++constructed; } in AlignedType() argument41 ~AlignedType() { --constructed; } in ~AlignedType() argument44 int AlignedType<Align>::constructed = 0;49 typedef AlignedType<Align> T; in test_aligned()81 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()
27 struct __attribute__((aligned)) AlignedType {}; struct34 # define EXPECTED_ALIGNMENT alignof(AlignedType)