Home
last modified time | relevance | path

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

123

/third_party/icu/icu4c/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()
103 U_ASSERT(deleter == nullptr); in addElement()
110 U_ASSERT(deleter != nullptr); in adoptElement()
114 (*deleter)(obj); in adoptElement()
118 U_ASSERT(deleter == nullptr); // Usage error. Mixing up ints and pointers. in addElement()
128 if (elements[index].pointer != nullptr && deleter != nullptr) { in setElementAt()
129 (*deleter)(elements[index].pointer); in setElementAt()
134 if (deleter != nullptr) { in setElementAt()
[all …]
Duvector.h89 UObjectDeleter *deleter = nullptr; variable
214 bool hasDeleter() {return deleter != nullptr;} in hasDeleter()
/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()
103 U_ASSERT(deleter == nullptr); in addElement()
110 U_ASSERT(deleter != nullptr); in adoptElement()
114 (*deleter)(obj); in adoptElement()
118 U_ASSERT(deleter == nullptr); // Usage error. Mixing up ints and pointers. in addElement()
128 if (elements[index].pointer != nullptr && deleter != nullptr) { in setElementAt()
129 (*deleter)(elements[index].pointer); in setElementAt()
134 if (deleter != nullptr) { in setElementAt()
[all …]
Duvector.h89 UObjectDeleter *deleter = nullptr; variable
214 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/node/deps/v8/include/
Dv8-template.h651 GenericNamedPropertyDeleterCallback deleter,
660 deleter(deleter), in getter()
672 GenericNamedPropertyDeleterCallback deleter = nullptr,
679 deleter(deleter), in getter()
690 GenericNamedPropertyDeleterCallback deleter,
698 deleter(deleter), in getter()
708 GenericNamedPropertyDeleterCallback deleter; member
720 IndexedPropertyDeleterCallback deleter,
729 deleter(deleter), in getter()
741 IndexedPropertyDeleterCallback deleter = nullptr,
[all …]
Dv8-array-buffer.h235 void* data, size_t byte_length, v8::BackingStore::DeleterCallback deleter,
420 void* data, size_t byte_length, v8::BackingStore::DeleterCallback deleter,
/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/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRef.hpp262 , deleter (deleter_) in RefData()
269 Deleter<T> deleter; member
303 m_data.deleter(m_data.object); in reset()
333 Move (Checked<U> object, Deleter<U> deleter) in Move() argument
334 : RefBase<T>(RefData<T>(object.object, deleter)) in Move()
380 Unique (Checked<U> object, Deleter<U> deleter) in Unique() argument
381 : 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/node/deps/v8/src/objects/
Dbacking-store.cc270 type_specific_data_.deleter.callback(buffer_start_, byte_length_, in ~BackingStore()
271 type_specific_data_.deleter.data); in ~BackingStore()
772 v8::BackingStore::DeleterCallback deleter, void* deleter_data, in WrapAllocation() argument
774 bool is_empty_deleter = (deleter == v8::BackingStore::EmptyDeleter); in WrapAllocation()
786 result->type_specific_data_.deleter = {deleter, deleter_data}; in WrapAllocation()
Dbacking-store.h81 v8::BackingStore::DeleterCallback deleter, void* deleter_data,
215 DeleterInfo deleter; member
Dapi-callbacks.tq24 deleter: NonNullForeign|Zero|Undefined;
/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/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/node/deps/icu-small/source/i18n/
Drbnf.cpp199 Fn_Deleter deleter; member in VArray
201 VArray() : buf(nullptr), cap(0), size(0), deleter(nullptr) {} in VArray()
203 VArray(Fn_Deleter del) : buf(nullptr), 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.hpp1714 using deleter = ObjectDestroy<NoParent, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1721 using deleter = ObjectDestroy<NoParent, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1728 using deleter = ObjectFree<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1735 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1742 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1749 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1756 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1763 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1770 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
1777 using deleter = ObjectDestroy<Device, Dispatch>; typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
[all …]

123