/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
D | move_convert08.fail.cpp | 46 class Deleter class 51 Deleter(const Deleter&); 52 Deleter& operator=(const Deleter&); 54 Deleter(Deleter&); 55 Deleter& operator=(Deleter&); 60 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter() function in Deleter 61 Deleter& operator=(Deleter&& r) in operator =() 68 operator std::__rv<Deleter>() {return std::__rv<Deleter>(*this);} 69 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} 70 Deleter& operator=(std::__rv<Deleter> r) [all …]
|
D | move_convert11.fail.cpp | 46 class Deleter class 51 Deleter(const Deleter&); 52 Deleter& operator=(const Deleter&); 54 Deleter(Deleter&); 55 Deleter& operator=(Deleter&); 60 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter() function in Deleter 61 Deleter& operator=(Deleter&& r) in operator =() 68 operator std::__rv<Deleter>() {return std::__rv<Deleter>(*this);} 69 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;} 70 Deleter& operator=(std::__rv<Deleter> r) [all …]
|
D | pointer01.fail.cpp | 19 class Deleter class 22 Deleter() {} in Deleter() function in Deleter 26 Deleter(Deleter&) {} in Deleter() argument 27 Deleter& operator=(Deleter&) {} in operator =() argument 34 std::unique_ptr<int, Deleter> p(new int); in main()
|
D | default01.fail.cpp | 19 class Deleter class 22 Deleter() {} in Deleter() function in Deleter 26 Deleter(Deleter&) {} in Deleter() argument 27 Deleter& operator=(Deleter&) {} in operator =() argument 34 std::unique_ptr<int, Deleter> p; in main()
|
D | nullptr.pass.cpp | 20 class Deleter class 24 Deleter(Deleter&); 25 Deleter& operator=(Deleter&); 28 Deleter() : state_(5) {} in Deleter() function in Deleter 42 std::unique_ptr<int, Deleter> p(nullptr); in main()
|
D | move_convert.pass.cpp | 103 template <class APtr, class BPtr, class Deleter> 105 void testMoveConvertExplicit(Deleter&& del) { 107 void testMoveConvert(Deleter& del) { 111 BPtr s(new B, std::forward<Deleter>(del)); 125 template <class APtr, class BPtr, class Deleter> 127 void testMoveConvertImplicit(Deleter&& del) { 129 void testMoveConvertImplicit(Deleter& del) { 133 BPtr s(new B, std::forward<Deleter>(del)); 154 typedef std::unique_ptr<A, Deleter<A> > APtr; 155 typedef std::unique_ptr<B, Deleter<B> > BPtr; [all …]
|
/external/libcxx/test/std/utilities/memory/unique.ptr/ |
D | deleter.h | 28 class Deleter 32 Deleter(const Deleter&); 33 Deleter& operator=(const Deleter&); 36 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter() function 37 Deleter& operator=(Deleter&& r) 45 Deleter() : state_(0) {} in Deleter() function 46 explicit Deleter(int s) : state_(s) {} in Deleter() function 47 ~Deleter() {assert(state_ >= 0); state_ = -1;} in ~Deleter() 50 Deleter(Deleter<U>&& d, 56 Deleter(const Deleter<U>& d, [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deUniquePtr.hpp | 124 template<typename T, class Deleter = DefaultDeleter<T> > 125 class MovePtr : public UniqueBase<T, Deleter> 128 MovePtr (void) : UniqueBase<T, Deleter> (DE_NULL, Deleter()) {} in MovePtr() 129 …explicit MovePtr (T* ptr, Deleter deleter = Deleter()) : UniqueBase<T, Deleter> (ptr, deleter) … in MovePtr() 130 MovePtr (MovePtr<T, Deleter>& other) : UniqueBase<T, Deleter> (other.releaseData()) {} in MovePtr() 132 MovePtr& operator= (MovePtr<T, Deleter>& other); 140 MovePtr (PtrData<T, Deleter> data) : UniqueBase<T, Deleter> (data) {} in MovePtr() 141 MovePtr& operator= (PtrData<T, Deleter> data); 200 template<typename T, class Deleter = DefaultDeleter<T> > 201 class UniquePtr : public UniqueBase<T, Deleter> [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkRef.hpp | 74 class Deleter class 77 …Deleter (const DeviceInterface& deviceIface, VkDevice device, const VkAllocationCallbacks* alloca… in Deleter() function in vk::refdetails::Deleter 82 Deleter (void) in Deleter() function in vk::refdetails::Deleter 97 class Deleter<VkInstance> class 100 …Deleter (const PlatformInterface& platformIface, VkInstance instance, const VkAllocationCallbacks… in Deleter() function in vk::refdetails::Deleter 104 Deleter (void) in Deleter() function in vk::refdetails::Deleter 117 class Deleter<VkDevice> class 120 …Deleter (const InstanceInterface& instanceIface, VkDevice device, const VkAllocationCallbacks* al… in Deleter() function in vk::refdetails::Deleter 124 Deleter (void) in Deleter() function in vk::refdetails::Deleter 137 class Deleter<VkSurfaceKHR> class [all …]
|
D | vkRefUtilImpl.inl | 8 void Deleter<VkDeviceMemory>::operator() (VkDeviceMemory obj) const 14 void Deleter<VkFence>::operator() (VkFence obj) const 20 void Deleter<VkSemaphore>::operator() (VkSemaphore obj) const 26 void Deleter<VkEvent>::operator() (VkEvent obj) const 32 void Deleter<VkQueryPool>::operator() (VkQueryPool obj) const 38 void Deleter<VkBuffer>::operator() (VkBuffer obj) const 44 void Deleter<VkBufferView>::operator() (VkBufferView obj) const 50 void Deleter<VkImage>::operator() (VkImage obj) const 56 void Deleter<VkImageView>::operator() (VkImageView obj) const 62 void Deleter<VkShaderModule>::operator() (VkShaderModule obj) const [all …]
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
D | eq.pass.cpp | 51 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() 52 const std::unique_ptr<A, Deleter<A> > p2(new A); in main() 57 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() 58 const std::unique_ptr<B, Deleter<B> > p2(new B); in main() 63 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() 64 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); in main() 69 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() 70 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]); in main() 75 const std::unique_ptr<A, Deleter<A> > p1; in main() 76 const std::unique_ptr<A, Deleter<A> > p2; in main() [all …]
|
D | rel.pass.cpp | 59 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() 60 const std::unique_ptr<A, Deleter<A> > p2(new A); in main() 66 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() 67 const std::unique_ptr<B, Deleter<B> > p2(new B); in main() 73 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() 74 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); in main() 80 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() 81 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]); in main() 87 const std::unique_ptr<A, Deleter<A> > p1; in main() 88 const std::unique_ptr<A, Deleter<A> > p2; in main() [all …]
|
D | swap.pass.cpp | 41 std::unique_ptr<A, Deleter<A> > s1(p1, Deleter<A>(1)); in main() 43 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2)); in main() 62 std::unique_ptr<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1)); in main() 64 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2)); in main()
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.dtor/ |
D | null.pass.cpp | 19 class Deleter class 23 Deleter(Deleter&); 24 Deleter& operator=(Deleter&); 27 Deleter() : state_(0) {} in Deleter() function in Deleter 36 Deleter d; in main() 39 std::unique_ptr<int, Deleter&> p(0, d); in main()
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/ |
D | null_ctor.pass.cpp | 19 class Deleter class 23 Deleter(Deleter&); 24 Deleter& operator=(Deleter&); 27 Deleter() : state_(0) {} in Deleter() function in Deleter 36 Deleter d; in main() 39 std::unique_ptr<int[], Deleter&> p(0, d); in main()
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
D | pointer01.fail.cpp | 20 class Deleter class 23 Deleter() {} in Deleter() function in Deleter 27 Deleter(Deleter&) {} in Deleter() argument 28 Deleter& operator=(Deleter&) {} in operator =() argument 35 std::unique_ptr<int[], Deleter> p(new int); in main()
|
D | default01.fail.cpp | 21 class Deleter class 25 Deleter() {} // expected-note {{implicitly declared private here}} in Deleter() function in Deleter 29 Deleter(Deleter&) {} in Deleter() function in Deleter 30 Deleter& operator=(Deleter&) { return *this; } in operator =() argument 37 std::unique_ptr<int[], Deleter> p; in main()
|
D | pointer_deleter04.pass.cpp | 31 class Deleter class 35 Deleter(const Deleter&); 36 Deleter& operator=(const Deleter&); 39 Deleter() : state_(5) {} in Deleter() function in Deleter 52 Deleter d; in main() 53 std::unique_ptr<A[], const Deleter&> s(p, d); in main()
|
D | pointer_deleter03.pass.cpp | 31 class Deleter class 35 Deleter(const Deleter&); 36 Deleter& operator=(const Deleter&); 39 Deleter() : state_(5) {} in Deleter() function in Deleter 52 Deleter d; in main() 53 std::unique_ptr<A[], Deleter&> s(p, d); in main()
|
D | default01.pass.cpp | 21 class Deleter class 25 Deleter(Deleter&); 26 Deleter& operator=(Deleter&); 29 Deleter() : state_(5) {} in Deleter() function in Deleter 43 std::unique_ptr<int[], Deleter> p; in main()
|
D | nullptr.pass.cpp | 20 class Deleter class 24 Deleter(Deleter&); 25 Deleter& operator=(Deleter&); 28 Deleter() : state_(5) {} in Deleter() function in Deleter 42 std::unique_ptr<int[], Deleter> p(nullptr); in main()
|
D | default02.pass.cpp | 23 class Deleter class 27 Deleter(Deleter&); 28 Deleter& operator=(Deleter&); 31 Deleter() : state_(5) {} in Deleter() function in Deleter 59 B<Deleter> s; in main() 76 void Deleter::operator()(A* p) {delete p;} in operator ()()
|
D | pointer04.fail.cpp | 42 class Deleter class 46 Deleter(Deleter&); 47 Deleter& operator=(Deleter&); 50 Deleter() : state_(5) {} in Deleter() function in Deleter 65 std::unique_ptr<A[], Deleter> s(p); in main()
|
D | pointer02.pass.cpp | 23 class Deleter class 27 Deleter(Deleter&); 28 Deleter& operator=(Deleter&); 31 Deleter() : state_(5) {} in Deleter() function in Deleter 65 B<Deleter> s(p); in main() 84 void Deleter::operator()(A* p) {delete [] p;} in operator ()()
|
D | pointer01.pass.cpp | 31 class Deleter class 35 Deleter(Deleter&); 36 Deleter& operator=(Deleter&); 39 Deleter() : state_(5) {} in Deleter() function in Deleter 58 std::unique_ptr<A[], Deleter> s(p); in main()
|