Home
last modified time | relevance | path

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

123

/external/toybox/toys/pending/
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()
Dmore.c29 tcsetattr(TT.cin_fd, TCSANOW, &TT.inf);
95 tcsetattr(TT.cin_fd, TCSANOW, &newf); in more_main()
149 tcsetattr(TT.cin_fd, TCSANOW, &TT.inf); in more_main()
Dgetty.c172 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in termios_init()
186 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in sense_baud()
199 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in sense_baud()
328 if (tcsetattr(STDIN_FILENO, TCSANOW, &TT.termios) < 0) in getty_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/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/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/net/
Dmicrocom.c32 tcsetattr(0, TCSAFLUSH, &TT.original_stdin_state);
33 tcsetattr(TT.fd, TCSAFLUSH, &TT.original_fd_state);
/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/chromium-trace/catapult/devil/devil/android/tools/
Dkeyboard.py115 termios.tcsetattr(fd, termios.TCSAFLUSH, new_attrs)
119 termios.tcsetattr(fd, termios.TCSAFLUSH, old_attrs)
/external/curl/src/
Dtool_getpass.c201 tcsetattr(fd, TCSANOW, &noecho); in ttyecho()
217 tcsetattr(fd, TCSAFLUSH, &withecho); in ttyecho()
/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/openssh/openbsd-compat/
Dreadpassphrase.c110 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); in readpassphrase()
163 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
Dbsd-nextstep.h50 int tcsetattr(int, int, const struct termios *);
Dbsd-nextstep.c53 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() function
/external/e2fsprogs/ext2ed/
Dwin.c68 tcsetattr(0,TCSANOW,&termioCurrent); in init_windows()
160 tcsetattr(0,TCSANOW,&termioInit); in close_windows()
/external/curl/docs/examples/
Drtsp.c52 tcsetattr(STDIN_FILENO, TCSANOW, &newt); in _getch()
54 tcsetattr(STDIN_FILENO, TCSANOW, &oldt); in _getch()
/external/ltp/testcases/kernel/pty/
Dpty02.c48 TEST(tcsetattr(ptmx, TCSANOW, &io)); in do_test()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dcommon_util.py54 termios.tcsetattr(fin, termios.TCSADRAIN, old_attrs)
/external/iperf3/src/
Diperf_auth.c298 if (tcsetattr (fileno (stream), TCSAFLUSH, &new) != 0) in iperf_getpass()
306 (void) tcsetattr (fileno (stream), TCSAFLUSH, &old); in iperf_getpass()

123