/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
reset.pass.cpp | 25 const int expect_alive = IsArray ? 3 : 1; local 34 std::unique_ptr<VT> p(newValue<VT>(expect_alive)); 35 assert(A::count == expect_alive); 38 A* new_value = newValue<VT>(expect_alive); 39 assert(A::count == (expect_alive * 2)); 41 assert(A::count == expect_alive); 46 std::unique_ptr<const VT> p(newValue<const VT>(expect_alive)); 47 assert(A::count == expect_alive); 50 A* new_value = newValue<VT>(expect_alive); 51 assert(A::count == (expect_alive * 2)) 62 const int expect_alive = IsArray ? 3 : 1; local 86 const int expect_alive = IsArray ? 3 : 1; local [all...] |
release.pass.cpp | 25 const int expect_alive = IsArray ? 3 : 1; local 34 std::unique_ptr<VT> p(newValue<VT>(expect_alive)); 35 assert(A::count == expect_alive); 38 assert(A::count == expect_alive);
|
swap.pass.cpp | 54 const int expect_alive = IsArray ? 5 : 1; local 63 TT* p1 = newValueInit<VT>(expect_alive, 1); 65 TT* p2 = newValueInit<VT>(expect_alive, 2); 80 assert(TT::count == (expect_alive * 2));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
reset.pass.cpp | 25 const int expect_alive = IsArray ? 3 : 1; local 34 std::unique_ptr<VT> p(newValue<VT>(expect_alive)); 35 assert(A::count == expect_alive); 38 A* new_value = newValue<VT>(expect_alive); 39 assert(A::count == (expect_alive * 2)); 41 assert(A::count == expect_alive); 46 std::unique_ptr<const VT> p(newValue<const VT>(expect_alive)); 47 assert(A::count == expect_alive); 50 A* new_value = newValue<VT>(expect_alive); 51 assert(A::count == (expect_alive * 2)) 62 const int expect_alive = IsArray ? 3 : 1; local 86 const int expect_alive = IsArray ? 3 : 1; local [all...] |
release.pass.cpp | 25 const int expect_alive = IsArray ? 3 : 1; local 34 std::unique_ptr<VT> p(newValue<VT>(expect_alive)); 35 assert(A::count == expect_alive); 38 assert(A::count == expect_alive);
|
swap.pass.cpp | 54 const int expect_alive = IsArray ? 5 : 1; local 63 TT* p1 = newValueInit<VT>(expect_alive, 1); 65 TT* p2 = newValueInit<VT>(expect_alive, 2); 80 assert(TT::count == (expect_alive * 2));
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
null.pass.cpp | 25 const int expect_alive = IsArray ? 5 : 1; local 27 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 28 assert(A::count == expect_alive);
|
nullptr.pass.cpp | 26 const int expect_alive = IsArray ? 5 : 1; local 28 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 29 assert(A::count == expect_alive);
|
move.pass.cpp | 35 const int expect_alive = IsArray ? 5 : 1; local 37 std::unique_ptr<VT> s1(newValue<VT>(expect_alive)); 39 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 40 assert(A::count == (expect_alive * 2)); 42 assert(A::count == expect_alive); 48 std::unique_ptr<VT, Deleter<VT> > s1(newValue<VT>(expect_alive), 51 std::unique_ptr<VT, Deleter<VT> > s2(newValue<VT>(expect_alive)); 52 assert(A::count == (expect_alive * 2)); 56 assert(A::count == expect_alive); 63 std::unique_ptr<VT, CDeleter<VT>&> s1(newValue<VT>(expect_alive), d1) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
null.pass.cpp | 25 const int expect_alive = IsArray ? 5 : 1; local 27 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 28 assert(A::count == expect_alive);
|
nullptr.pass.cpp | 26 const int expect_alive = IsArray ? 5 : 1; local 28 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 29 assert(A::count == expect_alive);
|
move.pass.cpp | 35 const int expect_alive = IsArray ? 5 : 1; local 37 std::unique_ptr<VT> s1(newValue<VT>(expect_alive)); 39 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 40 assert(A::count == (expect_alive * 2)); 42 assert(A::count == expect_alive); 48 std::unique_ptr<VT, Deleter<VT> > s1(newValue<VT>(expect_alive), 51 std::unique_ptr<VT, Deleter<VT> > s2(newValue<VT>(expect_alive)); 52 assert(A::count == (expect_alive * 2)); 56 assert(A::count == expect_alive); 63 std::unique_ptr<VT, CDeleter<VT>&> s1(newValue<VT>(expect_alive), d1) [all...] |
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
pointer.pass.cpp | 43 const int expect_alive = IsArray ? 5 : 1; local 59 A* p = newValue<ValueT>(expect_alive); 60 assert(A::count == expect_alive); 66 A* p = newValue<ValueT>(expect_alive); 67 assert(A::count == expect_alive);
|
move.pass.cpp | 87 const int expect_alive = IsArray ? 5 : 1; local 90 APtr s(newValue<VT>(expect_alive)); 95 assert(A::count == expect_alive); 102 APtr s(newValue<VT>(expect_alive), std::move(d)); 109 assert(A::count == expect_alive); 119 APtr s(newValue<VT>(expect_alive), d); 124 assert(A::count == expect_alive);
|
pointer_deleter.pass.cpp | 210 const int expect_alive = IsArray ? 5 : 1; local 212 A* p = newValue<VT>(expect_alive); 213 assert(A::count == expect_alive); 220 A* p = newValue<VT>(expect_alive); 221 assert(A::count == expect_alive); 231 A* p = newValue<VT>(expect_alive); 232 assert(A::count == expect_alive); 243 A* p = newValue<VT>(expect_alive); 244 assert(A::count == expect_alive);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
pointer.pass.cpp | 43 const int expect_alive = IsArray ? 5 : 1; local 59 A* p = newValue<ValueT>(expect_alive); 60 assert(A::count == expect_alive); 66 A* p = newValue<ValueT>(expect_alive); 67 assert(A::count == expect_alive);
|
move.pass.cpp | 87 const int expect_alive = IsArray ? 5 : 1; local 90 APtr s(newValue<VT>(expect_alive)); 95 assert(A::count == expect_alive); 102 APtr s(newValue<VT>(expect_alive), std::move(d)); 109 assert(A::count == expect_alive); 119 APtr s(newValue<VT>(expect_alive), d); 124 assert(A::count == expect_alive);
|
pointer_deleter.pass.cpp | 210 const int expect_alive = IsArray ? 5 : 1; local 212 A* p = newValue<VT>(expect_alive); 213 assert(A::count == expect_alive); 220 A* p = newValue<VT>(expect_alive); 221 assert(A::count == expect_alive); 231 A* p = newValue<VT>(expect_alive); 232 assert(A::count == expect_alive); 243 A* p = newValue<VT>(expect_alive); 244 assert(A::count == expect_alive);
|
/external/libcxx/test/support/ |
unique_ptr_test_helper.h | 100 void doIncompleteTypeTest(int expect_alive, Args&&... ctor_args) { 102 checkNumIncompleteTypeAlive(expect_alive); 105 checkNumIncompleteTypeAlive(expect_alive); 106 if (expect_alive == 0)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
unique_ptr_test_helper.h | 100 void doIncompleteTypeTest(int expect_alive, Args&&... ctor_args) { 102 checkNumIncompleteTypeAlive(expect_alive); 105 checkNumIncompleteTypeAlive(expect_alive); 106 if (expect_alive == 0)
|