Home
last modified time | relevance | path

Searched refs:Deleter (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/commonlibrary/c_utils/base/include/
H A Dunique_fd.h58 template <typename Deleter>
60 template <typename Deleter>
62 template <typename Deleter>
64 template <typename Deleter>
66 template <typename Deleter>
68 template <typename Deleter>
70 template <typename Deleter>
87 friend bool operator==<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
89 friend bool operator!=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
91 friend bool operator>=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/threading/
H A Dintf_thread_pool.h53 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
54 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
60 using Ptr = BASE_NS::unique_ptr<ITask, Deleter>; in CORE_BEGIN_NAMESPACE()
73 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
74 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
148 struct Deleter { struct
149 constexpr Deleter() noexcept = default;
169 struct Deleter { struct
170 constexpr Deleter() noexcept = default;
189 struct Deleter { struct
[all …]
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-uniquefd.md14 template <typename Deleter = DefaultDeleter>
20 * **Deleter** 指定Deletor类,以提供具体关闭文件描述符的方法。默认为DefaultDeleter。
49 | bool | **operator**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) …
50 | bool | **operator**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) …
51 | bool | **operator!=**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局不等运算符重载函数,比…
52 | bool | **operator==**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局相等运算符重载函数,比…
53 | bool | **operator>**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局大于运算符重载函数,比较…
58 Deleter默认实现类,包含关闭文件描述符的静态方法。
66 Deleter默认实现类,包含关闭文件描述符的静态方法。
68 **提示**: 管理封装类UniqueFdAddDeletor在取消对当前描述符的管理,同时又没有其他管理封装类接替管理该描述符时,`Deleter::Close()`方法将被调用。
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/
H A Dintf_pipeline_descriptor_set_binder.h149 struct Deleter { in RENDER_BEGIN_NAMESPACE() struct
150 constexpr Deleter() noexcept = default; in RENDER_BEGIN_NAMESPACE()
156 using Ptr = BASE_NS::unique_ptr<IDescriptorSetBinder, Deleter>; in RENDER_BEGIN_NAMESPACE()
300 struct Deleter { struct
301 constexpr Deleter() noexcept = default;
307 using Ptr = BASE_NS::unique_ptr<IPipelineDescriptorSetBinder, Deleter>; argument
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/gltf/
H A Dgltf.h89 struct Deleter { struct
90 constexpr Deleter() noexcept = default;
96 using Ptr = BASE_NS::unique_ptr<IGLTFData, Deleter>; argument
268 struct Deleter { struct
269 constexpr Deleter() noexcept = default;
275 using Ptr = BASE_NS::unique_ptr<IGLTF2Importer, Deleter>; argument
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/
H A Dintf_directory.h60 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
61 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
67 using Ptr = BASE_NS::unique_ptr<IDirectory, Deleter>; in CORE_BEGIN_NAMESPACE()
H A Dintf_file.h78 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
79 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
85 using Ptr = BASE_NS::unique_ptr<IFile, Deleter>; in CORE_BEGIN_NAMESPACE()
H A Dintf_file_system.h80 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
81 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
87 using Ptr = BASE_NS::unique_ptr<IFilesystem, Deleter>; in CORE_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/
H A Dintf_library.h40 struct Deleter { struct
41 constexpr Deleter() noexcept = default;
47 using Ptr = BASE_NS::unique_ptr<ILibrary, Deleter>; argument
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/image/
H A Dintf_animated_image.h61 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
62 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
68 using Ptr = BASE_NS::unique_ptr<IAnimatedImage, Deleter>; in CORE_BEGIN_NAMESPACE()
H A Dintf_image_container.h160 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
161 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
167 using Ptr = BASE_NS::unique_ptr<IImageContainer, Deleter>; in CORE_BEGIN_NAMESPACE()
H A Dintf_image_loader_manager.h136 struct Deleter { struct
137 constexpr Deleter() noexcept = default;
143 using Ptr = BASE_NS::unique_ptr<IImageLoader, Deleter>; argument
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_asset_loader.h88 struct Deleter { in SCENE_BEGIN_NAMESPACE() struct
89 constexpr Deleter() noexcept = default; in SCENE_BEGIN_NAMESPACE()
95 using Ptr = BASE_NS::unique_ptr<IAssetLoader, Deleter>; in SCENE_BEGIN_NAMESPACE()
H A Dintf_asset_manager.h32 struct Deleter { in SCENE_BEGIN_NAMESPACE() struct
33 constexpr Deleter() noexcept = default; in SCENE_BEGIN_NAMESPACE()
39 using Ptr = BASE_NS::unique_ptr<IAssetManager, Deleter>; in SCENE_BEGIN_NAMESPACE()
H A Dintf_ecs_serializer.h96 struct Deleter { in SCENE_BEGIN_NAMESPACE() struct
97 constexpr Deleter() noexcept = default; in SCENE_BEGIN_NAMESPACE()
103 using Ptr = BASE_NS::unique_ptr<IEcsSerializer, Deleter>; in SCENE_BEGIN_NAMESPACE()
H A Dintf_entity_collection.h31 struct Deleter { in SCENE_BEGIN_NAMESPACE() struct
32 constexpr Deleter() noexcept = default; in SCENE_BEGIN_NAMESPACE()
38 using Ptr = BASE_NS::unique_ptr<IEntityCollection, Deleter>; in SCENE_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dintf_system_graph_loader.h65 struct Deleter { struct
66 constexpr Deleter() noexcept = default;
72 using Ptr = BASE_NS::unique_ptr<ISystemGraphLoader, struct Deleter>; argument
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_gzip/
H A Dgzip_entity.h27 class Deleter {
34 std::unique_ptr<gzFile_s, Deleter<gzFile_s>> gzs = {};
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/
H A Dintf_logger.h85 struct Deleter { in CORE_BEGIN_NAMESPACE() struct
86 constexpr Deleter() noexcept = default; in CORE_BEGIN_NAMESPACE()
92 using Ptr = BASE_NS::unique_ptr<IOutput, Deleter>; in CORE_BEGIN_NAMESPACE()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dlist_file.cpp198 static void Deleter(struct NameListArg *arg) in Deleter() function
212 …unique_ptr<struct NameListArg, decltype(Deleter)*> pNameList = { new (nothrow) struct NameListArg,… in FilterFileRes()
232 …unique_ptr<struct NameListArg, decltype(Deleter)*> pNameList = { new (nothrow) struct NameListArg,… in RecursiveFunc()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dshared_ptr_internals.h158 template<typename T, typename Deleter = DefaultDeleterType<T>> in BASE_BEGIN_NAMESPACE()
161 …StorageBlockWithDeleter(T* ptr, Deleter deleter) : ptr_ { ptr }, deleter_ { BASE_NS::move(deleter)… in BASE_BEGIN_NAMESPACE()
177 Deleter deleter_; in BASE_BEGIN_NAMESPACE()
H A Dshared_ptr.h185 template<typename Deleter>
186 shared_ptr(T* ptr, Deleter deleter) in shared_ptr()
292 template<typename Deleter>
294 void reset(T* ptr, Deleter deleter) in reset()
360 template<typename Deleter>
361 void ConstructBlock(T* ptr, Deleter deleter) in ConstructBlock()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dconnection_detector.cpp115 static void Deleter(struct NameList *arg) in Deleter() function
154 …unique_ptr<struct NameList, decltype(Deleter) *> pNameList = {new (nothrow) struct NameList, Delet… in GetConnectionStatus()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dlistfile.cpp254 static void Deleter(struct NameListArg *arg) in Deleter() function
268 …unique_ptr<struct NameListArg, decltype(Deleter)*> pNameList = { new (nothrow) struct NameListArg,… in FilterFileRes()
287 …unique_ptr<struct NameListArg, decltype(Deleter)*> pNameList = { new (nothrow) struct NameListArg,… in RecursiveFunc()
/ohos5.0/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h49 static void Deleter(struct NameListArg *arg) in Deleter() function
270 …unique_ptr<struct NameListArg, decltype(Deleter)*> pNameList = { new (nothrow) struct NameListArg,… in ScanDir()

12