Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c76 static struct termio termio, save_io; variable
227 termio.c_line = 0; in run_ptest()
230 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL; in run_ptest()
236 termio.c_cc[i] = CSTART; in run_ptest()
240 termio.c_lflag = in run_ptest()
244 termio.c_iflag = in run_ptest()
249 termio.c_oflag = OPOST | OLCUC | ONLCR | ONOCR; in run_ptest()
251 TEST(ioctl(parentfd, TCSETA, &termio)); in run_ptest()
260 rval = ioctl(parentfd, TCGETA, &termio); in run_ptest()
290 if (termio.c_line != 0) { in chk_tty_parms()
[all …]
Dioctl01.c36 static struct termio termio; variable
46 {"File descriptor is invalid (termio)", &bfd, TCGETA, &termio, EBADF},
48 {"Termio address is invalid", &fd, TCGETA, (struct termio *)-1, EFAULT},
53 {"Command is invalid", &fd, INVAL_IOCTL, &termio, ENOTTY},
54 {"File descriptor is for a regular file (termio)", &fd_file, TCGETA, &termio, ENOTTY},
/third_party/toybox/lib/
Dtty.c81 struct termios termio; in set_terminal() local
82 int i = tcgetattr(fd, &termio); in set_terminal()
86 if (old) *old = termio; in set_terminal()
93 termio.c_iflag = IXANY|ICRNL|INLCR; in set_terminal()
94 if (toys.which->flags & TOYFLAG_LOCALE) termio.c_iflag |= IUTF8; in set_terminal()
97 termio.c_oflag = ONLCR|OPOST; in set_terminal()
107 termio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN; in set_terminal()
109 if (raw) cfmakeraw(&termio); in set_terminal()
120 cfsetspeed(&termio, i+1+4081*(i>15)); in set_terminal()
123 return tcsetattr(fd, TCSAFLUSH, &termio); in set_terminal()
/third_party/ltp/testcases/kernel/pty/
Dptem01.c56 struct termio termio; in test1() local
98 if (ioctl(slavefd, TCGETA, &termio) != 0) { in test1()
102 if (ioctl(slavefd, TCSETA, &termio) != 0) { in test1()
106 if (ioctl(slavefd, TCSETAW, &termio) != 0) { in test1()
110 if (ioctl(slavefd, TCSETAF, &termio) != 0) { in test1()
/third_party/ltp/include/lapi/
Dioctl.h29 struct termio struct
/third_party/e2fsprogs/
D1004-modify-code-to-compile.patch45 #include <termio.h>
/third_party/curl/src/
Dtool_getpass.c132 # define struct_term struct termio
/third_party/skia/third_party/externals/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()
/third_party/openssl/crypto/ui/
Dui_openssl.c116 # define TTY_STRUCT struct termio
/third_party/node/deps/openssl/openssl/crypto/ui/
Dui_openssl.c116 # define TTY_STRUCT struct termio
/third_party/ltp/
Dconfigure.ac212 AC_CHECK_TYPES([struct termio],,,[#include <sys/ioctl.h>])
/third_party/curl/lib/
Dcurl_config.h.cmake581 /* Define to 1 if you have the <termio.h> header file. */
Dcurl_config.h.in708 /* Define to 1 if you have the <termio.h> header file. */
/third_party/mksh/
Dsh.h530 #define mksh_ttyst struct termio
/third_party/curl/
DCMakeLists.txt1132 check_include_file_concat("termio.h" HAVE_TERMIO_H)
/third_party/python/
Dpyconfig.h.in1217 /* Define to 1 if you have the <sys/termio.h> header file. */
/third_party/rust/crates/linux-raw-sys/src/aarch64/
Dgeneral.rs4171 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dgeneral.rs4169 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/s390x/
Dgeneral.rs4229 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/x86/
Dgeneral.rs4286 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
Dgeneral.rs4313 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/mips/
Dgeneral.rs4447 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/powerpc/
Dgeneral.rs4341 pub struct termio { struct
/third_party/rust/crates/linux-raw-sys/src/sparc64/
Dgeneral.rs4461 pub struct termio { struct

12