Home
last modified time | relevance | path

Searched refs:tcsetattr (Results 1 - 25 of 66) sorted by relevance

123

/third_party/toybox/toys/pending/
H A Dtelnet.c59 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 Dmore.c29 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 Dgetty.c172 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 Dtcsetattr.c32 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 Dgetpass.py76 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 Dtty.py28 tcsetattr(fd, when, mode)
36 tcsetattr(fd, when, mode)
H A Dpty.py16 from tty import setraw, tcgetattr, tcsetattr namespace
214 tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
/third_party/python/Lib/test/
H A Dtest_getpass.py119 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 Dtest_pty.py47 # 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 Dgetpass.c23 tcsetattr(fd, TCSAFLUSH, &t); in getpass()
34 tcsetattr(fd, TCSAFLUSH, &s); in getpass()
/third_party/toybox/toys/net/
H A Dmicrocom.c32 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 Dtool_getpass.c150 tcsetattr(fd, TCSANOW, &noecho); in ttyecho()
166 tcsetattr(fd, TCSAFLUSH, &withecho); in ttyecho()
/third_party/rust/crates/rustix/src/termios/
H A Dtc.rs77 /// `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 Dtcsetattr.c5 int tcsetattr(int fd, int act, const struct termios *tio) in tcsetattr() function
/third_party/musl/porting/uniproton/kernel/include/
H A Dtermios.h28 int tcsetattr (int, int, const struct termios *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dtermios.h28 int tcsetattr (int, int, const struct termios *);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dtermios.h29 int tcsetattr (int, int, const struct termios *);
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dtermios.h25 int tcsetattr (int, int, const struct termios *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtermios.h28 int tcsetattr (int, int, const struct termios *);
/third_party/musl/include/
H A Dtermios.h29 int tcsetattr (int, int, const struct termios *);
/third_party/musl/libc-test/src/functionalext/supplement/termios/termios_gtest/
H A Dtermios_cfsetspeed_test.cpp29 int result2 = tcsetattr(fd, TCSANOW, &tty); in HWTEST_F()
/third_party/musl/src/misc/
H A Dopenpty.c30 if (tio) tcsetattr(s, TCSANOW, tio); in openpty()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dopenpty.c30 if (tio) tcsetattr(s, TCSANOW, tio); in openpty()
/third_party/ltp/testcases/kernel/pty/
H A Dpty02.c38 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 Dserial.c462 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()

Completed in 9 milliseconds

123