/third_party/rust/crates/nix/test/sys/ |
H A D | test_termios.rs | 7 use nix::sys::termios::{self, tcgetattr, LocalFlags, OutputFlags}; 18 // Test tcgetattr on a terminal 25 termios::tcgetattr(pty.slave).unwrap(); in test_tcgetattr_pty() 30 // Test tcgetattr on something that isn't a terminal 35 termios::tcgetattr(file.as_raw_fd()).err(), in test_tcgetattr_enotty() 40 // Test tcgetattr on an invalid file descriptor 43 assert_eq!(termios::tcgetattr(-1).err(), Some(Errno::EBADF)); in test_tcgetattr_ebadf() 57 let termios = tcgetattr(pty.slave).expect("tcgetattr failed"); in test_output_flags() 103 let termios = tcgetattr(pt in test_local_flags() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/manual/termios/ |
H A D | tcgetattr.c | 29 int result = tcgetattr(STDIN_FILENO, &tio); in tcgetattr_0100() 43 int result = tcgetattr(-1, NULL); in tcgetattr_0200()
|
H A D | tcsetattr.c | 37 result = tcgetattr(STDIN_FILENO, &tio); in tcsetattr_0100()
|
/third_party/python/Lib/ |
H A D | tty.py | 20 mode = tcgetattr(fd) 32 mode = tcgetattr(fd)
|
H A D | getpass.py | 69 old = termios.tcgetattr(fd) # a copy to save 176 termios.tcgetattr, termios.tcsetattr
|
H A D | pty.py | 16 from tty import setraw, tcgetattr, tcsetattr namespace 204 mode = tcgetattr(STDIN_FILENO)
|
/third_party/python/Lib/test/ |
H A D | test_pty.py | 73 tty.tcgetattr(pty.STDIN_FILENO) 114 mode = tty.tcgetattr(pty.STDIN_FILENO) 117 debug("tty.tcgetattr(pty.STDIN_FILENO) failed") 163 self.assertEqual(tty.tcgetattr(slave_fd), mode, 310 self.orig_pty_tcgetattr = pty.tcgetattr 327 pty.tcgetattr = self.orig_pty_tcgetattr 408 pty.tcgetattr = lambda fd: mode_sentinel
|
H A D | test_getpass.py | 118 mock.patch('termios.tcgetattr') as tcgetattr, \ 122 tcgetattr.return_value = list(fake_attrs) 130 mock.patch('termios.tcgetattr'), \ 145 mock.patch('termios.tcgetattr'), \
|
/third_party/rust/crates/rustix/src/termios/ |
H A D | tc.rs | 9 /// `tcgetattr(fd)`—Get terminal attributes. 14 /// - [POSIX `tcgetattr`] 18 /// [POSIX `tcgetattr`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetattr.html 24 pub fn tcgetattr<Fd: AsFd>(fd: Fd) -> io::Result<Termios> { in tcgetattr() functions 25 backend::termios::syscalls::tcgetattr(fd.as_fd()) in tcgetattr()
|
/third_party/musl/src/termios/ |
H A D | tcgetattr.c | 4 int tcgetattr(int fd, struct termios *tio) in tcgetattr() function
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | termios.h | 27 int tcgetattr (int, struct termios *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | termios.h | 27 int tcgetattr (int, struct termios *);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | termios.h | 28 int tcgetattr (int, struct termios *);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | termios.h | 24 int tcgetattr (int, struct termios *);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | termios.h | 27 int tcgetattr (int, struct termios *);
|
/third_party/musl/include/ |
H A D | termios.h | 28 int tcgetattr (int, struct termios *);
|
/third_party/musl/libc-test/src/functionalext/supplement/termios/termios_gtest/ |
H A D | termios_cfsetspeed_test.cpp | 25 int result1 = tcgetattr(fd, &tty); in HWTEST_F()
|
/third_party/musl/src/legacy/ |
H A D | getpass.c | 17 tcgetattr(fd, &t); in getpass()
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | pty02.c | 33 if (tcgetattr(ptmx, &io) != 0) in do_test() 34 tst_brk(TBROK | TERRNO, "tcgetattr() failed"); in do_test()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_ioctl.cpp | 37 ret = tcgetattr(fd, &ttydev); in Bm_function_Ioctl_baudrate()
|
/third_party/rust/crates/rustix/src/backend/libc/termios/ |
H A D | syscalls.rs | 22 pub(crate) fn tcgetattr(fd: BorrowedFd<'_>) -> io::Result<Termios> { 25 ret(c::tcgetattr(borrowed_fd(fd), result.as_mut_ptr()))?;
|
/third_party/toybox/toys/pending/ |
H A D | sulogin.c | 47 tcgetattr(0, &(TT.crntio)); in validate_password()
|
/third_party/rust/crates/nix/test/ |
H A D | test_pty.rs | 160 let mut termios = tcgetattr(fd).unwrap(); in make_raw() 244 let termios = tcgetattr(pty.slave).unwrap(); in test_openpty_with_termios()
|
/third_party/curl/src/ |
H A D | tool_getpass.c | 147 tcgetattr(fd, &withecho); in ttyecho()
|
/third_party/ltp/testcases/cve/ |
H A D | cve-2014-0196.c | 100 tcgetattr(master_fd, &t); in run()
|