/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 …]
|
D | deSharedPtr.hpp | 67 template<typename Type, typename Deleter> 70 SharedPtrState (Type* ptr, Deleter deleter) in SharedPtrState() 89 Deleter m_deleter; 115 template<typename Deleter> 116 SharedPtr (T* ptr, Deleter deleter); 255 template<typename Deleter> 256 inline SharedPtr<T>::SharedPtr (T* ptr, Deleter deleter) in SharedPtr() 263 m_state = new SharedPtrState<T, Deleter>(ptr, deleter); in SharedPtr()
|
/external/libcxx/test/support/ |
D | deleter_types.h | 29 class Deleter 33 Deleter(const Deleter&); 34 Deleter& operator=(const Deleter&); 37 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter() function 38 Deleter& operator=(Deleter&& r) 46 Deleter() : state_(0) {} in Deleter() function 47 explicit Deleter(int s) : state_(s) {} in Deleter() function 48 ~Deleter() {assert(state_ >= 0); state_ = -1;} in ~Deleter() 51 Deleter(Deleter<U>&& d, 57 Deleter(const Deleter<U>& d, [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
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 …]
|
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 PlatformInterface& platformIface, VkInstance instance, VkDevice device, const VkAl… in Deleter() function in vk::refdetails::Deleter 126 Deleter (void) in Deleter() function in vk::refdetails::Deleter 139 class Deleter<VkSurfaceKHR> class [all …]
|
D | vkRefUtil.cpp | 39 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createGraphicsPipeline() 50 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createComputePipeline() 58 …return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, … in allocateCommandBuffer() 66 …return Move<VkDescriptorSet>(check<VkDescriptorSet>(object), Deleter<VkDescriptorSet>(vk, device, … in allocateDescriptorSet()
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
D | get_deleter.pass.cpp | 20 struct Deleter { struct 21 Deleter() {} in Deleter() function 33 std::unique_ptr<int, Deleter> p; in test_basic() argument 37 const std::unique_ptr<VT, Deleter> p; in test_basic() 41 typedef std::unique_ptr<VT, const Deleter&> UPtr; in test_basic() 42 const Deleter d; in test_basic() 45 ASSERT_SAME_TYPE(decltype(p.get_deleter()), const Deleter&); in test_basic() 46 ASSERT_SAME_TYPE(decltype(cp.get_deleter()), const Deleter&); in test_basic() 51 typedef std::unique_ptr<VT, Deleter&> UPtr; in test_basic() 52 Deleter d; in test_basic() [all …]
|
/external/libcxx/test/std/utilities/smartptr/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 | 52 std::unique_ptr<A, Deleter<A> > s1(p1, Deleter<A>(1)); in main() 54 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2)); in main() 73 std::unique_ptr<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1)); in main() 75 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2)); in main()
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.dtor/ |
D | null.pass.cpp | 19 class Deleter { class 22 Deleter(Deleter&); 23 Deleter& operator=(Deleter&); 26 Deleter() : state_(0) {} in Deleter() function in Deleter 35 Deleter d; in test_basic() 38 std::unique_ptr<T, Deleter&> p(nullptr, d); in test_basic()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | GCMetadata.cpp | 42 class Deleter : public FunctionPass { class 46 Deleter(); 187 char Deleter::ID = 0; 190 return new Deleter(); in createGCInfoDeleter() 193 Deleter::Deleter() : FunctionPass(ID) {} in Deleter() function in Deleter 195 const char *Deleter::getPassName() const { in getPassName() 199 void Deleter::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage() 204 bool Deleter::runOnFunction(Function &MF) { in runOnFunction() 208 bool Deleter::doFinalization(Module &M) { in doFinalization()
|
/external/swiftshader/third_party/stlport-cpp11-extension/ |
D | memory | 64 // TODO(haining) Work with Deleter 261 template <typename T, typename Deleter> 266 explicit UniquePtrBase(T* ptr, Deleter d) : mPtr(ptr), mDeleter(d) {} 292 Deleter& get_deleter() { return mDeleter; } 293 const Deleter& get_deleter() const { return mDeleter; } 315 Deleter mDeleter; 321 template <typename T, typename Deleter = DefaultDelete<T> > 322 class unique_ptr : public workaround_internal::UniquePtrBase<T, Deleter> { 323 typedef workaround_internal::UniquePtrBase<T, Deleter> Base; 327 explicit unique_ptr(T* ptr, Deleter d) : Base(ptr, d) { } [all …]
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
D | swap.pass.cpp | 57 using U = std::unique_ptr<VT, Deleter<VT> >; in test_basic() 64 std::unique_ptr<VT, Deleter<VT> > s1(p1, Deleter<VT>(1)); in test_basic() 66 std::unique_ptr<VT, Deleter<VT> > s2(p2, Deleter<VT>(2)); in test_basic()
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | pointer_deleter.fail.cpp | 22 struct Deleter { struct 28 std::unique_ptr<int, const Deleter&> s((int*)nullptr, Deleter()); in main()
|
D | move.pass.cpp | 47 std::unique_ptr<VT, Deleter<VT> > source2() { in source2() 48 return std::unique_ptr<VT, Deleter<VT> >(newValue<VT>(1), Deleter<VT>(5)); in source2() 63 void sink2(std::unique_ptr<VT, Deleter<VT> > p) { in sink2() 99 typedef Deleter<VT> MoveDel; in test_basic() 149 typedef std::unique_ptr<VT, Deleter<VT> > U; in test_noexcept()
|
D | null.pass.cpp | 33 std::unique_ptr<VT, Deleter<VT> > p(0); in test_pointer_ctor() 47 std::unique_ptr<VT, Deleter<VT> > p(0, Deleter<VT>(5)); in test_pointer_deleter_ctor()
|
/external/clang/test/Analysis/ |
D | dtor.cpp | 35 SmartPointer Deleter(mem); in testSmartPointer() local 46 SmartPointer Deleter(mem); in testSmartPointer2() local 63 Subclass Deleter(mem); in testSubclassSmartPointer() local 80 MultipleInheritance Deleter(mem, 0); in testMultipleInheritance1() local 91 MultipleInheritance Deleter(0, mem); in testMultipleInheritance2() local 102 MultipleInheritance Deleter(mem, mem); in testMultipleInheritance3() local 120 SmartPointerMember Deleter(mem); in testSmartPointerMember() local
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ManagedStatic.cpp | 23 void (*Deleter)(void*)) const { in RegisterManagedStatic() 32 DeleterFn = Deleter; in RegisterManagedStatic() 44 DeleterFn = Deleter; in RegisterManagedStatic()
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/ |
D | pointer_type.pass.cpp | 21 struct Deleter { struct 42 typedef std::unique_ptr<VT, Deleter> P; in test_basic() argument 43 static_assert((std::is_same<typename P::pointer, Deleter::pointer>::value), in test_basic()
|
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/ |
D | function_type_default_deleter.fail.cpp | 21 struct Deleter { struct 36 SPtr<2> s2(getFn<2>(), Deleter{}); // OK in main() argument 37 SPtr<3> s3(nullptr, Deleter{}); // OK in main()
|
/external/llvm/lib/Support/ |
D | ManagedStatic.cpp | 39 void (*Deleter)(void*)) const { in RegisterManagedStatic() 48 DeleterFn = Deleter; in RegisterManagedStatic() 58 DeleterFn = Deleter; in RegisterManagedStatic()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | ManagedStatic.cpp | 39 void (*Deleter)(void*)) const { in RegisterManagedStatic() 48 DeleterFn = Deleter; in RegisterManagedStatic() 58 DeleterFn = Deleter; in RegisterManagedStatic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ManagedStatic.cpp | 36 void (*Deleter)(void*)) const { in RegisterManagedStatic() 45 DeleterFn = Deleter; in RegisterManagedStatic() 55 DeleterFn = Deleter; in RegisterManagedStatic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | ManagedStatic.h | 60 class Deleter = object_deleter<C>> 67 RegisterManagedStatic(Creator::call, Deleter::call); 77 RegisterManagedStatic(Creator::call, Deleter::call);
|