/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ioctl.py | 6 termios = import_module('termios')
variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1)
73 if termios.TIOCSWINSZ < 0:
74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ
75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL
77 set_winsz_opcode_pos = termios.TIOCSWINSZ [all...] |
/external/python/cpython2/Lib/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/external/python/cpython3/Lib/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffff 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
test_getpass.py | 9 import termios 11 termios = None variable 93 # Some of these might run on platforms without termios, but play it safe. 94 @unittest.skipUnless(termios, 'tests require system with termios') 115 mock.patch('termios.tcgetattr') as tcgetattr, \ 116 mock.patch('termios.tcsetattr') as tcsetattr: 127 mock.patch('termios.tcgetattr'), \ 128 mock.patch('termios.tcsetattr') as tcsetattr, \ 132 tcsetattr.side_effect = termios.erro [all...] |
/external/toybox/toys/pending/ |
test.c | 85 struct termios termios; local 86 toys.exitval = tcgetattr(atoi(toys.optargs[1]), &termios) == -1;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/external/ltp/testcases/kernel/pty/ |
ptem01.c | 53 * test termio/termios ioctls 60 struct termios termios; local 81 if (ioctl(slavefd, TCGETS, &termios) != 0) { 85 if (ioctl(slavefd, TCSETS, &termios) != 0) { 89 if (ioctl(slavefd, TCSETSW, &termios) != 0) { 93 if (ioctl(slavefd, TCSETSF, &termios) != 0) { 97 if (ioctl(slavefd, TCSETS, &termios) != 0) { 386 struct termios termios; local [all...] |
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 30 #include <termios.h> 64 struct termios termios; /* serial terminal of BT port */ member in struct:__anon46934 253 tcgetattr(vnd_userial.fd, &vnd_userial.termios); 254 cfmakeraw(&vnd_userial.termios); 255 vnd_userial.termios.c_cflag |= (CRTSCTS | stop_bits); 256 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); 259 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); 264 cfsetospeed(&vnd_userial.termios, baud); 265 cfsetispeed(&vnd_userial.termios, baud) [all...] |
/external/e2fsprogs/e2fsck/ |
util.c | 28 #include <termios.h> 202 struct termios termios, tmp; local 204 tcgetattr (0, &termios); 205 tmp = termios; 234 tcsetattr (0, TCSANOW, &termios); 270 tcsetattr (0, TCSANOW, &termios);
|
/hardware/qcom/bt/msm8909/libbt-vendor/include/ |
hci_uart.h | 139 struct termios termios; /* serial terminal of BT port */ member in struct:__anon48688
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/include/ |
hci_uart.h | 143 struct termios termios; /* serial terminal of BT port */ member in struct:__anon48711
|
/hardware/qcom/bt/msm8992/libbt-vendor/include/ |
hci_uart.h | 139 struct termios termios; /* serial terminal of BT port */ member in struct:__anon48734
|
/hardware/qcom/bt/msm8996/libbt-vendor/include/ |
hci_uart.h | 139 struct termios termios; /* serial terminal of BT port */ member in struct:__anon48756
|
/hardware/qcom/bt/msm8998/libbt-vendor/include/ |
hci_uart.h | 23 #include <termios.h> 144 struct termios termios; /* serial terminal of BT port */ member in struct:__anon48780
|
/packages/apps/Terminal/jni/ |
com_android_terminal_Terminal.cpp | 31 #include <termios.h> 300 struct termios termios; local 301 memset(&termios, 0, sizeof(termios)); 302 termios.c_iflag = ICRNL|IXON|IUTF8; 303 termios.c_oflag = OPOST|ONLCR|NL0|CR0|TAB0|BS0|VT0|FF0; 304 termios.c_cflag = CS8|CREAD; 305 termios.c_lflag = ISIG|ICANON|IEXTEN|ECHO|ECHOE|ECHOK; 307 cfsetispeed(&termios, B38400) [all...] |
/bionic/libc/kernel/uapi/asm-generic/ |
termbits.h | 26 struct termios { struct
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
termbits.h | 26 struct termios { struct
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
termios.h | 42 * @(#)termios.h 8.3 (Berkeley) 3/28/94
43 NetBSD: termios.h,v 1.29 2005/12/11 12:25:21 christos Exp
159 struct termios {
struct 170 * Commands passed to tcsetattr() for setting the termios structure.
222 Extracts the input baud rate from the termios structure pointed to by the
225 @param[in] pTermios A pointer to the termios structure from which to extract
229 in the termios structure, without interpretation.
231 speed_t cfgetispeed (const struct termios *);
235 Extracts the output baud rate from the termios structure pointed to by the
238 @param[in] pTermios A pointer to the termios structure from which to extract [all...] |
/external/kernel-headers/original/uapi/asm-generic/ |
termbits.h | 12 struct termios { struct
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
termbits.h | 25 struct termios { struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/ |
termbits.h | 11 struct termios { struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
termios.h | 0 /* termios type and macro definitions. Linux version. 21 # error "Never include <bits/termios.h> directly; use <termios.h> instead." 29 struct termios struct
|