Home
last modified time | relevance | path

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

12

/external/deqp/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()
/external/icu/icu4c/source/common/
Duvector.cpp34 deleter(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 deleter(0), in UVector()
54 deleter(d), in UVector()
64 deleter(d), in UVector()
101 if (elements[i].pointer != 0 && deleter != 0) { in assign()
102 (*deleter)(elements[i].pointer); in assign()
141 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
142 (*deleter)(elements[index].pointer); in setElementAt()
151 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt()
153 (*deleter)(elements[index].pointer); in setElementAt()
[all …]
Duvector.h88 UObjectDeleter *deleter; variable
/external/deqp/external/vulkancts/framework/vulkan/
DvkRef.hpp233 , deleter (deleter_) in RefData()
240 Deleter<T> deleter; member
274 m_data.deleter(m_data.object); in reset()
304 Move (Checked<U> object, Deleter<U> deleter) in Move() argument
305 : RefBase<T>(RefData<T>(object.object, deleter)) in Move()
351 Unique (Checked<U> object, Deleter<U> deleter) in Unique() argument
352 : RefBase<T>(RefData<T>(object.object, deleter)) in Unique()
/external/skia/tests/
DCPlusPlusEleven.cpp21 template <typename T> void deleter(T*) { } in deleter() function
52 skstd::unique_ptr<Moveable, void(*)(Moveable*)> u(nullptr, deleter<Moveable>); in DEF_TEST()
60 skstd::unique_ptr<Moveable, void(*)(Moveable*)> u(nullptr, [](Moveable* m){ deleter(m); }); in DEF_TEST()
68 auto d = [](Moveable* m){ deleter(m); }; in DEF_TEST()
/external/libchrome/base/
Dsequenced_task_runner.cc19 void(*deleter)(const void*), in DeleteSoonInternal()
21 return PostNonNestableTask(from_here, Bind(deleter, object)); in DeleteSoonInternal()
Dsequenced_task_runner.h149 void(*deleter)(const void*),
/external/drm_hwcomposer/
Dautogl.h36 #define AUTO_GL_TYPE(name, type, zero, deleter) \ argument
42 deleter; \
/external/opencv3/modules/core/include/opencv2/core/
Dptr.inl.hpp94 PtrOwnerImpl(Y* p, D d) : owned(p), deleter(d) in PtrOwnerImpl()
99 deleter(owned); in deleteSelf()
105 D deleter; member
/external/llvm/include/llvm/Support/
DManagedStatic.h47 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/external/v8/src/
Dsplay-tree-inl.h16 NodeDeleter deleter; in ~SplayTree() local
17 ForEachNode(&deleter); in ~SplayTree()
Dobjects-debug.cc958 VerifyPointer(deleter()); in InterceptorInfoVerify()
Dobjects-printer.cc1029 os << "\n - deleter: " << Brief(deleter()); in InterceptorInfoPrint()
Dobjects.cc6158 if (interceptor->deleter()->IsUndefined()) return Nothing<bool>(); in DeletePropertyWithInterceptor()
6167 v8::IndexedPropertyDeleterCallback deleter = in DeletePropertyWithInterceptor() local
6168 v8::ToCData<v8::IndexedPropertyDeleterCallback>(interceptor->deleter()); in DeletePropertyWithInterceptor()
6171 result = args.Call(deleter, index); in DeletePropertyWithInterceptor()
6177 v8::GenericNamedPropertyDeleterCallback deleter = in DeletePropertyWithInterceptor() local
6179 interceptor->deleter()); in DeletePropertyWithInterceptor()
6182 result = args.Call(deleter, v8::Utils::ToLocal(name)); in DeletePropertyWithInterceptor()
Dapi.cc1413 this, config.getter, config.setter, config.query, config.deleter, in SetHandler()
1497 if (config.deleter != 0) SET_FIELD_WRAPPED(obj, set_deleter, config.deleter); in SetHandler()
Dobjects-inl.h5504 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) in ACCESSORS()
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc319 AutoDeleter deleter(path); in LocateFile() local
332 deleter.Release(); in LocateFile()
/external/libchrome/base/message_loop/
Dmessage_loop.cc670 void(*deleter)(const void*), in DeleteSoonInternal()
672 PostNonNestableTask(from_here, Bind(deleter, object)); in DeleteSoonInternal()
Dmessage_loop.h543 void(*deleter)(const void*),
/external/icu/icu4c/source/i18n/
Drbnf.cpp193 Fn_Deleter deleter; member in VArray
195 VArray() : buf(NULL), cap(0), size(0), deleter(NULL) {} in VArray()
197 VArray(Fn_Deleter del) : buf(NULL), cap(0), size(0), deleter(del) {} in VArray()
200 if (deleter) { in ~VArray()
202 (*deleter)(buf[i]); in ~VArray()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc309 scoped_ptr<Deleter> deleter(new Deleter(watcher, &loop_)); in TEST_F() local
310 ASSERT_TRUE(SetupWatch(test_file(), watcher, deleter.get(), false)); in TEST_F()
317 ASSERT_TRUE(deleter->watcher() == NULL); in TEST_F()
/external/v8/include/
Dv8.h4562 GenericNamedPropertyDeleterCallback deleter = 0,
4569 deleter(deleter), in getter()
4577 GenericNamedPropertyDeleterCallback deleter; member
4590 IndexedPropertyDeleterCallback deleter = 0,
4597 deleter(deleter), in getter()
4605 IndexedPropertyDeleterCallback deleter; member
4694 NamedPropertyDeleterCallback deleter = 0,
4721 IndexedPropertyDeleterCallback deleter = 0,
4725 deleter, enumerator, data));
/external/llvm/include/llvm/ADT/
DSTLExtras.h98 inline void deleter(T *Ptr) { in deleter() function
/external/libcxx/include/
Dmemory2571 "unique_ptr constructed with null function pointer deleter");
2577 "unique_ptr constructed with null function pointer deleter");
2583 "unique_ptr constructed with null function pointer deleter");
2598 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
2750 "unique_ptr constructed with null function pointer deleter");
2756 "unique_ptr constructed with null function pointer deleter");
2765 "unique_ptr constructed with null function pointer deleter");
2791 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
2798 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
2850 "unique_ptr constructed with null function pointer deleter");

12