/third_party/toybox/toys/pending/ |
H A D | telnet.c | 59 if (TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.raw_term); in set_mode() 65 if (TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.def_term); in set_mode() 104 if(toys.signal && TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.raw_term); in handle_esc() 112 if(TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.def_term); in handle_esc() 138 if(TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.def_term); in handle_esc() 140 if(TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.raw_term); in handle_esc() 143 if(TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.def_term); in handle_esc() 149 if (toys.signal && TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.def_term); in handle_esc() 338 if(TT.term_ok) tcsetattr(0, TCSADRAIN, &TT.def_term); in telnet_main()
|
H A D | more.c | 29 tcsetattr(TT.cin_fd, TCSANOW, &TT.inf); in signal_handler() 109 tcsetattr(TT.cin_fd, TCSANOW, &newf); in more_main() 168 tcsetattr(TT.cin_fd, TCSANOW, &TT.inf); in more_main()
|
H A D | getty.c | 172 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in termios_init() 173 perror_exit("tcsetattr"); in termios_init() 186 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in sense_baud() 187 perror_exit("tcsetattr"); in sense_baud() 199 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in sense_baud() 200 perror_exit("tcsetattr"); in sense_baud() 328 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in getty_main() 329 perror_exit("tcsetattr"); in getty_main()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/termios/ |
H A D | tcsetattr.c | 32 int result = tcsetattr(STDIN_FILENO, TCSAFLUSH, &tio); in tcsetattr_0100() 55 int result = tcsetattr(-1, -1, NULL); in tcsetattr_0200()
|
/third_party/python/Lib/ |
H A D | getpass.py | 76 termios.tcsetattr(fd, tcsetattr_flags, new) 79 termios.tcsetattr(fd, tcsetattr_flags, old) 83 # _raw_input succeeded. The final tcsetattr failed. Reraise 176 termios.tcgetattr, termios.tcsetattr
|
H A D | tty.py | 28 tcsetattr(fd, when, mode) 36 tcsetattr(fd, when, mode)
|
H A D | pty.py | 16 from tty import setraw, tcgetattr, tcsetattr namespace 214 tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
/third_party/python/Lib/test/ |
H A D | test_getpass.py | 119 mock.patch('termios.tcsetattr') as tcsetattr: 124 tcsetattr.assert_called_with(3, mock.ANY, fake_attrs) 131 mock.patch('termios.tcsetattr') as tcsetattr, \ 135 tcsetattr.side_effect = termios.error 146 mock.patch('termios.tcsetattr'):
|
H A D | test_pty.py | 47 # that by doing the appropriate termios.tcsetattr()s. I couldn't figure out 311 self.orig_pty_tcsetattr = pty.tcsetattr 328 pty.tcsetattr = self.orig_pty_tcsetattr 409 pty.tcsetattr = self._mock_tcsetattr 413 self.assertEqual(self.tcsetattr_mode_setting, mode_sentinel, "pty.tcsetattr not called with original mode value")
|
/third_party/musl/src/legacy/ |
H A D | getpass.c | 23 tcsetattr(fd, TCSAFLUSH, &t); in getpass() 34 tcsetattr(fd, TCSAFLUSH, &s); in getpass()
|
/third_party/toybox/toys/net/ |
H A D | microcom.c | 32 tcsetattr(0, TCSAFLUSH, &TT.original_stdin_state); in restore_states() 33 tcsetattr(TT.fd, TCSAFLUSH, &TT.original_fd_state); in restore_states()
|
/third_party/curl/src/ |
H A D | tool_getpass.c | 150 tcsetattr(fd, TCSANOW, &noecho); in ttyecho() 166 tcsetattr(fd, TCSAFLUSH, &withecho); in ttyecho()
|
/third_party/rust/crates/rustix/src/termios/ |
H A D | tc.rs | 77 /// `tcsetattr(fd)`—Set terminal attributes. 82 /// - [POSIX `tcsetattr`] 86 /// [POSIX `tcsetattr`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetattr.html 91 pub fn tcsetattr<Fd: AsFd>( in tcsetattr() functions 96 backend::termios::syscalls::tcsetattr(fd.as_fd(), optional_actions, termios) in tcsetattr() 128 /// [POSIX `tcsetattr`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcdrain.html
|
/third_party/musl/src/termios/ |
H A D | tcsetattr.c | 5 int tcsetattr(int fd, int act, const struct termios *tio) in tcsetattr() function
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | termios.h | 28 int tcsetattr (int, int, const struct termios *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | termios.h | 28 int tcsetattr (int, int, const struct termios *);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | termios.h | 29 int tcsetattr (int, int, const struct termios *);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | termios.h | 25 int tcsetattr (int, int, const struct termios *);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | termios.h | 28 int tcsetattr (int, int, const struct termios *);
|
/third_party/musl/include/ |
H A D | termios.h | 29 int tcsetattr (int, int, const struct termios *);
|
/third_party/musl/libc-test/src/functionalext/supplement/termios/termios_gtest/ |
H A D | termios_cfsetspeed_test.cpp | 29 int result2 = tcsetattr(fd, TCSANOW, &tty); in HWTEST_F()
|
/third_party/musl/src/misc/ |
H A D | openpty.c | 30 if (tio) tcsetattr(s, TCSANOW, tio); in openpty()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | openpty.c | 30 if (tio) tcsetattr(s, TCSANOW, tio); in openpty()
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | pty02.c | 38 TEST(tcsetattr(ptmx, TCSANOW, &io)); in do_test() 41 tst_brk(TCONF, "tcsetattr(, , EXTPROC | ICANON) is not supported"); in do_test() 42 tst_brk(TBROK | TTERRNO, "tcsetattr() failed"); in do_test()
|
/third_party/cups-filters/backend/ |
H A D | serial.c | 462 tcsetattr(device_fd, TCSANOW, &opts); in main() 585 tcsetattr(device_fd, TCSADRAIN, &origopts); in main() 671 tcsetattr(device_fd, TCSADRAIN, &origopts); in main() 698 tcsetattr(device_fd, TCSADRAIN, &origopts); in main()
|