Home
last modified time | relevance | path

Searched refs:tcgetattr (Results 1 – 25 of 99) sorted by relevance

1234

/external/rust/crates/nix/test/sys/
Dtest_termios.rs7 use nix::sys::termios::{self, LocalFlags, OutputFlags, tcgetattr};
25 assert!(termios::tcgetattr(pty.slave).is_ok()); in test_tcgetattr_pty()
34 assert_eq!(termios::tcgetattr(file.as_raw_fd()).err(), in test_tcgetattr_enotty()
41 assert_eq!(termios::tcgetattr(-1).err(), in test_tcgetattr_ebadf()
56 let termios = tcgetattr(pty.slave).expect("tcgetattr failed"); in test_output_flags()
98 let termios = tcgetattr(pty.slave).unwrap(); in test_local_flags()
/external/python/cpython3/Doc/library/
Dtermios.rst31 .. function:: tcgetattr(fd)
45 a list like the one returned by :func:`tcgetattr`. The *when* argument
89 technique using a separate :func:`tcgetattr` call and a :keyword:`try` ...
96 old = termios.tcgetattr(fd)
97 new = termios.tcgetattr(fd)
/external/python/cpython2/Doc/library/
Dtermios.rst31 .. function:: tcgetattr(fd)
45 a list like the one returned by :func:`tcgetattr`. The *when* argument
89 technique using a separate :func:`tcgetattr` call and a :keyword:`try` ...
96 old = termios.tcgetattr(fd)
97 new = termios.tcgetattr(fd)
/external/llvm-project/lldb/source/Host/common/
DTerminal.cpp31 if (::tcgetattr(m_fd, &fd_termios) == 0) { in SetEcho()
60 if (::tcgetattr(m_fd, &fd_termios) == 0) { in SetCanonical()
117 int err = ::tcgetattr(fd, m_termios_up.get()); in Save()
/external/python/cpython3/Lib/
Dtty.py20 mode = tcgetattr(fd)
32 mode = tcgetattr(fd)
Dgetpass.py69 old = termios.tcgetattr(fd) # a copy to save
176 termios.tcgetattr, termios.tcsetattr
/external/python/cpython2/Lib/
Dtty.py20 mode = tcgetattr(fd)
32 mode = tcgetattr(fd)
Dgetpass.py63 old = termios.tcgetattr(fd) # a copy to save
165 termios.tcgetattr, termios.tcsetattr
/external/crosvm/sys_util/src/
Dterminal.rs10 isatty, read, tcgetattr, tcsetattr, termios, ECHO, ICANON, ISIG, O_NONBLOCK, STDIN_FILENO,
25 let ret = unsafe { tcgetattr(fd, &mut termios as *mut _) }; in modify_mode()
/external/llvm-project/lldb/source/Interpreter/
Dembedded_interpreter.py93 old = termios.tcgetattr(fd)
96 new = termios.tcgetattr(fd)
/external/compiler-rt/test/msan/Linux/
Dtcgetattr.cc15 int res = tcgetattr(fd, &t); in main()
/external/llvm-project/compiler-rt/test/msan/Linux/
Dtcgetattr.cpp15 int res = tcgetattr(fd, &t); in main()
/external/libxkbcommon/tools/
Dtools-common.c187 if (tcgetattr(STDIN_FILENO, &termios) == 0) { in tools_disable_stdin_echo()
198 if (tcgetattr(STDIN_FILENO, &termios) == 0) { in tools_enable_stdin_echo()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c58 if (tcgetattr(fd, &saved_termios) < 0) { in tty_semi_raw()
260 if (tcgetattr(STDOUT_FILENO, &tty_attr) < 0) { in main()
282 if (tcgetattr(STDIN_FILENO, &s_tty_attr)) { in main()
/external/openssh/openbsd-compat/
Dbsd-nextstep.h49 int tcgetattr(int, struct termios *);
Dbsd-nextstep.c47 tcgetattr(int fd, struct termios *t) in tcgetattr() function
/external/python/cpython3/Lib/test/
Dtest_getpass.py115 mock.patch('termios.tcgetattr') as tcgetattr, \
119 tcgetattr.return_value = list(fake_attrs)
/external/llvm-project/lldb/tools/driver/
DPlatform.cpp53 int tcgetattr(int fildes, struct termios *termios_p) { in tcgetattr() function
DPlatform.h76 extern int tcgetattr(int fildes, struct termios *termios_p);
/external/ltp/testcases/kernel/pty/
Dpty02.c31 if (tcgetattr(ptmx, &io) != 0) in do_test()
/external/openssh/
Dttymodes.c293 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_make_modes()
367 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_parse_modes()
Dsshtty.c73 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode()
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
Dptyprocess.py75 intr = ord(termios.tcgetattr(fd)[6][VINTR])
76 eof = ord(termios.tcgetattr(fd)[6][VEOF])
98 attr = termios.tcgetattr(fd)
457 attr = termios.tcgetattr(self.fd)
/external/llvm-project/lldb/tools/debugserver/source/
DTTYState.cpp27 m_ttystateErr = tcgetattr(fd, &m_ttystate); in GetTTYState()
/external/toybox/toys/net/
Dmicrocom.c45 || tcgetattr(TT.fd, &TT.old_fd)) in microcom_main()

1234