Home
last modified time | relevance | path

Searched refs:tcsetattr (Results 1 – 25 of 94) sorted by relevance

1234

/external/toybox/toys/net/
Dmicrocom.c32 if (TT.stok) tcsetattr(0, TCSAFLUSH, &TT.old_stdin);
33 tcsetattr(TT.fd, TCSAFLUSH, &TT.old_fd);
52 if (tcsetattr(TT.fd, TCSAFLUSH, &tio)) perror_exit("set speed"); in microcom_main()
/external/python/cpython3/Lib/test/
Dtest_getpass.py116 mock.patch('termios.tcsetattr') as tcsetattr:
121 tcsetattr.assert_called_with(3, mock.ANY, fake_attrs)
128 mock.patch('termios.tcsetattr') as tcsetattr, \
132 tcsetattr.side_effect = termios.error
/external/python/cpython2/Lib/
Dgetpass.py70 termios.tcsetattr(fd, tcsetattr_flags, new)
73 termios.tcsetattr(fd, tcsetattr_flags, old)
165 termios.tcgetattr, termios.tcsetattr
Dtty.py28 tcsetattr(fd, when, mode)
36 tcsetattr(fd, when, mode)
/external/llvm-project/lldb/source/Host/common/
DTerminal.cpp47 return ::tcsetattr(m_fd, TCSANOW, &fd_termios) == 0; in SetEcho()
76 return ::tcsetattr(m_fd, TCSANOW, &fd_termios) == 0; in SetCanonical()
149 tcsetattr(fd, TCSANOW, m_termios_up.get()); in Restore()
/external/openssh/
Dsshtty.c61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode()
91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) { in enter_raw_mode()
/external/toybox/toys/pending/
Dmore.c29 tcsetattr(TT.cin_fd, TCSANOW, &TT.inf);
109 tcsetattr(TT.cin_fd, TCSANOW, &newf); in more_main()
168 tcsetattr(TT.cin_fd, TCSANOW, &TT.inf); in more_main()
Dgetty.c109 if (tcsetattr(0, TCSANOW, &TT.termios) < 0) perror_exit("tcsetattr"); in termios_init()
121 if (tcsetattr(0, TCSANOW, &TT.termios) < 0) perror_exit("tcsetattr"); in sense_baud()
133 if (tcsetattr(0, TCSANOW, &TT.termios) < 0) perror_exit("tcsetattr"); in sense_baud()
243 if (tcsetattr(0, TCSANOW, &TT.termios) < 0) perror_exit("tcsetattr"); in getty_main()
/external/python/cpython3/Lib/
Dgetpass.py76 termios.tcsetattr(fd, tcsetattr_flags, new)
79 termios.tcsetattr(fd, tcsetattr_flags, old)
176 termios.tcgetattr, termios.tcsetattr
Dtty.py28 tcsetattr(fd, when, mode)
36 tcsetattr(fd, when, mode)
/external/crosvm/sys_util/src/
Dterminal.rs10 isatty, read, tcgetattr, tcsetattr, termios, ECHO, ICANON, ISIG, O_NONBLOCK, STDIN_FILENO,
32 let ret = unsafe { tcsetattr(fd, TCSANOW, &new_termios as *const _) }; in modify_mode()
/external/python/cpython2/Doc/library/
Dtty.rst24 :func:`termios.tcsetattr`.
31 :func:`termios.tcsetattr`.
Dtermios.rst42 .. function:: tcsetattr(fd, when, attributes)
100 termios.tcsetattr(fd, termios.TCSADRAIN, new)
103 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/external/python/cpython3/Doc/library/
Dtty.rst27 :func:`termios.tcsetattr`.
34 :func:`termios.tcsetattr`.
Dtermios.rst42 .. function:: tcsetattr(fd, when, attributes)
100 termios.tcsetattr(fd, termios.TCSADRAIN, new)
103 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/external/llvm-project/lldb/source/Interpreter/
Dembedded_interpreter.py99 termios.tcsetattr(fd, termios.TCSADRAIN, new)
106 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dkeyboard.py113 termios.tcsetattr(fd, termios.TCSAFLUSH, new_attrs)
117 termios.tcsetattr(fd, termios.TCSAFLUSH, old_attrs)
/external/curl/src/
Dtool_getpass.c195 tcsetattr(fd, TCSANOW, &noecho); in ttyecho()
211 tcsetattr(fd, TCSAFLUSH, &withecho); in ttyecho()
/external/libxkbcommon/tools/
Dtools-common.c189 (void) tcsetattr(STDIN_FILENO, TCSADRAIN, &termios); in tools_disable_stdin_echo()
200 (void) tcsetattr(STDIN_FILENO, TCSADRAIN, &termios); in tools_enable_stdin_echo()
/external/openssh/openbsd-compat/
Dreadpassphrase.c102 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); in readpassphrase()
155 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
Dbsd-nextstep.h50 int tcsetattr(int, int, const struct termios *);
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c83 if (tcsetattr(fd, TCSANOW, &buf) < 0) { in tty_semi_raw()
97 if (tcsetattr(saved_fd, TCSANOW, &saved_termios) < 0) { in tty_atexit()
290 if (tcsetattr(STDIN_FILENO, TCSANOW, &s_tty_attr)) { in main()
/external/llvm-project/lldb/tools/driver/
DPlatform.cpp49 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) { in tcsetattr() function
DPlatform.h74 extern int tcsetattr(int fd, int optional_actions,
/external/ltp/testcases/kernel/pty/
Dpty02.c36 TEST(tcsetattr(ptmx, TCSANOW, &io)); in do_test()

1234