/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VehicleObjectPool.h | 48 struct Deleter { struct 51 Deleter(const OnDeleteFunc& f) : mOnDelete(f) {}; in Deleter() function 53 Deleter() = default; 54 Deleter(const Deleter&) = default; 68 using recyclable_ptr = typename std::unique_ptr<T, Deleter<T>>; argument 112 const Deleter<T>& getDeleter() { in getDeleter() 114 Deleter<T> *d = new Deleter<T>(std::bind( in getDeleter() 128 std::unique_ptr<Deleter<T>> mDeleter; 228 const Deleter<VehiclePropValue> mDisposableDeleter {
|
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/ |
D | VehicleObjectPool.h | 50 struct Deleter { struct 53 explicit Deleter(const OnDeleteFunc& f) : mOnDelete(f){}; in Deleter() function 55 Deleter() = default; 56 Deleter(const Deleter&) = default; 67 using recyclable_ptr = typename std::unique_ptr<T, Deleter<T>>; argument 124 const Deleter<T>& getDeleter() { in getDeleter() 126 Deleter<T>* d = in getDeleter() 127 new Deleter<T>(std::bind(&ObjectPool::recycle, this, std::placeholders::_1)); in getDeleter() 137 std::unique_ptr<Deleter<T>> mDeleter; 274 const Deleter<aidl::android::hardware::automotive::vehicle::VehiclePropValue>
|
/hardware/google/aemu/base/include/aemu/base/ |
D | SharedLibrary.h | 55 struct Deleter { struct 62 std::unique_ptr<SharedLibrary, SharedLibrary::Deleter>> argument
|
/hardware/google/aemu/base/include/aemu/base/memory/ |
D | ScopedPtr.h | 74 template <class T, class Deleter = std::default_delete<T>> 75 using ScopedPtr = std::unique_ptr<T, Deleter>;
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkansc_shared.hpp | 61 template <typename DestructorType, typename Deleter> 64 …SharedHeader( SharedHandle<DestructorType> parent, Deleter deleter = Deleter() ) VULKAN_HPP_NOEXCE… in SharedHeader() 71 Deleter deleter; 74 template <typename Deleter> 75 struct SharedHeader<NoDestructor, Deleter> 77 …SharedHeader( Deleter deleter = Deleter() ) VULKAN_HPP_NOEXCEPT : deleter( std::move( deleter ) ) … in SharedHeader() 79 Deleter deleter;
|
D | vulkan_shared.hpp | 61 template <typename DestructorType, typename Deleter> 64 …SharedHeader( SharedHandle<DestructorType> parent, Deleter deleter = Deleter() ) VULKAN_HPP_NOEXCE… in SharedHeader() 71 Deleter deleter; 74 template <typename Deleter> 75 struct SharedHeader<NoDestructor, Deleter> 77 …SharedHeader( Deleter deleter = Deleter() ) VULKAN_HPP_NOEXCEPT : deleter( std::move( deleter ) ) … in SharedHeader() 79 Deleter deleter;
|
D | vulkansc.hpp | 859 using Deleter = typename UniqueHandleTraits<Type, Dispatch>::deleter; typedef in VULKAN_HPP_NAMESPACE::UniqueHandle 865 : Deleter() in UniqueHandle() 869 …explicit UniqueHandle( Type const & value, Deleter const & deleter = Deleter() ) VULKAN_HPP_NOEXCE… in UniqueHandle() 870 : Deleter( deleter ) in UniqueHandle() 877 : Deleter( std::move( static_cast<Deleter &>( other ) ) ) in UniqueHandle() 894 *static_cast<Deleter *>( this ) = std::move( static_cast<Deleter &>( other ) ); in operator =() 955 std::swap( static_cast<Deleter &>( *this ), static_cast<Deleter &>( rhs ) ); in swap()
|
D | vulkan.hpp | 860 using Deleter = typename UniqueHandleTraits<Type, Dispatch>::deleter; typedef in VULKAN_HPP_NAMESPACE::UniqueHandle 866 : Deleter() in UniqueHandle() 870 …explicit UniqueHandle( Type const & value, Deleter const & deleter = Deleter() ) VULKAN_HPP_NOEXCE… in UniqueHandle() 871 : Deleter( deleter ) in UniqueHandle() 878 : Deleter( std::move( static_cast<Deleter &>( other ) ) ) in UniqueHandle() 895 *static_cast<Deleter *>( this ) = std::move( static_cast<Deleter &>( other ) ); in operator =() 956 std::swap( static_cast<Deleter &>( *this ), static_cast<Deleter &>( rhs ) ); in swap()
|
/hardware/google/aemu/base/ |
D | SharedLibrary.cpp | 80 std::unique_ptr<SharedLibrary, SharedLibrary::Deleter>(load); in open()
|
/hardware/google/gfxstream/guest/mesa/include/CL/ |
D | opencl.hpp | 3840 class Deleter { class 3848 Deleter(const Alloc &alloc, size_type copies) : alloc_{ alloc }, copies_{ copies } in Deleter() function in cl::detail::Deleter 3867 cl::pointer<T, detail::Deleter<Alloc>> allocate_pointer(const Alloc &alloc_, Args&&... args) in allocate_pointer() 3886 return cl::pointer<T, detail::Deleter<Alloc>>(tmp, detail::Deleter<Alloc>{alloc, copies}); in allocate_pointer() 3896 cl::pointer<T, detail::Deleter<SVMAllocator<T, SVMTrait>>> allocate_svm(Args... args) in allocate_svm() 3903 cl::pointer<T, detail::Deleter<SVMAllocator<T, SVMTrait>>> allocate_svm(const cl::Context &c, Args.… in allocate_svm()
|