/external/syslinux/com32/libutil/ |
ansiline.c | 65 struct termios tio; local 73 tcgetattr(0, &tio); 74 tio.c_iflag &= ~ICRNL; 75 tio.c_iflag |= IGNCR; 76 tio.c_lflag |= ICANON | ECHO; 77 if (!tio.c_oflag & OPOST) 78 tio.c_oflag = 0; 79 tio.c_oflag |= OPOST | ONLCR; 80 tcsetattr(0, TCSANOW, &tio);
|
ansiraw.c | 66 struct termios tio; local 74 tcgetattr(0, &tio); 75 tio.c_iflag &= ~ICRNL; 76 tio.c_iflag |= IGNCR; 77 tio.c_lflag &= ~(ISIG | ICANON | ECHO); 78 if (!tio.c_oflag & OPOST) 79 tio.c_oflag = 0; 80 tio.c_oflag |= OPOST | ONLCR; 81 tio.c_cc[VMIN] = 0; 82 tio.c_cc[VTIME] = 1; /* Don't 100% busy-wait in Linux * 88 struct termios tio, rtio; local [all...] |
/external/openssh/ |
sshtty.c | 71 struct termios tio; local 73 if (tcgetattr(fileno(stdin), &tio) == -1) { 78 _saved_tio = tio; 79 tio.c_iflag |= IGNPAR; 80 tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); 82 tio.c_iflag &= ~IUCLC; 84 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); 86 tio.c_lflag &= ~IEXTEN; 88 tio.c_oflag &= ~OPOST; 89 tio.c_cc[VMIN] = 1 [all...] |
ttymodes.c | 282 struct termios tio; local 301 debug("tty_make_modes: no fd or tio"); 304 if (tcgetattr(fd, &tio) == -1) { 309 tio = *tiop; 312 baud = speed_to_baud(cfgetospeed(&tio)); 315 baud = speed_to_baud(cfgetispeed(&tio)); 322 put_arg(&buf, special_char_encode(tio.c_cc[NAME])); 326 put_arg(&buf, ((tio.FIELD & NAME) != 0)); 350 struct termios tio; local 373 if (tcgetattr(fd, &tio) == -1) [all...] |
mux.c | 101 struct termios tio; member in struct:mux_session_confirm_ctx 438 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1) [all...] |
channels.c | 1779 struct termios tio; local [all...] |
/external/strace/ |
term.c | 77 struct termio tio; local 81 if (umove_or_printaddr(tcp, addr, &tio)) 85 printxval(baud_options, tio.c_cflag & CBAUD, "B???"); 87 (tio.c_oflag & OPOST) ? "" : "-", 88 (tio.c_lflag & ISIG) ? "" : "-", 89 (tio.c_lflag & ICANON) ? "" : "-", 90 (tio.c_lflag & ECHO) ? "" : "-"); 94 (long) tio.c_iflag, (long) tio.c_oflag); 96 (long) tio.c_cflag, (long) tio.c_lflag) [all...] |
/device/google/contexthub/util/stm32_flash/ |
uart.c | 78 struct termios tio; local 97 if (tcgetattr(uart_handle->fd, &tio)) 98 memset(&tio, 0, sizeof(tio)); 100 tio.c_cflag = CS8 | CLOCAL | CREAD | PARENB; 101 cfsetospeed(&tio, B57600); 102 cfsetispeed(&tio, B57600); 103 tio.c_iflag = 0; /* turn off IGNPAR */ 104 tio.c_oflag = 0; /* turn off OPOST */ 105 tio.c_lflag = 0; /* turn off CANON, ECHO*, etc * [all...] |
/libcore/ojluni/src/main/native/ |
Console_md.c | 56 struct termios tio; local 59 if (tcgetattr(tty, &tio) == -1) { 63 old = (tio.c_lflag & ECHO); 65 tio.c_lflag |= ECHO; 67 tio.c_lflag &= ~ECHO; 69 if (tcsetattr(tty, TCSANOW, &tio) == -1) {
|
/external/syslinux/com32/rosh/ |
rosh.h | 182 struct termios tio; local 187 tcgetattr(0, &tio); 188 tio.c_iflag &= ~IGNCR; 189 tcsetattr(0, TCSAFLUSH, &tio); 197 struct termios tio; local 200 tcgetattr(0, &tio); 201 tio.c_iflag |= ICRNL; 202 tio.c_iflag &= ~IGNCR; 203 tcsetattr(0, TCSANOW, &tio);
|
/frameworks/base/core/jni/ |
android_hardware_SerialPort.cpp | 144 struct termios tio; local 145 if (tcgetattr(fd, &tio)) 146 memset(&tio, 0, sizeof(tio)); 148 tio.c_cflag = speed | CS8 | CLOCAL | CREAD; 150 tio.c_oflag &= ~OPOST; 151 tio.c_iflag = IGNPAR; 152 tio.c_lflag = 0; /* turn of CANON, ECHO*, etc */ 154 tio.c_cc[VTIME] = 0; 155 tio.c_cc[VMIN] = 1 [all...] |
/external/openssh/openbsd-compat/ |
bsd-openpty.c | 186 struct termios tio; 208 if (tcgetattr(*amaster, &tio) != -1) { 209 tio.c_lflag |= (ECHO | ISIG | ICANON); 210 tio.c_oflag |= (OPOST | ONLCR); 211 tio.c_iflag |= ICRNL; 212 tcsetattr(*amaster, TCSANOW, &tio);
|
/system/core/adb/ |
commandline.cpp | 233 termios tio; 234 if (tcgetattr(STDIN_FILENO, &tio)) return; 236 cfmakeraw(&tio); 239 tio.c_cc[VTIME] = 0; 240 tio.c_cc[VMIN] = 1; 242 tcsetattr(STDIN_FILENO, TCSAFLUSH, &tio); [all...] |