Searched refs:tty_fd (Results 1 – 14 of 14) sorted by relevance
/external/nos/test/system-test-harness/src/ |
D | util.cc | 115 input_buffer(PROTO_BUFFER_MAX_LEN, 0), tty_fd(-1) { in TestHarness() 126 input_buffer(PROTO_BUFFER_MAX_LEN, 0), tty_fd(-1) { in TestHarness() 136 auto temp = tty_fd; in ~TestHarness() 137 tty_fd = -1; in ~TestHarness() 153 return tty_fd != -1; in ttyState() 295 while (read(tty_fd, &read_value, 1) <= 0) { in GetAhdlc() 428 tty_fd = open(path, O_RDWR | O_NOCTTY | O_NDELAY); in Init() 435 if (!isatty(tty_fd)) { in Init() 439 if (tcgetattr(tty_fd, &tty_state)) { in Init() 461 if (tcsetattr(tty_fd, TCSAFLUSH, &tty_state)) { in Init() [all …]
|
D | util.h | 130 int tty_fd; variable
|
/external/mksh/src/ |
D | jobs.c | 245 mksh_tcset(tty_fd, &tty_state); in j_suspend() 247 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend() 272 } else if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_suspend() 326 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit() 351 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) { in j_change() 358 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) { in j_change() 379 if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_change() 546 tcsetpgrp(tty_fd, j->pgrp); in exchild() 862 mksh_tcset(tty_fd, &j->ttystat); in j_resume() 865 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ? in j_resume() [all …]
|
D | main.c | 1204 if (tty_fd >= 0) { in tty_init_fd() 1230 tty_fd = rv; in tty_init_fd()
|
D | var.c | 1693 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
|
D | edit.c | 3330 x_mkraw(tty_fd, NULL, false); in x_mode() 3369 mksh_tcset(tty_fd, &tty_state); in x_mode()
|
D | sh.h | 2738 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */
|
/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 | tty.c | 8 int tty_fd(void) in tty_fd() function
|
D | lib.h | 299 int tty_fd(void);
|
/external/autotest/client/common_lib/ |
D | pexpect.py | 606 def __pty_make_controlling_tty(self, tty_fd): argument 612 child_name = os.ttyname(tty_fd)
|
/external/toybox/toys/posix/ |
D | ps.c | 1283 if (-1 != (i = tty_fd())) { in ps_main() 1735 TT.tty = tty_fd() != -1; in top_setup()
|