Home
last modified time | relevance | path

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

/trusty/user/base/experimental/lib/tidl/include/lib/tidl/android-base/
Dunique_fd.h61 class unique_fd_impl final {
63 unique_fd_impl() {} in unique_fd_impl() function
65 explicit unique_fd_impl(int fd) { reset(fd); } in unique_fd_impl() function
66 ~unique_fd_impl() { reset(); } in ~unique_fd_impl()
68 unique_fd_impl(const unique_fd_impl&) = delete;
69 void operator=(const unique_fd_impl&) = delete;
70 unique_fd_impl(unique_fd_impl&& other) noexcept { reset(other.release()); } in unique_fd_impl() function
71 unique_fd_impl& operator=(unique_fd_impl&& s) noexcept {
94 bool operator==(const unique_fd_impl& rhs) const {
97 bool operator!=(const unique_fd_impl& rhs) const {
[all …]