Home
last modified time | relevance | path

Searched refs:deleter (Results 1 – 25 of 53) sorted by relevance

123

/third_party/node/deps/icu-small/source/common/
Duvector.cpp45 deleter(d), in UVector()
78 if (elements[i].pointer != nullptr && deleter != nullptr) { in assign()
79 (*deleter)(elements[i].pointer); in assign()
111 U_ASSERT(deleter == nullptr); in addElement()
118 U_ASSERT(deleter != nullptr); in adoptElement()
122 (*deleter)(obj); in adoptElement()
126 U_ASSERT(deleter == nullptr); // Usage error. Mixing up ints and pointers. in addElement()
136 if (elements[index].pointer != nullptr && deleter != nullptr) { in setElementAt()
137 (*deleter)(elements[index].pointer); in setElementAt()
142 if (deleter != nullptr) { in setElementAt()
[all …]
Duvector.h89 UObjectDeleter *deleter = nullptr; variable
226 bool hasDeleter() {return deleter != nullptr;} in hasDeleter()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeUniquePtr.hpp44 PtrData (T* p, D d) : ptr(p), deleter(d) {} in PtrData()
47 PtrData (const PtrData<T2, D2>& d) : ptr(d.ptr), deleter(d.deleter) {} in PtrData()
50 D deleter; member
61 D getDeleter (void) const throw() { return m_data.deleter; } in getDeleter()
67 UniqueBase (T* ptr, D deleter) : m_data(ptr, deleter) {} in UniqueBase() argument
90 m_data.deleter(m_data.ptr); in reset()
129 …explicit MovePtr (T* ptr, Deleter deleter = Deleter()) : UniqueBase<T, Deleter> (ptr, deleter) … in MovePtr() argument
204 explicit UniquePtr (T* ptr, Deleter deleter = Deleter());
220 inline UniquePtr<T, Deleter>::UniquePtr (T* ptr, Deleter deleter) in UniquePtr() argument
221 : UniqueBase<T, Deleter> (ptr, deleter) in UniquePtr()
DdeSharedPtr.hpp70 SharedPtrState (Type* ptr, Deleter deleter) in SharedPtrState()
72 , m_deleter (deleter) in SharedPtrState()
116 SharedPtr (T* ptr, Deleter deleter);
256 inline SharedPtr<T>::SharedPtr (T* ptr, Deleter deleter) in SharedPtr() argument
263 m_state = new SharedPtrState<T, Deleter>(ptr, deleter); in SharedPtr()
/third_party/icu/icu4c/source/common/
Duvector.cpp36 deleter(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 deleter(0), in UVector()
56 deleter(d), in UVector()
66 deleter(d), in UVector()
103 if (elements[i].pointer != 0 && deleter != 0) { in assign()
104 (*deleter)(elements[i].pointer); in assign()
143 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
144 (*deleter)(elements[index].pointer); in setElementAt()
153 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
155 (*deleter)(elements[index].pointer); in setElementAt()
[all …]
Duvector.h90 UObjectDeleter *deleter; variable
/third_party/skia/third_party/externals/icu/source/common/
Duvector.cpp36 deleter(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 deleter(0), in UVector()
56 deleter(d), in UVector()
66 deleter(d), in UVector()
103 if (elements[i].pointer != 0 && deleter != 0) { in assign()
104 (*deleter)(elements[i].pointer); in assign()
143 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
144 (*deleter)(elements[index].pointer); in setElementAt()
153 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
155 (*deleter)(elements[index].pointer); in setElementAt()
[all …]
Duvector.h90 UObjectDeleter *deleter; variable
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duvector.cpp36 deleter(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 deleter(0), in UVector()
56 deleter(d), in UVector()
66 deleter(d), in UVector()
103 if (elements[i].pointer != 0 && deleter != 0) { in assign()
104 (*deleter)(elements[i].pointer); in assign()
143 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
144 (*deleter)(elements[index].pointer); in setElementAt()
153 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
155 (*deleter)(elements[index].pointer); in setElementAt()
[all …]
Duvector.h90 UObjectDeleter *deleter; variable
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRef.hpp258 , deleter (deleter_) in RefData()
265 Deleter<T> deleter; member
299 m_data.deleter(m_data.object); in reset()
329 Move (Checked<U> object, Deleter<U> deleter) in Move() argument
330 : RefBase<T>(RefData<T>(object.object, deleter)) in Move()
376 Unique (Checked<U> object, Deleter<U> deleter) in Unique() argument
377 : RefBase<T>(RefData<T>(object.object, deleter)) in Unique()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp65 ObjectDestroy<NoParent, Dispatch> deleter( allocator, d ); in createInstanceUnique() local
67 result, instance, VULKAN_HPP_NAMESPACE_STRING "::createInstanceUnique", deleter ); in createInstanceUnique()
436 ObjectDestroy<NoParent, Dispatch> deleter( allocator, d ); in createDeviceUnique() local
438 result, device, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDeviceUnique", deleter ); in createDeviceUnique()
905 ObjectFree<Device, Dispatch> deleter( *this, allocator, d ); in allocateMemoryUnique() local
907 result, memory, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateMemoryUnique", deleter ); in allocateMemoryUnique()
1432 ObjectDestroy<Device, Dispatch> deleter( *this, allocator, d ); in createFenceUnique() local
1434 result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::createFenceUnique", deleter ); in createFenceUnique()
1610 ObjectDestroy<Device, Dispatch> deleter( *this, allocator, d ); in createSemaphoreUnique() local
1612 result, semaphore, VULKAN_HPP_NAMESPACE_STRING "::Device::createSemaphoreUnique", deleter ); in createSemaphoreUnique()
[all …]
Dvulkan_handles.hpp7092 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7099 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7106 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7114 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7122 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7129 using deleter = PoolFree<Device, CommandPool, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7136 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7143 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7150 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7157 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
[all …]
/third_party/python/Lib/test/
Dtest_dynamicclassattribute.py34 @spam.deleter
51 @spam.deleter
Dtest_property.py33 @spam.deleter
48 @spam.deleter
Dtest_type_annotations.py72 @__annotations__.deleter
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DManagedStatic.h63 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DManagedStatic.h63 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/third_party/node/deps/npm/node_modules/dot-prop/
Dreadme.md49 // deleter
/third_party/node/deps/icu-small/source/i18n/
Drbnf.cpp199 Fn_Deleter deleter; member in VArray
201 VArray() : buf(NULL), cap(0), size(0), deleter(NULL) {} in VArray()
203 VArray(Fn_Deleter del) : buf(NULL), cap(0), size(0), deleter(del) {} in VArray()
206 if (deleter) { in ~VArray()
208 (*deleter)(buf[i]); in ~VArray()
/third_party/icu/icu4c/source/i18n/
Drbnf.cpp199 Fn_Deleter deleter; member in VArray
201 VArray() : buf(NULL), cap(0), size(0), deleter(NULL) {} in VArray()
203 VArray(Fn_Deleter del) : buf(NULL), cap(0), size(0), deleter(del) {} in VArray()
206 if (deleter) { in ~VArray()
208 (*deleter)(buf[i]); in ~VArray()
/third_party/skia/third_party/externals/icu/source/i18n/
Drbnf.cpp199 Fn_Deleter deleter; member in VArray
201 VArray() : buf(NULL), cap(0), size(0), deleter(NULL) {} in VArray()
203 VArray(Fn_Deleter del) : buf(NULL), cap(0), size(0), deleter(del) {} in VArray()
206 if (deleter) { in ~VArray()
208 (*deleter)(buf[i]); in ~VArray()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drbnf.cpp199 Fn_Deleter deleter; member in VArray
201 VArray() : buf(NULL), cap(0), size(0), deleter(NULL) {} in VArray()
203 VArray(Fn_Deleter del) : buf(NULL), cap(0), size(0), deleter(del) {} in VArray()
206 if (deleter) { in ~VArray()
208 (*deleter)(buf[i]); in ~VArray()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_handles.hpp7350 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7357 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7364 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7372 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7380 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7387 using deleter = PoolFree<Device, CommandPool, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7394 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7401 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7408 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
7415 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
[all …]
/third_party/python/Lib/
Dtypes.py206 def deleter(self, fdel): member in DynamicClassAttribute

123