Home
last modified time | relevance | path

Searched refs:AlignedType (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp189 struct TEST_ALIGNAS(128) AlignedType { struct
190 AlignedType() : elem(0) {} in AlignedType() function
204 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()
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dallocate.pass.cpp40 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()
/external/libcxxabi/test/
Dtest_exception_address_alignment.pass.cpp27 struct __attribute__((aligned)) AlignedType {}; struct
34 # define EXPECTED_ALIGNMENT alignof(AlignedType)