Home
last modified time | relevance | path

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

123

/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.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 …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkRef.hpp235 , deleter (deleter_) in RefData()
242 Deleter<T> deleter; member
276 m_data.deleter(m_data.object); in reset()
306 Move (Checked<U> object, Deleter<U> deleter) in Move() argument
307 : RefBase<T>(RefData<T>(object.object, deleter)) in Move()
353 Unique (Checked<U> object, Deleter<U> deleter) in Unique() argument
354 : RefBase<T>(RefData<T>(object.object, deleter)) in Unique()
/external/tensorflow/tensorflow/python/ops/
Dsession_ops.py108 holder, deleter = _get_handle_deleter(self._session.graph, 0, self._handle)
109 self._session.run(deleter, feed_dict={holder: self.handle})
243 deleter = gen_data_flow_ops.delete_session_tensor(holder, name=name)
244 return (holder, deleter)
300 deleter = gen_data_flow_ops.delete_session_tensor(holder)
301 result = (holder, deleter)
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_cache_partial.cc65 auto deleter = [this, &task](WorkerInterface* wi) { in RefreshDeviceStatus() local
68 std::unique_ptr<WorkerInterface, decltype(deleter)> rwi(CreateWorker(task), in RefreshDeviceStatus()
69 deleter); in RefreshDeviceStatus()
/external/libchrome/base/
Dsequenced_task_runner.cc21 void (*deleter)(const void*), in DeleteOrReleaseSoonInternal()
23 return PostNonNestableTask(from_here, BindOnce(deleter, object)); in DeleteOrReleaseSoonInternal()
Dsequenced_task_runner.h148 void (*deleter)(const void*),
/external/tensorflow/tensorflow/compiler/xla/service/
Dstream_pool.cc51 PtrDeleter deleter = {this}; in BorrowStream() local
52 return Ptr(stream.release(), deleter); in BorrowStream()
/external/boringssl/src/include/openssl/
Dbase.h458 #define BORINGSSL_MAKE_DELETER(type, deleter) argument
516 #define BORINGSSL_MAKE_DELETER(type, deleter) \ argument
520 static void Free(type *ptr) { deleter(ptr); } \
/external/tensorflow/tensorflow/core/summary/
Dsummary_db_writer.cc661 SqliteStatement deleter; in Finish() local
662 TF_RETURN_IF_ERROR(db->Prepare(sql, &deleter)); in Finish()
664 deleter.BindInt(1, rowids_.front()); in Finish()
665 TF_RETURN_IF_ERROR(deleter.StepAndReset()); in Finish()
725 SqliteStatement deleter; in UpdateNdString() local
726 TF_RETURN_IF_ERROR(db->Prepare(deleter_sql, &deleter)); in UpdateNdString()
727 deleter.BindInt(1, tensor_rowid); in UpdateNdString()
728 TF_RETURN_WITH_CONTEXT_IF_ERROR(deleter.StepAndReset(), tensor_rowid); in UpdateNdString()
/external/python/cpython2/Lib/test/
Dtest_property.py33 @spam.deleter
48 @spam.deleter
/external/python/cpython3/Lib/test/
Dtest_property.py33 @spam.deleter
48 @spam.deleter
Dtest_dynamicclassattribute.py34 @spam.deleter
51 @spam.deleter
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DManagedStatic.h48 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DManagedStatic.h45 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/external/llvm/include/llvm/Support/
DManagedStatic.h48 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/external/v8/src/
Dsplay-tree-inl.h18 NodeDeleter deleter; in ~SplayTree() local
19 ForEachNode(&deleter); in ~SplayTree()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DManagedStatic.h46 void RegisterManagedStatic(void *(*creator)(), void (*deleter)(void*)) const;
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc303 Deleter deleter(run_loop.QuitClosure()); in TEST_F() local
304 ASSERT_TRUE(SetupWatch(test_file(), deleter.watcher(), &deleter, false)); in TEST_F()
311 ASSERT_TRUE(deleter.watcher() == nullptr); in TEST_F()
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc319 AutoDeleter deleter(path); in LocateFile() local
332 deleter.Release(); in LocateFile()
/external/tensorflow/tensorflow/contrib/ffmpeg/
Ddecode_video_op.cc54 FileDeleter deleter(temp_filename); in Compute() local
/external/v8/include/
Dv8.h4665 Allocator::AllocationMode allocation_mode, DeleterCallback deleter,
5084 Allocator::AllocationMode allocation_mode, DeleterCallback deleter,
5962 GenericNamedPropertyDeleterCallback deleter,
5971 deleter(deleter),
5983 GenericNamedPropertyDeleterCallback deleter = 0,
5990 deleter(deleter),
6001 GenericNamedPropertyDeleterCallback deleter,
6009 deleter(deleter),
6019 GenericNamedPropertyDeleterCallback deleter;
6032 IndexedPropertyDeleterCallback deleter,
[all …]
/external/v8/src/objects/
Dapi-callbacks-inl.h88 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) in ACCESSORS()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp498 class UniqueHandle : public UniqueHandleTraits<Type,Dispatch>::deleter
501 using Deleter = typename UniqueHandleTraits<Type,Dispatch>::deleter;
503 explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() ) in UniqueHandle() argument
504 : Deleter( deleter) in UniqueHandle()
10491 … result, T & data, char const * message, typename UniqueHandleTraits<T,D>::deleter const& deleter ) in createResultValue() argument
10496 return ResultValue<UniqueHandle<T,D>>( result, UniqueHandle<T,D>(data, deleter) ); in createResultValue()
10502 return UniqueHandle<T,D>(data, deleter); in createResultValue()
13373 …ss UniqueHandleTraits<AccelerationStructureNV, Dispatch> { public: using deleter = ObjectDestroy<D… typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
13375 …template <typename Dispatch> class UniqueHandleTraits<Buffer, Dispatch> { public: using deleter = … typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
13377 …Dispatch> class UniqueHandleTraits<BufferView, Dispatch> { public: using deleter = ObjectDestroy<D… typedef in VULKAN_HPP_NAMESPACE::UniqueHandleTraits
[all …]

123