Searched defs:CloseFD (Results 1 – 7 of 7) sorted by relevance
408 struct CloseFD { in _GLIBCXX_VISIBILITY() struct409 ~CloseFD() { if (fd != -1) posix::close(fd); } in _GLIBCXX_VISIBILITY()410 bool close() { return posix::close(std::exchange(fd, -1)) == 0; } in _GLIBCXX_VISIBILITY()411 int fd; in _GLIBCXX_VISIBILITY()
399 struct CloseFD { in _GLIBCXX_VISIBILITY() struct400 ~CloseFD() { if (fd != -1) posix::close(fd); } in _GLIBCXX_VISIBILITY()401 bool close() { return posix::close(std::exchange(fd, -1)) == 0; } in _GLIBCXX_VISIBILITY()402 int fd; in _GLIBCXX_VISIBILITY()
407 struct CloseFD { in do_copy_file() struct408 ~CloseFD() { if (fd != -1) ::close(fd); } in do_copy_file()409 bool close() { return ::close(std::exchange(fd, -1)) == 0; } in do_copy_file()410 int fd; in do_copy_file()
363 struct CloseFD { in do_copy_file() struct364 ~CloseFD() { if (fd != -1) ::close(fd); } in do_copy_file()365 bool close() { return ::close(std::exchange(fd, -1)) == 0; } in do_copy_file()366 int fd; in do_copy_file()
Completed in 38 milliseconds