Home
last modified time | relevance | path

Searched refs:UniqueFdAddDeletor (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/include/
H A Dunique_fd.h59 class UniqueFdAddDeletor; variable
67 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
86 class UniqueFdAddDeletor final {
105 explicit UniqueFdAddDeletor(const int& value) in UniqueFdAddDeletor() function
114 UniqueFdAddDeletor() in UniqueFdAddDeletor() function
124 ~UniqueFdAddDeletor() { Reset(-1); } in ~UniqueFdAddDeletor()
171 UniqueFdAddDeletor(UniqueFdAddDeletor&& rhs) in UniqueFdAddDeletor() function
187 UniqueFdAddDeletor& operator=(UniqueFdAddDeletor&& rhs)
290 UniqueFdAddDeletor(const UniqueFdAddDeletor& rhs) = delete;
291 UniqueFdAddDeletor& operator=(const UniqueFdAddDeletor& rhs) = delete;
[all …]
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-uniquefd.md7 ### OHOS::UniqueFdAddDeletor
15 class OHOS::UniqueFdAddDeletor;
22 定义上,一个UniqueFdAddDeletor对象唯一管理一个文件描述符。 文件描述符的管理权可以在不同的UniqueFdAddDeletor对象间传递,当文件描述符没有任何UniqueFdAdd…
30 … | **UniqueFdAddDeletor**()<br>无参构造UniqueFdAddDelet…
31 … | **UniqueFdAddDeletor**(const int& value)<br>构造UniqueFdA…
32 … | **UniqueFdAddDeletor**(UniqueFdAddDeletor&& rhs)<br>移动构造函数。用于文件描述…
39 | UniqueFdAddDeletor& | **operator=**(UniqueFdAddDeletor&& rhs)<br>移动赋值运算符重载函数。用于文件描述符在UniqueFdAddD…
51 …*operator!=**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局不等运算符重载函数,比较输入具体数值与输…
52 …*operator==**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局相等运算符重载函数,比较输入具体数值与输…
53 …**operator>**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局大于运算符重载函数,比较输入具体数值与输…
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_unique_fd_test.cpp140 UniqueFdAddDeletor<NewDeleter> ufd2(fd);
154 UniqueFdAddDeletor<NewDeleter> ufd2(fd);
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/unique_fd_benchmark_test/
H A Dunique_fd_benchmark_test.cpp191 UniqueFdAddDeletor<NewDeleter> ufd2(fd); in BENCHMARK_F()
211 UniqueFdAddDeletor<NewDeleter> ufd2(fd); in BENCHMARK_F()