Home
last modified time | relevance | path

Searched refs:termio (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c77 static struct termio termio, save_io; variable
228 termio.c_line = 0; in run_ptest()
231 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL; in run_ptest()
237 termio.c_cc[i] = CSTART; in run_ptest()
241 termio.c_lflag = in run_ptest()
245 termio.c_iflag = in run_ptest()
250 termio.c_oflag = OPOST | OLCUC | ONLCR | ONOCR; in run_ptest()
252 TEST(ioctl(parentfd, TCSETA, &termio)); in run_ptest()
261 rval = ioctl(parentfd, TCGETA, &termio); in run_ptest()
291 if (termio.c_line != 0) { in chk_tty_parms()
[all …]
Dioctl01.c72 static struct termio termio; variable
77 struct termio *s_tio;
82 &bfd, TCGETA, &termio, EBADF},
85 &fd, TCGETA, (struct termio *)-1, EFAULT},
91 &fd, INVAL_IOCTL, &termio, ENOTTY},
94 &fd1, TCGETA, &termio, ENOTTY},
/external/toybox/lib/
Dtty.c85 struct termios termio; in set_terminal() local
86 int i = tcgetattr(fd, &termio); in set_terminal()
90 if (old) *old = termio; in set_terminal()
97 termio.c_iflag = IXANY|ICRNL|INLCR; in set_terminal()
98 if (toys.which->flags & TOYFLAG_LOCALE) termio.c_iflag |= IUTF8; in set_terminal()
101 termio.c_oflag = ONLCR|OPOST; in set_terminal()
111 termio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN; in set_terminal()
113 if (raw) cfmakeraw(&termio); in set_terminal()
124 cfsetspeed(&termio, i+1+4081*(i>15)); in set_terminal()
127 return tcsetattr(fd, TCSAFLUSH, &termio); in set_terminal()
/external/ltp/testcases/kernel/pty/
Dptem01.c59 struct termio termio; in test1() local
101 if (ioctl(slavefd, TCGETA, &termio) != 0) { in test1()
105 if (ioctl(slavefd, TCSETA, &termio) != 0) { in test1()
109 if (ioctl(slavefd, TCSETAW, &termio) != 0) { in test1()
113 if (ioctl(slavefd, TCSETAF, &termio) != 0) { in test1()
/external/syzkaller/sys/linux/
Dtty.txt17 ioctl$TCGETA(fd fd_tty, cmd const[TCGETA], arg ptr[out, termio])
18 ioctl$TCSETA(fd fd_tty, cmd const[TCSETA], arg ptr[in, termio])
19 ioctl$TCSETAW(fd fd_tty, cmd const[TCSETAW], arg ptr[in, termio])
20 ioctl$TCSETAF(fd fd_tty, cmd const[TCSETAF], arg ptr[in, termio])
125 termio {
/external/kernel-headers/original/uapi/asm-generic/
Dtermios.h23 struct termio { struct
/external/kernel-headers/original/uapi/asm-mips/asm/
Dtermios.h54 struct termio { struct
/external/curl/src/
Dtool_getpass.c183 # define struct_term struct termio
/external/strace/
Dterm.c75 struct termio tio; in decode_termio()
/external/libpng/contrib/gregbook/
Drpng-win.c101 struct termio old_tty, new_tty; in repl_getch()
Drpng2-win.c112 struct termio old_tty, new_tty; in repl_getch()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc425 unsigned struct_termio_sz = sizeof(struct termio);
/external/e2fsprogs/lib/
Dconfig.h.in563 /* Define to 1 if you have the <termio.h> header file. */
/external/curl/lib/
Dcurl_config.h.cmake701 /* Define to 1 if you have the <termio.h> header file. */
Dcurl_config.h.in721 /* Define to 1 if you have the <termio.h> header file. */
/external/mksh/src/
Dsh.h511 #define mksh_ttyst struct termio
/external/curl/
DCMakeLists.txt777 check_include_file_concat("termio.h" HAVE_TERMIO_H)
Dconfigure.ac3526 termio.h \
/external/e2fsprogs/
Dconfigure.ac935 termio.h
Dconfigure12450 …emaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime…
/external/python/cpython2/
Dpyconfig.h.in829 /* Define to 1 if you have the <sys/termio.h> header file. */
Dconfigure.ac1739 sys/termio.h sys/time.h \
Dconfigure7096 sys/termio.h sys/time.h \
/external/python/cpython3/
Dpyconfig.h.in1112 /* Define to 1 if you have the <sys/termio.h> header file. */
Dconfigure.ac2162 sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \

12