Searched defs:Deleter (Results 1 - 25 of 59) sorted by relevance

123

/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/
H A Dpointer_type.pass.cpp19 struct Deleter struct
31 typedef std::unique_ptr<int[], Deleter> P;
32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
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.runtime/unique.ptr.runtime.ctor/
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 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 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 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);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/
H A Dpointer_type.pass.cpp19 struct Deleter struct
31 typedef std::unique_ptr<int, Deleter> P;
32 static_assert((std::is_same<P::pointer, Deleter::pointer>::value), "");
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
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 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 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 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 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 Dmove01.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/unique.ptr.runtime.observers/
H A Dget_deleter.pass.cpp19 struct Deleter struct
30 std::unique_ptr<int[], Deleter> p;
34 const std::unique_ptr<int[], Deleter> p;
/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/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.observers/
H A Dget_deleter.pass.cpp19 struct Deleter struct
30 std::unique_ptr<int, Deleter> p;
34 const std::unique_ptr<int, Deleter> p;
/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/chromium_org/ui/wm/core/
H A Ddefault_activation_client.cc14 class DefaultActivationClient::Deleter : public aura::WindowObserver { class in class:wm::DefaultActivationClient
16 Deleter(DefaultActivationClient* client, aura::Window* root_window) function in class:wm::DefaultActivationClient::Deleter
23 virtual ~Deleter() {}
36 DISALLOW_COPY_AND_ASSIGN(Deleter);
45 new Deleter(this, root_window);

Completed in 244 milliseconds

123