Searched defs:UniqueFd (Results 1 – 2 of 2) sorted by relevance
40 UniqueFd(Fd fd) : mFd(fd) {} in UniqueFd() function49 UniqueFd(UniqueFd&& other) { std::swap(mFd, other.mFd); } in UniqueFd() function
61 explicit UniqueFd(int fd) : fd_(fd) {} in UniqueFd() function62 UniqueFd() : UniqueFd(-1) {} in UniqueFd() function64 UniqueFd(UniqueFd&& other) noexcept : fd_(other.release()) {} in UniqueFd() function