/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.modifiers/ |
H A D | clear.pass.cpp | 43 // small object 45 any a((small(1))); 46 assert(small::count == 1); 47 assertContains<small>(a, 1); 51 assertEmpty<small>(a); 52 assert(small::count == 0);
|
H A D | swap.pass.cpp | 18 // Test swap(large, small) and swap(small, large) 97 test_swap_empty<small>(); 101 test_swap<small, large>(); 102 test_swap<large, small>();
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/any/any.class/any.modifiers/ |
H A D | reset.pass.cpp | 48 // small object 50 any a((small(1))); 51 assert(small::count == 1); 52 assertContains<small>(a, 1); 56 assertEmpty<small>(a); 57 assert(small::count == 0);
|
H A D | swap.pass.cpp | 23 // Test swap(large, small) and swap(small, large) 106 { // small 107 using T = small; 116 assert(small::count == 0); 133 test_swap_empty<small>(); 137 test_swap<small, large>(); 138 test_swap<large, small>();
|
H A D | emplace.pass.cpp | 44 // constructing from a small type should perform no allocations. 100 // constructing from a small type should perform no allocations. 164 // any stores small type 166 std::any a(small{42}); 167 assert(small::count == 1); 174 assert(small::count == 0); 177 std::any a(small{42}); 178 assert(small::count == 1); 185 assert(small::count == 0); 246 static_assert(has_emplace<small>(), ""); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.modifiers/ |
H A D | clear.pass.cpp | 43 // small object 45 any a((small(1))); 46 assert(small::count == 1); 47 assertContains<small>(a, 1); 51 assertEmpty<small>(a); 52 assert(small::count == 0);
|
H A D | swap.pass.cpp | 18 // Test swap(large, small) and swap(small, large) 97 test_swap_empty<small>(); 101 test_swap<small, large>(); 102 test_swap<large, small>();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/any/any.class/any.modifiers/ |
H A D | reset.pass.cpp | 48 // small object 50 any a((small(1))); 51 assert(small::count == 1); 52 assertContains<small>(a, 1); 56 assertEmpty<small>(a); 57 assert(small::count == 0);
|
H A D | swap.pass.cpp | 23 // Test swap(large, small) and swap(small, large) 106 { // small 107 using T = small; 116 assert(small::count == 0); 133 test_swap_empty<small>(); 137 test_swap<small, large>(); 138 test_swap<large, small>();
|
H A D | emplace.pass.cpp | 44 // constructing from a small type should perform no allocations. 100 // constructing from a small type should perform no allocations. 164 // any stores small type 166 std::any a(small{42}); 167 assert(small::count == 1); 174 assert(small::count == 0); 177 std::any a(small{42}); 178 assert(small::count == 1); 185 assert(small::count == 0); 246 static_assert(has_emplace<small>(), ""); [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/any/any.class/any.observers/ |
H A D | type.pass.cpp | 31 small const s(1); 33 assert(a.type() == typeid(small));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/any/any.class/any.observers/ |
H A D | type.pass.cpp | 31 small const s(1); 33 assert(a.type() == typeid(small));
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.observers/ |
H A D | type.pass.cpp | 31 small const s(1); 33 assert(a.type() == typeid(small));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.observers/ |
H A D | type.pass.cpp | 31 small const s(1); 33 assert(a.type() == typeid(small));
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.assign/ |
H A D | copy.pass.cpp | 105 // small 107 any a((small(1))); 108 assert(small::count == 1); 112 assert(small::count == 1); 113 assertContains<small>(a, 1); 116 assert(small::count == 0); 161 any lhs((small(2))); 163 assert(small::count == 1); 168 assert(small::count == 1); 170 assertContains<small>(lh [all...] |
H A D | value.pass.cpp | 143 any lhs((small(2))); 145 assert(small::count == 1); 150 assert(small::count == 1); 152 assertContains<small>(lhs, 2); 172 test_assign_value<small, large>(); 173 test_assign_value<large, small>(); 174 test_assign_value_empty<small>();
|
H A D | move.pass.cpp | 100 test_move_assign<small, large>(); 101 test_move_assign<large, small>(); 102 test_move_assign_empty<small>();
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/any/any.class/any.assign/ |
H A D | copy.pass.cpp | 110 // small 112 any a((small(1))); 113 assert(small::count == 1); 117 assert(small::count == 1); 118 assertContains<small>(a, 1); 121 assert(small::count == 0); 166 any lhs((small(2))); 168 assert(small::count == 1); 173 assert(small::count == 1); 175 assertContains<small>(lh [all...] |
H A D | move.pass.cpp | 111 test_move_assign<small, large>(); 112 test_move_assign<large, small>(); 113 test_move_assign_empty<small>();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.assign/ |
H A D | copy.pass.cpp | 105 // small 107 any a((small(1))); 108 assert(small::count == 1); 112 assert(small::count == 1); 113 assertContains<small>(a, 1); 116 assert(small::count == 0); 161 any lhs((small(2))); 163 assert(small::count == 1); 168 assert(small::count == 1); 170 assertContains<small>(lh [all...] |
H A D | value.pass.cpp | 143 any lhs((small(2))); 145 assert(small::count == 1); 150 assert(small::count == 1); 152 assertContains<small>(lhs, 2); 172 test_assign_value<small, large>(); 173 test_assign_value<large, small>(); 174 test_assign_value_empty<small>();
|
H A D | move.pass.cpp | 100 test_move_assign<small, large>(); 101 test_move_assign<large, small>(); 102 test_move_assign_empty<small>();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/any/any.class/any.assign/ |
H A D | copy.pass.cpp | 110 // small 112 any a((small(1))); 113 assert(small::count == 1); 117 assert(small::count == 1); 118 assertContains<small>(a, 1); 121 assert(small::count == 0); 166 any lhs((small(2))); 168 assert(small::count == 1); 173 assert(small::count == 1); 175 assertContains<small>(lh [all...] |
H A D | move.pass.cpp | 111 test_move_assign<small, large>(); 112 test_move_assign<large, small>(); 113 test_move_assign_empty<small>();
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/unord.hash/ |
H A D | enum.pass.cpp | 47 const bool small = std::integral_constant<bool, sizeof(T) <= sizeof(std::size_t)>::value; // avoid compiler warnings 48 if (small)
|