/external/chromium_org/build/android/ |
surface_stats.py | 49 import fcntl, termios, struct namespace 53 fcntl.ioctl(0, termios.TIOCGWINSZ,
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
ostermios.h | 17 struct termios { struct 30 int tcgetattr(int fd, struct termios* termios_p); 31 int tcsetattr(int fd, int optional_actions, const struct termios* termios_p); 37 #include <termios.h>
|
/external/chromium_org/tools/ |
sort-headers.py | 26 import termios namespace 29 old_settings = termios.tcgetattr(fd) 35 termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)
|
/external/lldb/test/pexpect-2.4/examples/ |
script.py | 22 import signal, fcntl, termios, struct namespace 84 if 'TIOCGWINSZ' in dir(termios): 85 TIOCGWINSZ = termios.TIOCGWINSZ
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
getpass.py | 63 old = termios.tcgetattr(fd) # a copy to save 65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 tcsetattr_flags = termios.TCSAFLUSH 67 if hasattr(termios, 'TCSASOFT'): 68 tcsetattr_flags |= termios.TCSASOFT 70 termios.tcsetattr(fd, tcsetattr_flags, new) 73 termios.tcsetattr(fd, tcsetattr_flags, old) 75 except termios.error, e: 162 import termios namespace 163 # it's possible there is an incompatible termios from th [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
getpass.py | 63 old = termios.tcgetattr(fd) # a copy to save 65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 tcsetattr_flags = termios.TCSAFLUSH 67 if hasattr(termios, 'TCSASOFT'): 68 tcsetattr_flags |= termios.TCSASOFT 70 termios.tcsetattr(fd, tcsetattr_flags, new) 73 termios.tcsetattr(fd, tcsetattr_flags, old) 75 except termios.error, e: 162 import termios namespace 163 # it's possible there is an incompatible termios from th [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
platforminfo.py | 115 import termios namespace 116 packed = fcntl.ioctl(sys.stderr.fileno(), termios.TIOCGWINSZ, '\0' * 8)
|
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 30 #include <termios.h> 62 struct termios termios; /* serial terminal of BT port */ member in struct:__anon39233 251 tcgetattr(vnd_userial.fd, &vnd_userial.termios); 252 cfmakeraw(&vnd_userial.termios); 253 vnd_userial.termios.c_cflag |= (CRTSCTS | stop_bits); 254 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); 257 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); 262 cfsetospeed(&vnd_userial.termios, baud); 263 cfsetispeed(&vnd_userial.termios, baud) [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/chromium_org/tools/valgrind/asan/third_party/ |
asan_symbolize.py | 17 import termios namespace 166 attr = termios.tcgetattr(fd) 167 attr[3] = attr[3] & ~termios.ECHO 168 termios.tcsetattr(fd, termios.TCSANOW, attr)
|
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 17 import termios namespace 166 attr = termios.tcgetattr(fd) 167 attr[3] = attr[3] & ~termios.ECHO 168 termios.tcsetattr(fd, termios.TCSANOW, attr)
|
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/ |
miniterm.py | 119 import termios, sys, os namespace 126 self.old = termios.tcgetattr(self.fd) 127 new = termios.tcgetattr(self.fd) 128 new[3] = new[3] & ~termios.ICANON & ~termios.ECHO & ~termios.ISIG 129 new[6][termios.VMIN] = 1 130 new[6][termios.VTIME] = 0 131 termios.tcsetattr(self.fd, termios.TCSANOW, new [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
p2p-nfc.py | 368 import sys, tty, termios namespace 373 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr) 378 import sys, tty, termios, select namespace 381 prev_tcgetattr = termios.tcgetattr(fd) 390 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
|
/external/chromium_org/third_party/pexpect/ |
pexpect.py | 78 import termios namespace 766 attr = termios.tcgetattr(self.child_fd) 767 if attr[3] & termios.ECHO: 803 attr = termios.tcgetattr(self.child_fd) 805 attr[3] = attr[3] | termios.ECHO 807 attr[3] = attr[3] & ~termios.ECHO 811 termios.tcsetattr(self.child_fd, termios.TCSANOW, attr) [all...] |
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/ |
serialposix.py | 15 import sys, os, fcntl, termios, struct, select, errno, time namespace 20 import TERMIOS 22 TERMIOS = termios 52 buf[2] &= ~TERMIOS.CBAUD 240 # try to use values from TERMIOS, use defaults from linux otherwise 241 TIOCMGET = hasattr(TERMIOS, 'TIOCMGET') and TERMIOS.TIOCMGET or 0x5415 242 TIOCMBIS = hasattr(TERMIOS, 'TIOCMBIS') and TERMIOS.TIOCMBIS or 0x541 [all...] |
/external/e2fsprogs/e2fsck/ |
util.c | 27 #include <termios.h> 193 struct termios termios, tmp; local 195 tcgetattr (0, &termios); 196 tmp = termios; 216 tcsetattr (0, TCSANOW, &termios); 241 tcsetattr (0, TCSANOW, &termios);
|
/external/lldb/test/pexpect-2.4/ |
pexpect.py | 77 import termios namespace 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) [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/include/sys/ |
termios.h | 112 struct termios { struct 127 speed_t cfgetispeed(const struct termios* termios_p); 128 speed_t cfgetospeed(const struct termios* termios_p); 129 int cfsetispeed(struct termios* termios_p, speed_t speed); 130 int cfsetospeed(struct termios* termios_p, speed_t speed); 131 int cfsetspeed(struct termios* termios_p, speed_t speed); 136 int tcgetattr(int fd, struct termios* termios_p); 138 int tcsetattr(int fd, int optional_actions, const struct termios* termios_p);
|
/bionic/libc/kernel/uapi/asm-generic/ |
termbits.h | 27 struct termios { struct
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
termbits.h | 27 struct termios { struct
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
termbits.h | 20 struct termios { struct
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
termbits.h | 27 struct termios { struct
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
termbits.h | 27 struct termios { struct
|
/development/ndk/platforms/android-L/arch-mips/include/asm/ |
termbits.h | 27 struct termios { struct
|