Searched defs:termios (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/build/android/
H A Dsurface_stats.py49 import fcntl, termios, struct namespace
53 fcntl.ioctl(0, termios.TIOCGWINSZ,
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dostermios.h17 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/
H A Dsort-headers.py26 import termios namespace
29 old_settings = termios.tcgetattr(fd)
35 termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)
/external/lldb/test/pexpect-2.4/examples/
H A Dscript.py22 import signal, fcntl, termios, struct namespace
84 if 'TIOCGWINSZ' in dir(termios):
85 TIOCGWINSZ = termios.TIOCGWINSZ
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dplatforminfo.py115 import termios namespace
116 packed = fcntl.ioctl(sys.stderr.fileno(), termios.TIOCGWINSZ, '\0' * 8)
/external/compiler-rt/lib/asan/scripts/
H A Dasan_symbolize.py17 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/
H A Dminiterm.py119 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
[all...]
/external/chromium_org/tools/valgrind/asan/third_party/
H A Dasan_symbolize.py18 import termios namespace
178 attr = termios.tcgetattr(fd)
179 attr[3] = attr[3] & ~termios.ECHO
180 termios.tcsetattr(fd, termios.TCSANOW, attr)
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dp2p-nfc.py368 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/
H A Dpexpect.py78 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)
1059 #old = termios.tcgetattr(fd) # remember current state
1060 #attr = termios
[all...]
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialposix.py15 import sys, os, fcntl, termios, struct, select, errno, time namespace
22 TERMIOS = termios
276 done with termios and fcntl. Runs on Linux and many other Un*x like
322 orig_attr = termios.tcgetattr(self.fd)
324 except termios.error, msg: # if a port is nonexistent but has a /dev file, it'll fail here
427 termios.tcsetattr(self.fd, TERMIOS.TCSANOW, [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
529 termios.tcflush(self.fd, TERMIOS.TCIFLUSH)
535 termios.tcflush(self.fd, TERMIOS.TCOFLUSH)
540 termios.tcsendbreak(self.fd, int(duration/0.25))
601 termios
[all...]
/external/lldb/test/pexpect-2.4/
H A Dpexpect.py77 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)
1011 #old = termios.tcgetattr(fd) # remember current state
1012 #attr = termios
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/include/sys/
H A Dtermios.h112 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);
/external/e2fsprogs/e2fsck/
H A Dutil.c27 #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/chromium-trace/trace-viewer/third_party/python_gflags/
H A Dgflags.py403 # Importing termios will fail on non-unix platforms.
404 import termios namespace
406 termios = None variable
534 if (not sys.stdout.isatty()) or (termios is None) or (fcntl is None):
537 data = fcntl.ioctl(sys.stdout, termios.TIOCGWINSZ, '1234')
/external/chromium_org/third_party/python_gflags/
H A Dgflags.py403 # Importing termios will fail on non-unix platforms.
404 import termios namespace
406 termios = None variable
534 if (not sys.stdout.isatty()) or (termios is None) or (fcntl is None):
537 data = fcntl.ioctl(sys.stdout, termios.TIOCGWINSZ, '1234')
/external/kernel-headers/original/uapi/asm-generic/
H A Dtermbits.h11 struct termios { struct
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dtermbits.h24 struct termios { struct
/external/lldb/test/
H A Ddotest.py1401 import fcntl, termios, struct, os namespace
1402 cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ,
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c28 #include <termios.h>
950 struct termios termios; local
1074 tcgetattr(linux_cb.sock, &termios);
1076 termios.c_cflag &= ~(CSIZE | PARENB);
1077 termios.c_cflag = CLOCAL|CREAD|data_bits|stop_bits|parity;
1079 termios.c_cflag |= IGNPAR;
1080 // termios.c_cflag &= ~CRTSCTS;
1081 termios.c_oflag = 0;
1082 termios
1294 struct termios termios; local
[all...]

Completed in 667 milliseconds