Home
last modified time | relevance | path

Searched refs:termios (Results 1 – 25 of 87) sorted by relevance

1234

/external/toybox/toys/pending/
Dgetty.c42 struct termios termios;
149 if (tcgetattr(STDIN_FILENO, &TT.termios) < 0) perror_exit("tcgetattr"); in termios_init()
152 TT.termios.c_cflag &= (0|CSTOPB|PARENB|PARODD); in termios_init()
154 if (toys.optflags & FLAG_h) TT.termios.c_cflag |= CRTSCTS; in termios_init()
156 if (toys.optflags & FLAG_L) TT.termios.c_cflag |= CLOCAL; in termios_init()
157 TT.termios.c_cc[VTIME] = 0; in termios_init()
158 TT.termios.c_cc[VMIN] = 1; in termios_init()
159 TT.termios.c_oflag = OPOST|ONLCR; in termios_init()
160 TT.termios.c_cflag |= CS8|CREAD|HUPCL|CBAUDEX; in termios_init()
162 TT.termios.c_lflag |= ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOKE; in termios_init()
[all …]
Dmore.c22 struct termios inf; in GLOBALS()
76 struct termios newf; in more_main()
88 memcpy(&newf, &TT.inf, sizeof(struct termios)); in more_main()
Dtest.c85 struct termios termios; in test_main() local
86 toys.exitval = tcgetattr(atoi(toys.optargs[1]), &termios) == -1; in test_main()
/external/openssh/openbsd-compat/
Dbsd-nextstep.h51 int tcgetattr(int, struct termios *);
52 int tcsetattr(int, int, const struct termios *);
54 speed_t cfgetospeed(const struct termios *);
55 speed_t cfgetispeed(const struct termios *);
56 int cfsetospeed(struct termios *, int);
57 int cfsetispeed(struct termios *, int);
Dbsd-nextstep.c47 tcgetattr(int fd, struct termios *t) in tcgetattr()
53 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr()
55 struct termios localterm; in tcsetattr()
80 speed_t cfgetospeed(const struct termios *t) in cfgetospeed()
85 speed_t cfgetispeed(const struct termios *t) in cfgetispeed()
91 cfsetospeed(struct termios *t,int speed) in cfsetospeed()
98 cfsetispeed(struct termios *t, int speed) in cfsetispeed()
Dbsd-openpty.c73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, in openpty()
186 struct termios tio; in openpty()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c950 struct termios termios; in USERIAL_Open() local
1074 tcgetattr(linux_cb.sock, &termios); in USERIAL_Open()
1076 termios.c_cflag &= ~(CSIZE | PARENB); in USERIAL_Open()
1077 termios.c_cflag = CLOCAL|CREAD|data_bits|stop_bits|parity; in USERIAL_Open()
1079 termios.c_cflag |= IGNPAR; in USERIAL_Open()
1081 termios.c_oflag = 0; in USERIAL_Open()
1082 termios.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN | ISIG); in USERIAL_Open()
1083 termios.c_iflag &= ~(BRKINT | ICRNL | INLCR | ISTRIP | IXON | IGNBRK | PARMRK | INPCK); in USERIAL_Open()
1084 termios.c_lflag = 0; in USERIAL_Open()
1085 termios.c_iflag = 0; in USERIAL_Open()
[all …]
/external/openssh/
Dsshtty.c47 static struct termios _saved_tio;
50 struct termios *
71 struct termios tio; in enter_raw_mode()
Dttymodes.c281 tty_make_modes(int fd, struct termios *tiop) in tty_make_modes()
283 struct termios tio; in tty_make_modes()
351 struct termios tio; in tty_parse_modes()
Dsshpty.h19 struct termios *get_saved_tio(void);
/external/llvm/test/CodeGen/X86/
D2009-01-25-NoSSE.ll13 %termios = alloca %struct.ktermios, align 8
14 %termios1 = bitcast %struct.ktermios* %termios to i8*
16 call void @bar(%struct.ktermios* %termios) nounwind
/external/lldb/test/pexpect-2.4/examples/
Dscript.py22 import signal, fcntl, termios, struct
84 if 'TIOCGWINSZ' in dir(termios):
85 TIOCGWINSZ = termios.TIOCGWINSZ
/external/lldb/test/pexpect-2.4/
Dpexpect.py77 import termios
728 attr = termios.tcgetattr(self.child_fd)
729 if attr[3] & termios.ECHO:
765 attr = termios.tcgetattr(self.child_fd)
767 attr[3] = attr[3] | termios.ECHO
769 attr[3] = attr[3] & ~termios.ECHO
772 termios.tcsetattr(self.child_fd, termios.TCSANOW, attr)
1023 if hasattr(termios, 'VEOF'):
1024 char = termios.tcgetattr(self.child_fd)[6][termios.VEOF]
1035 if hasattr(termios, 'VINTR'):
[all …]
/external/lldb/source/Host/common/
DTerminal.cpp39 struct termios fd_termios; in SetEcho()
76 struct termios fd_termios; in SetCanonical()
146 m_termios_ap.reset (new struct termios); in Save()
/external/lldb/include/lldb/Host/
DTerminal.h16 struct termios;
176 std::unique_ptr<struct termios> m_termios_ap; ///< Cached terminal state information.
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dp2p-nfc.py368 import sys, tty, termios
373 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
378 import sys, tty, termios, select
381 prev_tcgetattr = termios.tcgetattr(fd)
390 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
/external/toybox/generated/
Dglobals.h518 struct termios termios; member
642 struct termios inf;
700 struct termios crntio;
759 struct termios def_term;
760 struct termios raw_term;
804 struct termios inf;
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c49 static struct termios saved_termios;
55 struct termios buf; in tty_semi_raw()
202 struct termios tty_attr; in main()
259 struct termios s_tty_attr; in main()
/external/toybox/lib/
Dinterestingtimes.c50 int set_terminal(int fd, int raw, struct termios *old) in set_terminal()
52 struct termios termio; in set_terminal()
/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_uart.c55 struct termios nIoConfigBackup;
56 struct termios nIoConfig;
194 memset((void *)&gComPortContext.nIoConfig, (int)0, (size_t)sizeof(struct termios)); in phDal4Nfc_uart_open_and_configure()
/external/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py175 import termios
185 attr = termios.tcgetattr(fd)
186 attr[3] = attr[3] & ~termios.ECHO
187 termios.tcsetattr(fd, termios.TCSANOW, attr)
/external/libedit/src/
Dtty.c455 private int tty_getty(EditLine *, struct termios *);
456 private int tty_setty(EditLine *, int, const struct termios *);
458 private void tty__getchar(struct termios *, unsigned char *);
459 private void tty__setchar(struct termios *, unsigned char *);
460 private speed_t tty__getspeed(struct termios *);
469 tty_getty(EditLine *el, struct termios *t) in tty_getty()
481 tty_setty(EditLine *el, int action, const struct termios *t) in tty_setty()
614 tty__getspeed(struct termios *td) in tty__getspeed()
735 tty__getchar(struct termios *td, unsigned char *s) in tty__getchar()
817 tty__setchar(struct termios *td, unsigned char *s) in tty__setchar()
[all …]
/external/e2fsprogs/e2fsck/
Dutil.c193 struct termios termios, tmp; in ask_yn() local
195 tcgetattr (0, &termios); in ask_yn()
196 tmp = termios; in ask_yn()
216 tcsetattr (0, TCSANOW, &termios); in ask_yn()
241 tcsetattr (0, TCSANOW, &termios); in ask_yn()
/external/compiler-rt/test/msan/Linux/
Dtcgetattr.cc14 struct termios t; in main()
/external/strace/tests/
Dioctl.c29 struct termios tty; in main()

1234