Home
last modified time | relevance | path

Searched refs:Deleter (Results 1 – 25 of 55) sorted by relevance

123

/third_party/boost/boost/interprocess/smart_ptr/
Dshared_ptr.hpp51 template<class T, class VoidAllocator, class Deleter> class weak_ptr;
52 template<class T, class VoidAllocator, class Deleter> class enable_shared_from_this;
56 template<class T, class VoidAllocator, class Deleter>
58 (shared_count<T, VoidAllocator, Deleter> const & pn in sp_enable_shared_from_this()
59 ,enable_shared_from_this<T, VoidAllocator, Deleter> *pe in sp_enable_shared_from_this()
69 template<class T, class VoidAllocator, class Deleter>
70 inline void sp_enable_shared_from_this(shared_count<T, VoidAllocator, Deleter> const &, ...) in sp_enable_shared_from_this()
94 template<class T, class VoidAllocator, class Deleter>
99 typedef shared_ptr<T, VoidAllocator, Deleter> this_type;
115 rebind_pointer<const Deleter>::type const_deleter_pointer;
[all …]
Dscoped_ptr.hpp48 template<class T, class Deleter>
50 : private Deleter
56 typedef scoped_ptr<T, Deleter> this_type;
63 typedef Deleter deleter_type;
64 typedef typename ipcdetail::pointer_type<T, Deleter>::type pointer;
68 explicit scoped_ptr(const pointer &p = 0, const Deleter &d = Deleter()) in scoped_ptr()
69 : Deleter(d), m_ptr(p) // throws if pointer/Deleter copy ctor throws in scoped_ptr()
77 Deleter &del = static_cast<Deleter&>(*this); in ~scoped_ptr()
89 void reset(const pointer &p, const Deleter &d) // never throws in reset()
138 ::boost::adl_move_swap(static_cast<Deleter&>(*this), static_cast<Deleter&>(b)); in swap()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeUniquePtr.hpp124 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 …]
DdeSharedPtr.hpp67 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()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRef.hpp74 class Deleter class
77Deleter (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
100Deleter (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
120Deleter (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 …]
DvkRefUtil.cpp39 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()
61 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createRayTracingPipelineNV()
73 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createRayTracingPipelineKHR()
81 …return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, … in allocateCommandBuffer()
89 …return Move<VkDescriptorSet>(check<VkDescriptorSet>(object), Deleter<VkDescriptorSet>(vk, device, … in allocateDescriptorSet()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkRefUtilImpl.inl8 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 …]
/third_party/boost/libs/move/test/
Dunique_ptr_types.cpp43 struct Deleter struct
57 typedef bml::unique_ptr<int, Deleter> P; in test()
58 BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, Deleter::pointer>::value)); in test()
66 typedef bml::unique_ptr<int[], Deleter> P; in test()
67 BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, Deleter::pointer>::value)); in test()
75 typedef bml::unique_ptr<int[5], Deleter> P; in test()
76 BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, Deleter::pointer>::value)); in test()
86 typedef bml::unique_ptr<int_5_t[], Deleter> P; in test()
87 BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, Deleter::pointer>::value)); in test()
98 struct Deleter struct
[all …]
Dunique_ptr_observers.cpp184 struct Deleter struct
196 bml::unique_ptr<int, Deleter> p; in test()
200 const bml::unique_ptr<int, Deleter> p; in test()
205 bml::unique_ptr<int[], Deleter> p; in test()
209 const bml::unique_ptr<int[], Deleter> p; in test()
214 bml::unique_ptr<int[2], Deleter> p; in test()
218 const bml::unique_ptr<int[2], Deleter> p; in test()
/third_party/boost/boost/interprocess/smart_ptr/detail/
Dshared_count.hpp43 template<class T, class VoidAllocator, class Deleter>
46 template<class T, class VoidAllocator, class Deleter>
55 typedef sp_counted_impl_pd<VoidAllocator, Deleter> counted_impl;
71 rebind_pointer<const Deleter>::type const_deleter_pointer;
98 shared_count(const Ptr &p, const VoidAllocator &a, Deleter d) in shared_count()
134 explicit shared_count(shared_count<Y, VoidAllocator, Deleter> const & r) in shared_count()
140 explicit shared_count(const pointer & ptr, shared_count<Y, VoidAllocator, Deleter> const & r) in shared_count()
155 explicit shared_count(weak_count<Y, VoidAllocator, Deleter> const & r) in shared_count()
183 shared_count & operator= (shared_count<Y, VoidAllocator, Deleter> const & r) // nothrow in operator =()
219 template<class T, class VoidAllocator, class Deleter, class T2, class VoidAllocator2, class Deleter…
[all …]
/third_party/re2/re2/
Dpod_array.h22 : ptr_(std::allocator<T>().allocate(len), Deleter(len)) {} in PODArray()
37 struct Deleter { struct
38 Deleter() in Deleter() function
40 explicit Deleter(int len) in Deleter() argument
50 std::unique_ptr<T[], Deleter> ptr_; argument
/third_party/boost/boost/ptr_container/detail/
Dstatic_move_ptr.hpp39 typename Deleter =
46 typedef Deleter deleter_type;
52 typedef boost::compressed_pair<element_type*, Deleter> impl_type;
69 static_move_ptr( const move_ptrs::move_source<static_move_ptr<T,Deleter> >& src ) in static_move_ptr()
79 static_move_ptr(TT* tt, Deleter del) in static_move_ptr()
134 void reset(TT* tt, Deleter dd) in reset()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dmemory.h97 struct MARL_EXPORT Deleter { struct
98 MARL_NO_EXPORT inline Deleter();
99 MARL_NO_EXPORT inline Deleter(Allocator* allocator, size_t count);
110 using unique_ptr = std::unique_ptr<T, Deleter>;
156 Allocator::Deleter::Deleter() : allocator(nullptr) {} in Deleter() function
157 Allocator::Deleter::Deleter(Allocator* allocator, size_t count) in Deleter() function
161 void Allocator::Deleter::operator()(T* object) { in operator()
217 return unique_ptr<T>(reinterpret_cast<T*>(alloc.ptr), Deleter{this, n}); in make_unique_n()
229 return std::shared_ptr<T>(reinterpret_cast<T*>(alloc.ptr), Deleter{this, 1}); in make_shared()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DManagedStatic.cpp46 void (*Deleter)(void*)) const { in RegisterManagedStatic()
55 DeleterFn = Deleter; in RegisterManagedStatic()
65 DeleterFn = Deleter; in RegisterManagedStatic()
DParallel.cpp80 struct Deleter { struct in llvm::parallel::detail::__anon7d543cf50111::ThreadPoolExecutor
133 ThreadPoolExecutor::Deleter> in getDefaultExecutor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DManagedStatic.h82 class Deleter = object_deleter<C>>
89 RegisterManagedStatic(Creator::call, Deleter::call);
99 RegisterManagedStatic(Creator::call, Deleter::call);
/third_party/cef/include/base/
Dcef_bind.h220 template <typename T, typename Deleter>
221 inline internal::OwnedWrapper<T, Deleter> Owned( in Owned()
222 std::unique_ptr<T, Deleter>&& ptr) { in Owned()
223 return internal::OwnedWrapper<T, Deleter>(std::move(ptr)); in Owned()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DManagedStatic.cpp49 void (*Deleter)(void*)) const { in RegisterManagedStatic()
57 DeleterFn = Deleter; in RegisterManagedStatic()
/third_party/skia/src/core/
DSkStrikeForGPU.h60 struct Deleter { struct
67 using SkScopedStrikeForGPU = std::unique_ptr<SkStrikeForGPU, SkStrikeForGPU::Deleter>; argument
/third_party/flutter/skia/src/core/
DSkStrikeInterface.h88 struct Deleter { struct
95 using SkScopedStrike = std::unique_ptr<SkStrikeInterface, SkStrikeInterface::Deleter>; argument
/third_party/boost/boost/interprocess/
Dinterprocess_fwd.hpp489 template<class T, class Deleter>
495 template<class T, class VoidAllocator, class Deleter>
498 template<class T, class VoidAllocator, class Deleter>
/third_party/openssl/test/ossl_shim/include/openssl/
Dbase.h34 struct Deleter { struct
96 using UniquePtr = std::unique_ptr<T, internal::Deleter<T>>;
/third_party/grpc/src/core/lib/gprpp/
Dorphanable.h66 template <typename T, typename Deleter = OrphanableDelete>
67 using OrphanablePtr = std::unique_ptr<T, Deleter>;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesMipmapSparseResidency.cpp290 …dPtr(Move<VkDeviceMemory>(check<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(d… in iterate()
300 …ve<VkDeviceMemory>(check<VkDeviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(d… in iterate()
317 …ve<VkDeviceMemory>(check<VkDeviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(d… in iterate()
329 …ve<VkDeviceMemory>(check<VkDeviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(d… in iterate()
346 …ve<VkDeviceMemory>(check<VkDeviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(d… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferTests.cpp275 buffer = Move<VkBuffer>(check<VkBuffer>(rawBuffer), Deleter<VkBuffer>(vk, vkDevice, DE_NULL)); in bufferCreateAndAllocTest()
315 …memory = Move<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevi… in bufferCreateAndAllocTest()
491 buffer = Move<VkBuffer>(check<VkBuffer>(rawBuffer), Deleter<VkBuffer>(vk, vkDevice, DE_NULL)); in bufferCreateAndAllocTest()
538 …memory = Move<VkDeviceMemory>(check<VkDeviceMemory>(rawMemory), Deleter<VkDeviceMemory>(vk, vkDevi… in bufferCreateAndAllocTest()

123