Lines Matching refs:master_fd
165 master_fd, slave_fd = pty.openpty(mode, new_stdin_winsz)
167 master_fd, slave_fd = pty.openpty()
176 self.addCleanup(os.close, master_fd)
189 blocking = os.get_blocking(master_fd)
191 os.set_blocking(master_fd, False)
193 s1 = os.read(master_fd, 1024)
200 os.set_blocking(master_fd, blocking)
204 s1 = _readline(master_fd)
211 s2 = _readline(master_fd)
216 pid, master_fd = pty.fork()
217 self.addCleanup(os.close, master_fd)
262 data = os.read(master_fd, 80)
299 master_fd, slave_fd = pty.openpty()
302 self.addCleanup(os.close, master_fd)
309 data = os.read(master_fd, 1)