Searched refs:NCDeleter (Results 1 – 9 of 9) sorted by relevance
/external/libcxx/test/support/ |
D | deleter_types.h | 215 class NCDeleter 218 NCDeleter(NCDeleter const&); 219 NCDeleter& operator=(NCDeleter const&); 222 NCDeleter() : state_(0) {} in NCDeleter() function 223 explicit NCDeleter(int s) : state_(s) {} in NCDeleter() function 224 ~NCDeleter() {assert(state_ >= 0); state_ = -1;} in ~NCDeleter() 234 class NCDeleter<T[]> 237 NCDeleter(NCDeleter const&); 238 NCDeleter& operator=(NCDeleter const&); 241 NCDeleter() : state_(0) {} in NCDeleter() function [all …]
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
D | move02.pass.cpp | 55 std::unique_ptr<A[], NCDeleter<A[]>&> 58 static NCDeleter<A[]> d; in source3() 59 return std::unique_ptr<A[], NCDeleter<A[]>&>(new A[3], d); in source3() 62 void sink3(std::unique_ptr<A[], NCDeleter<A[]>&>) in sink3()
|
D | move01.pass.cpp | 58 NCDeleter<A[]> d; in main() 59 std::unique_ptr<A[], NCDeleter<A[]>&> s(new A[3], d); in main() 61 std::unique_ptr<A[], NCDeleter<A[]>&> s2 = std::move(s); in main()
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
D | pointer.pass.cpp | 90 std::unique_ptr<A, NCDeleter<A> > s(p); in test_pointer() 112 std::unique_ptr<A, NCDeleter<A> > s(p); in test_derived() 132 StoresIncomplete< NCDeleter<IncompleteT> > s(p); in test_incomplete()
|
D | move.pass.cpp | 57 typedef std::unique_ptr<A, NCDeleter<A>& > APtrSource3; 77 static NCDeleter<A> d(5); in source3() 116 typedef NCDeleter<A> NonCopyDel; in main()
|
D | move_convert.pass.cpp | 130 typedef std::unique_ptr<A, NCDeleter<A>& > APtr; in main() 131 typedef std::unique_ptr<B, NCDeleter<A>& > BPtr; in main() 132 NCDeleter<A> del(5); in main()
|
D | pointer_deleter.pass.cpp | 84 NCDeleter<A> d(5); in main() 85 std::unique_ptr<A, NCDeleter<A>&> s(p, d); in main()
|
D | default.pass.cpp | 52 std::unique_ptr<int, NCDeleter<int> > p; in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/ |
D | hash_unique_ptr.pass.cpp | 79 test_enabled_with_deleter<int, NCDeleter<int>&>(); in main() 80 test_enabled_with_deleter<int[], NCDeleter<int[]>&>(); in main()
|