Home
last modified time | relevance | path

Searched refs:tty_fd (Results 1 – 15 of 15) sorted by relevance

/external/crosvm/sys_util/src/
Dterminal.rs66 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/
Djobs.c246 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 …]
Dmain.c1241 if (tty_fd >= 0) { in tty_init_fd()
1267 tty_fd = rv; in tty_init_fd()
Dvar.c1726 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
Dedit.c3362 x_mkraw(tty_fd, NULL, false); in x_mode()
3401 mksh_tcset(tty_fd, &tty_state); in x_mode()
Dsh.h2841 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.py43 def pty_make_controlling_tty(tty_fd): argument
48 child_name = os.ttyname(tty_fd)
/external/ppp/pppd/
Dsys-linux.c403 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/
Dreset.c21 int fd = tty_fd(); in reset_main()
Dlogin.c41 int hh = FLAG(h), count, tty = tty_fd(); in login_main()
/external/toybox/lib/
Dpassword.c54 int i, tty = tty_fd(), ret = 1; in read_password()
Dtty.c8 int tty_fd(void) in tty_fd() function
Dlib.h321 int tty_fd(void);
/external/autotest/client/common_lib/
Dpexpect.py615 def __pty_make_controlling_tty(self, tty_fd): argument
621 child_name = os.ttyname(tty_fd)
/external/toybox/toys/posix/
Dps.c1290 if (-1 != (i = tty_fd())) { in common_setup()