Searched refs:UniqueFd (Results 1 – 2 of 2) sorted by relevance
34 class UniqueFd {36 explicit UniqueFd(int fd = -1) noexcept41 UniqueFd(const UniqueFd &other_fd) = delete;42 UniqueFd &operator=(const UniqueFd &other_fd) = delete;44 UniqueFd(UniqueFd &&other_fd) noexcept in UniqueFd() function49 UniqueFd &operator=(UniqueFd &&other_fd) noexcept55 ~UniqueFd() in ~UniqueFd()
32 HWTEST(UniqueFd, Construct, testing::ext::TestSize.Level0)35 auto fd_a = UniqueFd();36 auto fd_b = UniqueFd(dupDF.stdinValue);37 auto fd_c = UniqueFd(dupDF.stdoutValue);38 auto fd_d = UniqueFd(dupDF.stferrValue);60 HWTEST(UniqueFd, Equal, testing::ext::TestSize.Level0)63 auto fd_a = UniqueFd();64 auto fd_b = UniqueFd(dupDF.stdinValue);65 auto fd_c = UniqueFd(dupDF.stdoutValue);66 auto fd_d = UniqueFd(dupDF.stferrValue);[all …]