Home
last modified time | relevance | path

Searched refs:NCDeleter (Results 1 – 9 of 9) sorted by relevance

/external/libcxx/test/support/
Ddeleter_types.h215 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/
Dmove02.pass.cpp55 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()
Dmove01.pass.cpp58 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/
Dpointer.pass.cpp90 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()
Dmove.pass.cpp57 typedef std::unique_ptr<A, NCDeleter<A>& > APtrSource3;
77 static NCDeleter<A> d(5); in source3()
116 typedef NCDeleter<A> NonCopyDel; in main()
Dmove_convert.pass.cpp130 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()
Dpointer_deleter.pass.cpp84 NCDeleter<A> d(5); in main()
85 std::unique_ptr<A, NCDeleter<A>&> s(p, d); in main()
Ddefault.pass.cpp52 std::unique_ptr<int, NCDeleter<int> > p; in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/
Dhash_unique_ptr.pass.cpp79 test_enabled_with_deleter<int, NCDeleter<int>&>(); in main()
80 test_enabled_with_deleter<int[], NCDeleter<int[]>&>(); in main()