Lines Matching refs:m_fd
31 explicit scoped_fd (int fd = -1) noexcept : m_fd (fd) {}
34 : m_fd (other.m_fd)
36 other.m_fd = -1;
41 if (m_fd >= 0)
42 close (m_fd);
47 if (m_fd != other.m_fd)
49 if (m_fd >= 0)
50 close (m_fd);
51 m_fd = other.m_fd;
52 other.m_fd = -1;
61 int fd = m_fd;
62 m_fd = -1;
72 gdb_file_up result (fdopen (m_fd, mode));
74 m_fd = -1;
80 return m_fd;
84 int m_fd;