Searched refs:Deleter (Results 1 - 25 of 96) sorted by relevance

1234

/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/
H A Ddefault01.fail.cpp16 // default unique_ptr ctor should require default Deleter ctor
20 class Deleter class
23 Deleter() {} function in class:Deleter
27 Deleter(Deleter&) {} function in class:Deleter
28 Deleter& operator=(Deleter&) {}
35 std::unique_ptr<int[], Deleter> p;
H A Dpointer01.fail.cpp16 // unique_ptr<T[]>(pointer) ctor should require default Deleter ctor
20 class Deleter class
23 Deleter() {} function in class:Deleter
27 Deleter(Deleter&) {} function in class:Deleter
28 Deleter& operator=(Deleter&) {}
35 std::unique_ptr<int[], Deleter> p(new int);
H A Ddefault02.fail.cpp16 // default unique_ptr ctor should require non-reference Deleter ctor
20 class Deleter class
29 std::unique_ptr<int[], Deleter&> p;
H A Dpointer02.fail.cpp18 // unique_ptr<T[]>(pointer) ctor should require non-reference Deleter ctor
19 class Deleter class
28 std::unique_ptr<int[], Deleter&> p(new int);
H A Ddefault01.pass.cpp16 // default unique_ptr ctor should only require default Deleter ctor
21 class Deleter class
25 Deleter(Deleter&);
26 Deleter& operator=(Deleter&);
29 Deleter() : state_(5) {} function in class:Deleter
43 std::unique_ptr<int[], Deleter> p;
H A Dnullptr.pass.cpp19 // default unique_ptr ctor should only require default Deleter ctor
20 class Deleter class
24 Deleter(Deleter&);
25 Deleter& operator=(Deleter&);
28 Deleter() : state_(5) {} function in class:Deleter
42 std::unique_ptr<int[], Deleter> p(nullptr);
H A Dpointer04.fail.cpp42 class Deleter class
46 Deleter(Deleter&);
47 Deleter& operator=(Deleter&);
50 Deleter() : state_(5) {} function in class:Deleter
65 std::unique_ptr<A[], Deleter> s(p);
H A Dpointer_deleter03.pass.cpp31 class Deleter class
35 Deleter(const Deleter&);
36 Deleter& operator=(const Deleter&);
39 Deleter() : state_(5) {} function in class:Deleter
52 Deleter d;
53 std::unique_ptr<A[], Deleter&> s(p, d);
H A Dpointer_deleter04.pass.cpp31 class Deleter class
35 Deleter(const Deleter&);
36 Deleter& operator=(const Deleter&);
39 Deleter() : state_(5) {} function in class:Deleter
52 Deleter d;
53 std::unique_ptr<A[], const Deleter&> s(p, d);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
H A Ddefault01.fail.cpp18 // default unique_ptr ctor should require default Deleter ctor
19 class Deleter class
22 Deleter() {} function in class:Deleter
26 Deleter(Deleter&) {} function in class:Deleter
27 Deleter& operator=(Deleter&) {}
34 std::unique_ptr<int, Deleter> p;
H A Dpointer01.fail.cpp18 // unique_ptr(pointer) ctor should require default Deleter ctor
19 class Deleter class
22 Deleter() {} function in class:Deleter
26 Deleter(Deleter&) {} function in class:Deleter
27 Deleter& operator=(Deleter&) {}
34 std::unique_ptr<int, Deleter> p(new int);
H A Ddefault02.fail.cpp18 // default unique_ptr ctor should require non-reference Deleter ctor
19 class Deleter class
28 std::unique_ptr<int, Deleter&> p;
H A Dpointer02.fail.cpp18 // unique_ptr(pointer) ctor should require non-reference Deleter ctor
19 class Deleter class
28 std::unique_ptr<int, Deleter&> p(new int);
H A Ddefault01.pass.cpp19 // default unique_ptr ctor should only require default Deleter ctor
20 class Deleter class
24 Deleter(Deleter&);
25 Deleter& operator=(Deleter&);
28 Deleter() : state_(5) {} function in class:Deleter
42 std::unique_ptr<int, Deleter> p;
H A Dnullptr.pass.cpp19 // default unique_ptr ctor should only require default Deleter ctor
20 class Deleter class
24 Deleter(Deleter&);
25 Deleter& operator=(Deleter&);
28 Deleter() : state_(5) {} function in class:Deleter
42 std::unique_ptr<int, Deleter> p(nullptr);
H A Dpointer_deleter01.pass.cpp32 class Deleter class
37 Deleter(const Deleter&);
38 Deleter& operator=(const Deleter&);
40 Deleter(Deleter&);
41 Deleter& operator=(Deleter&);
46 Deleter(Delete function in class:Deleter
55 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} function in class:Deleter
64 Deleter() : state_(5) {} function in class:Deleter
68 Deleter(Deleter<U>&& d, function in class:Deleter
78 Deleter(Deleter<U> d, function in class:Deleter
[all...]
H A Dmove_convert13.fail.cpp25 struct Deleter struct
32 std::unique_ptr<A[], Deleter> s;
33 std::unique_ptr<A, Deleter> s2(std::move(s));
H A Dmove02.pass.cpp33 class Deleter class
38 Deleter(const Deleter&);
39 Deleter& operator=(const Deleter&);
41 Deleter(Deleter&);
42 Deleter& operator=(Deleter&);
47 Deleter(Delete function in class:Deleter
56 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} function in class:Deleter
65 Deleter() : state_(5) {} function in class:Deleter
69 Deleter(Deleter<U>&& d, function in class:Deleter
79 Deleter(Deleter<U> d, function in class:Deleter
[all...]
H A Dmove_convert08.fail.cpp45 class Deleter class
50 Deleter(const Deleter&);
51 Deleter& operator=(const Deleter&);
53 Deleter(Deleter&);
54 Deleter& operator=(Deleter&);
59 Deleter(Delete function in class:Deleter
68 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} function in class:Deleter
77 Deleter() : state_(5) {} function in class:Deleter
81 Deleter(Deleter<U>&& d, function in class:Deleter
91 Deleter(Deleter<U> d, function in class:Deleter
[all...]
H A Dmove_convert11.fail.cpp45 class Deleter class
50 Deleter(const Deleter&);
51 Deleter& operator=(const Deleter&);
53 Deleter(Deleter&);
54 Deleter& operator=(Deleter&);
59 Deleter(Delete function in class:Deleter
68 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} function in class:Deleter
77 Deleter() : state_(5) {} function in class:Deleter
81 Deleter(Deleter<U>&& d, function in class:Deleter
91 Deleter(Deleter<U> d, function in class:Deleter
[all...]
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/
H A Dnull_ctor.pass.cpp19 class Deleter class
23 Deleter(Deleter&);
24 Deleter& operator=(Deleter&);
27 Deleter() : state_(0) {} function in class:Deleter
36 Deleter d;
39 std::unique_ptr<int[], Deleter&> p(0, d);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.dtor/
H A Dnull.pass.cpp19 class Deleter class
23 Deleter(Deleter&);
24 Deleter& operator=(Deleter&);
27 Deleter() : state_(0) {} function in class:Deleter
36 Deleter d;
39 std::unique_ptr<int, Deleter&> p(0, d);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/
H A Dmove_convert13.fail.cpp25 struct Deleter struct
32 std::unique_ptr<A[], Deleter> s;
33 std::unique_ptr<A, Deleter> s2;
/external/libcxx/test/utilities/memory/unique.ptr/
H A Ddeleter.h23 class Deleter class
28 Deleter(const Deleter&);
29 Deleter& operator=(const Deleter&);
31 Deleter(Deleter&);
32 Deleter& operator=(Deleter&);
37 Deleter(Delete function in class:Deleter
46 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} function in class:Deleter
55 Deleter() : state_(0) {} function in class:Deleter
56 explicit Deleter(int s) : state_(s) {} function in class:Deleter
61 Deleter(Deleter<U>&& d, function in class:Deleter
71 Deleter(Deleter<U> d, function in class:Deleter
83 class Deleter<T[]> class
97 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} function in class:Deleter
106 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} function in class:Deleter
115 Deleter() : state_(0) {} function in class:Deleter
116 explicit Deleter(int s) : state_(s) {} function in class:Deleter
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeSharedPtr.hpp51 template<class Deleter, bool threadSafe>
54 SharedPtrState (Deleter deleter_)
63 Deleter deleter;
72 template<typename T, class Deleter, bool threadSafe>
75 template<typename T, class Deleter, bool threadSafe>
97 template<typename T, class Deleter = DefaultDeleter<T>, bool threadSafe = true>
102 SharedPtr (const SharedPtr<T, Deleter, threadSafe>& other);
105 explicit SharedPtr (Y* ptr, Deleter deleter = Deleter());
117 SharedPtr& operator= (const SharedPtr<T, Deleter, threadSaf
[all...]

Completed in 176 milliseconds

1234