Searched refs:tty_fd (Results 1 – 15 of 15) sorted by relevance
/external/crosvm/sys_util/src/ |
D | terminal.rs | 66 fn tty_fd(&self) -> RawFd; in tty_fd() method 70 modify_mode(self.tty_fd(), |t| t.c_lflag |= ICANON | ECHO | ISIG) in set_canon_mode() 75 modify_mode(self.tty_fd(), |t| t.c_lflag &= !(ICANON | ECHO | ISIG)) in set_raw_mode() 84 add_fd_flags(self.tty_fd(), O_NONBLOCK) in set_non_block() 86 clear_fd_flags(self.tty_fd(), O_NONBLOCK) in set_non_block() 93 fn tty_fd(&self) -> RawFd { in tty_fd() method
|
/external/mksh/src/ |
D | jobs.c | 246 mksh_tcset(tty_fd, &tty_state); in j_suspend() 248 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend() 273 } else if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_suspend() 327 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit() 352 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) { in j_change() 359 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) { in j_change() 380 if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_change() 547 tcsetpgrp(tty_fd, j->pgrp); in exchild() 863 mksh_tcset(tty_fd, &j->ttystat); in j_resume() 866 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ? in j_resume() [all …]
|
D | main.c | 1241 if (tty_fd >= 0) { in tty_init_fd() 1267 tty_fd = rv; in tty_init_fd()
|
D | var.c | 1726 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
|
D | edit.c | 3362 x_mkraw(tty_fd, NULL, false); in x_mode() 3401 mksh_tcset(tty_fd, &tty_state); in x_mode()
|
D | sh.h | 2841 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */
|
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
D | _fork_pty.py | 43 def pty_make_controlling_tty(tty_fd): argument 48 child_name = os.ttyname(tty_fd)
|
/external/ppp/pppd/ |
D | sys-linux.c | 403 int tty_establish_ppp (int tty_fd) in tty_establish_ppp() argument 410 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) { in tty_establish_ppp() 430 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) { in tty_establish_ppp() 437 ret_fd = generic_establish_ppp(tty_fd); in tty_establish_ppp() 447 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno)) in tty_establish_ppp() 555 void tty_disestablish_ppp(int tty_fd) in tty_disestablish_ppp() argument 561 if (tcflush(tty_fd, TCIOFLUSH) < 0) in tty_disestablish_ppp() 569 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) { in tty_disestablish_ppp() 574 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) { in tty_disestablish_ppp() 580 if (initfdflags != -1 && fcntl(tty_fd, F_SETFL, initfdflags) < 0) { in tty_disestablish_ppp() [all …]
|
/external/toybox/toys/other/ |
D | reset.c | 21 int fd = tty_fd(); in reset_main()
|
D | login.c | 41 int hh = FLAG(h), count, tty = tty_fd(); in login_main()
|
/external/toybox/lib/ |
D | password.c | 54 int i, tty = tty_fd(), ret = 1; in read_password()
|
D | tty.c | 8 int tty_fd(void) in tty_fd() function
|
D | lib.h | 321 int tty_fd(void);
|
/external/autotest/client/common_lib/ |
D | pexpect.py | 615 def __pty_make_controlling_tty(self, tty_fd): argument 621 child_name = os.ttyname(tty_fd)
|
/external/toybox/toys/posix/ |
D | ps.c | 1290 if (-1 != (i = tty_fd())) { in common_setup()
|