Searched refs:small (Results 1 - 25 of 93) sorted by relevance

1234

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/any/any.class/any.modifiers/
H A Dclear.pass.cpp43 // 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 Dswap.pass.cpp18 // 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 Dreset.pass.cpp48 // 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 Dswap.pass.cpp23 // 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 Demplace.pass.cpp44 // 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 Dclear.pass.cpp43 // 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 Dswap.pass.cpp18 // 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 Dreset.pass.cpp48 // 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 Dswap.pass.cpp23 // 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 Demplace.pass.cpp44 // 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 Dtype.pass.cpp31 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 Dtype.pass.cpp31 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 Dtype.pass.cpp31 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 Dtype.pass.cpp31 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 Dcopy.pass.cpp105 // 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 Dvalue.pass.cpp143 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 Dmove.pass.cpp100 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 Dcopy.pass.cpp110 // 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 Dmove.pass.cpp111 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 Dcopy.pass.cpp105 // 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 Dvalue.pass.cpp143 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 Dmove.pass.cpp100 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 Dcopy.pass.cpp110 // 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 Dmove.pass.cpp111 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 Denum.pass.cpp47 const bool small = std::integral_constant<bool, sizeof(T) <= sizeof(std::size_t)>::value; // avoid compiler warnings
48 if (small)

Completed in 201 milliseconds

1234