Searched refs:m_secondary_fd (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/lldb/tools/debugserver/source/ |
D | PseudoTerminal.cpp | 20 : m_primary_fd(invalid_fd), m_secondary_fd(invalid_fd) {} in PseudoTerminal() 42 if (m_secondary_fd > 0) { in CloseSecondary() 43 ::close(m_secondary_fd); in CloseSecondary() 44 m_secondary_fd = invalid_fd; in CloseSecondary() 96 m_secondary_fd = ::open(secondary_name, oflag); in OpenSecondary() 98 if (m_secondary_fd < 0) in OpenSecondary() 162 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) in Fork() 166 if (::dup2(m_secondary_fd, STDIN_FILENO) != STDIN_FILENO) in Fork() 168 if (::dup2(m_secondary_fd, STDOUT_FILENO) != STDOUT_FILENO) in Fork() 170 if (::dup2(m_secondary_fd, STDERR_FILENO) != STDERR_FILENO) in Fork()
|
D | PseudoTerminal.h | 47 int SecondaryFD() const { return m_secondary_fd; } in SecondaryFD() 60 int fd = m_secondary_fd; in ReleaseSecondaryFD() 61 m_secondary_fd = invalid_fd; in ReleaseSecondaryFD() 72 int m_secondary_fd; variable
|
/external/llvm-project/lldb/source/Host/common/ |
D | PseudoTerminal.cpp | 33 : m_primary_fd(invalid_fd), m_secondary_fd(invalid_fd) {} in PseudoTerminal() 56 if (m_secondary_fd >= 0) { in CloseSecondaryFileDescriptor() 57 ::close(m_secondary_fd); in CloseSecondaryFileDescriptor() 58 m_secondary_fd = invalid_fd; in CloseSecondaryFileDescriptor() 95 m_secondary_fd = llvm::sys::RetryAfterSignal(-1, ::open, name.c_str(), oflag); in OpenSecondary() 96 if (m_secondary_fd >= 0) in OpenSecondary() 148 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) { in Fork() 155 if (::dup2(m_secondary_fd, fd) != fd) { in Fork() 178 return m_secondary_fd; in GetSecondaryFileDescriptor() 200 int fd = m_secondary_fd; in ReleaseSecondaryFileDescriptor() [all …]
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | PseudoTerminal.h | 179 int m_secondary_fd; ///< The file descriptor for the secondary. variable
|