Home
last modified time | relevance | path

Searched refs:OverAligned (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_align_val_t_nothrow_replace.pass.cpp38 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
42 struct alignas(OverAligned) A
57 alignas(OverAligned) char Buff[OverAligned * 2];
63 assert(static_cast<std::size_t>(a) == OverAligned); in operator new()
71 assert(static_cast<std::size_t>(a) == OverAligned); in operator delete()
Dnew_align_val_t_replace.pass.cpp23 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
27 struct alignas(OverAligned) A {
44 alignas(OverAligned) char DummyData[OverAligned];
50 assert(static_cast<std::size_t>(a) == OverAligned); in operator new()
Dnew_align_val_t_nothrow.pass.cpp40 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
52 struct alignas(OverAligned) A
62 std::align_val_t(OverAligned), in test_max_alloc()
86 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
Dnew_align_val_t.pass.cpp40 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
52 struct alignas(OverAligned) A
84 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_align_val_t_nothrow_replace.pass.cpp50 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
54 struct alignas(OverAligned) A
69 alignas(OverAligned) char Buff[OverAligned * 3];
75 assert(static_cast<std::size_t>(a) == OverAligned); in operator new[]()
83 assert(static_cast<std::size_t>(a) == OverAligned); in operator delete[]()
Dnew_align_val_t_replace.pass.cpp27 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
31 struct alignas(OverAligned) A {
48 alignas(OverAligned) char DummyData[OverAligned * 4];
54 assert(static_cast<std::size_t>(a) == OverAligned); in operator new[]()
Dnew_align_val_t_nothrow.pass.cpp53 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
65 struct alignas(OverAligned) A
75 std::align_val_t(OverAligned), in test_max_alloc()
99 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
Dnew_align_val_t.pass.cpp53 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
65 struct alignas(OverAligned) A
97 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
Ddelete_align_val_t_replace.pass.cpp52 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
82 struct alignas(OverAligned) A {};
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_align_val_t_nothrow_replace.pass.cpp38 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
42 struct alignas(OverAligned) A
57 alignas(OverAligned) char Buff[OverAligned * 3];
63 assert(static_cast<std::size_t>(a) == OverAligned); in operator new[]()
71 assert(static_cast<std::size_t>(a) == OverAligned); in operator delete[]()
Dnew_align_val_t_replace.pass.cpp23 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
27 struct alignas(OverAligned) A {
44 alignas(OverAligned) char DummyData[OverAligned * 4];
50 assert(static_cast<std::size_t>(a) == OverAligned); in operator new[]()
Dnew_align_val_t_nothrow.pass.cpp40 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
52 struct alignas(OverAligned) A
62 std::align_val_t(OverAligned), in test_max_alloc()
86 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
Dnew_align_val_t.pass.cpp40 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
52 struct alignas(OverAligned) A
84 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_align_val_t_nothrow_replace.pass.cpp51 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
55 struct alignas(OverAligned) A
70 alignas(OverAligned) char Buff[OverAligned * 2];
76 assert(static_cast<std::size_t>(a) == OverAligned); in operator new()
84 assert(static_cast<std::size_t>(a) == OverAligned); in operator delete()
Dnew_align_val_t_replace.pass.cpp27 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
31 struct alignas(OverAligned) A {
48 alignas(OverAligned) char DummyData[OverAligned];
54 assert(static_cast<std::size_t>(a) == OverAligned); in operator new()
Dnew_align_val_t_nothrow.pass.cpp53 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
65 struct alignas(OverAligned) A
75 std::align_val_t(OverAligned), in test_max_alloc()
99 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
Dnew_align_val_t.pass.cpp53 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
65 struct alignas(OverAligned) A
97 assert(reinterpret_cast<std::uintptr_t>(ap) % OverAligned == 0); in main()
Ddelete_align_val_t_replace.pass.cpp51 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
81 struct alignas(OverAligned) A {};
/external/llvm-project/clang/test/CodeGenCXX/
Dinalloca-overaligned.cpp13 struct __declspec(align(64)) OverAligned { struct
14 OverAligned();
26 int receive_inalloca_overaligned(NonTrivial nt, OverAligned o) { in receive_inalloca_overaligned() argument
34 gvi32 = receive_inalloca_overaligned(NonTrivial(), OverAligned()); in pass_inalloca_overaligned()
/external/llvm-project/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dallocate.pass.cpp37 static const size_t OverAligned = MaxAligned * 2; variable
102 test_aligned<OverAligned>(); in main()
103 test_aligned<OverAligned * 2>(); in main()
112 static_assert(test_aligned_constexpr<OverAligned>()); in main()
113 static_assert(test_aligned_constexpr<OverAligned * 2>()); in main()
/external/llvm-project/libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/
Dallocate.cxx2a.pass.cpp37 static const size_t OverAligned = MaxAligned * 2; variable
89 test_aligned<OverAligned>(); in main()
90 test_aligned<OverAligned * 2>(); in main()
/external/llvm-project/libcxx/test/libcxx/language.support/support.dynamic/
Daligned_alloc_availability.verify.cpp30 constexpr auto OverAligned = __STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2; variable
32 struct alignas(OverAligned) A { };
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dallocate.pass.cpp36 static const size_t OverAligned = MaxAligned * 2; variable
110 test_aligned<OverAligned>(); in main()
111 test_aligned<OverAligned * 2>(); in main()
/external/llvm-project/clang/test/CodeGen/
Daix-struct-arg.c35 } __attribute__((aligned(32))) OverAligned; typedef
85 void arg9(OverAligned x) {} in arg9()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DDefaultOperatorNewAlignmentCheck.cpp53 bool OverAligned = SpecifiedAlignment > DefaultNewAlignment; in check() local
58 if (HasDefaultOperatorNew && OverAligned) in check()

12