/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pty.py | 11 import tty 69 return (fd, '/dev/tty' + x + y) 121 # Explicitly open the tty to make it become a controlling tty. 169 mode = tty.tcgetattr(STDIN_FILENO) 170 tty.setraw(STDIN_FILENO) 172 except tty.error: # This is the same as termios.error 178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pty.py | 11 import tty 69 return (fd, '/dev/tty' + x + y) 121 # Explicitly open the tty to make it become a controlling tty. 169 mode = tty.tcgetattr(STDIN_FILENO) 170 tty.setraw(STDIN_FILENO) 172 except tty.error: # This is the same as termios.error 178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/prebuilts/go/darwin-x86/doc/progs/ |
interface.go | 46 tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0) 50 r = tty
|
/prebuilts/go/linux-x86/doc/progs/ |
interface.go | 46 tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0) 50 r = tty
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pty.py | 11 import tty 69 return (fd, '/dev/tty' + x + y) 121 # Explicitly open the tty to make it become a controlling tty. 169 mode = tty.tcgetattr(STDIN_FILENO) 170 tty.setraw(STDIN_FILENO) 172 except tty.error: # This is the same as termios.error 178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pty.py | 11 import tty 69 return (fd, '/dev/tty' + x + y) 121 # Explicitly open the tty to make it become a controlling tty. 169 mode = tty.tcgetattr(STDIN_FILENO) 170 tty.setraw(STDIN_FILENO) 172 except tty.error: # This is the same as termios.error 178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
common_util.py | 12 import tty 48 tty.setraw(fin.fileno())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning)
32 the tty. If no tty is available defaults to sys.stderr.
36 EOFError: If our input tty or stdin was closed.
42 tty = None
44 # Always try reading and writing directly on the tty first.
45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY)
46 tty = os.fdopen(fd, 'w+', 1)
47 input = tty
49 stream = tty
[all...] |
/external/python/cpython2/Lib/ |
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/external/curl/src/ |
tool_cb_wrt.c | 93 char *tty = curlx_getenv("CURL_ISATTY"); local 94 if(tty) { 96 curl_free(tty);
|
/external/squashfs-tools/squashfs-tools/ |
progressbar.c | 97 static int tty = -1; local 110 if(tty == -1) 111 tty = isatty(STDOUT_FILENO); 112 if(!tty) {
|
/external/toolchain-utils/toolchain_utils_githooks/ |
pre-push.real | 17 exec < /dev/tty
|
/external/libcups/cups/ |
usersys.c | 582 HANDLE tty; /* Console handle */ local 596 if ((tty = GetStdHandle(STD_INPUT_HANDLE)) == INVALID_HANDLE_VALUE) 599 if (!GetConsoleMode(tty, &mode)) 602 if (!SetConsoleMode(tty, 0)) 613 * Read the password string from /dev/tty until we get interrupted or get a 620 while (ReadFile(tty, &passch, 1, &passbytes, NULL)) 688 SetConsoleMode(tty, mode); 706 int tty; /* /dev/tty - never read from stdin */ 721 if ((tty = open("/dev/tty", O_RDONLY)) < 0 [all...] |
/external/python/cpython3/Lib/ |
getpass.py | 15 # Gregory P. Smith (tty support & GetPassWarning) 35 the tty. If no tty is available defaults to sys.stderr. 39 EOFError: If our input tty or stdin was closed. 47 # Always try reading and writing directly on the tty first. 48 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 49 tty = io.FileIO(fd, 'w+') 50 stack.enter_context(tty) 51 input = io.TextIOWrapper(tty) 86 # We can't control the tty or stdin. Give up and use normal IO [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
exec_unix_test.go | 167 tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0) 169 t.Skipf("Can't test Foreground. Couldn't open /dev/tty: %s", err) 174 errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp))) 188 Ctty: int(tty.Fd()), 209 errno = syscall.Ioctl(tty.Fd(), syscall.TIOCSPGRP, uintptr(unsafe.Pointer(&fpgrp)))
|
/prebuilts/go/linux-x86/src/syscall/ |
exec_unix_test.go | 167 tty, err := os.OpenFile("/dev/tty", os.O_RDWR, 0) 169 t.Skipf("Can't test Foreground. Couldn't open /dev/tty: %s", err) 174 errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp))) 188 Ctty: int(tty.Fd()), 209 errno = syscall.Ioctl(tty.Fd(), syscall.TIOCSPGRP, uintptr(unsafe.Pointer(&fpgrp)))
|
/external/devlib/devlib/platform/ |
arm.py | 102 init_dtr=0) as tty: 103 tty.sendline('') 105 tty.expect(target.shell_prompt) 110 tty.sendline('ip addr list eth0') 113 tty.expect(r'inet ([1-9]\d*.\d+.\d+.\d+)', timeout=10) 114 return tty.match.group(1)
|
/external/ppp/pppd/ |
Android.mk | 25 tty.c \
|
/external/toybox/scripts/ |
runtest.sh | 50 if tty -s <&1 180 mknod tmpdir4chroot/dev/tty c 5 0
|
/device/google/marlin/ |
init.power.sh | 43 if [[ $(getprop ro.debuggable) == "1" && ! -e /sys/class/tty/ttyHSL0 ]]
|
/device/google/wahoo/ |
init.power.sh | 49 if [[ $(getprop ro.debuggable) == "1" && ! -e /sys/class/tty/ttyMSM0 ]]
|