HomeSort by relevance Sort by last modified time
    Searched refs:tty (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /external/toybox/toys/posix/
tty.c 0 /* tty.c - Show stdin's terminal name
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/tty.html
7 USE_TTY(NEWTOY(tty, "s", TOYFLAG_USR|TOYFLAG_BIN))
9 config TTY
10 bool "tty"
13 usage: tty [-s]
17 Prints "not a tty" and exits with nonzero status if no terminal
27 char *tty = ttyname(0); local
29 if (!toys.optflags) puts(tty ? tty : "not a tty")
    [all...]
  /external/ppp/pppd/
session.h 56 * const char* tty :
57 * The TTY the user is connected on. May safely be null.
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty
    [all...]
  /external/ltp/tools/pounder21/test_scripts/
screen_blank 22 (for i in /dev/tty[0-9]* /dev/vc/*; do
screen_noblank 22 (for i in /dev/tty[0-9]* /dev/vc/*; do
  /system/netd/server/
PppController.h 34 int attachPppd(const char *tty, struct in_addr local,
37 int detachPppd(const char *tty);
PppController.cpp 51 int PppController::attachPppd(const char *tty, struct in_addr local,
64 if (!strcmp(tty, *it)) {
69 ALOGE("Invalid tty '%s' specified", tty);
91 snprintf(dev, sizeof(dev), "/dev/%s", tty);
110 int PppController::detachPppd(const char *tty) {
117 ALOGD("Stopping PPPD services on port %s", tty);
121 ALOGD("PPPD services on port %s stopped", tty);
138 DIR *d = opendir("/sys/class/tty");
140 ALOGE("Error opening /sys/class/tty (%s)", strerror(errno))
    [all...]
  /bionic/libc/include/sys/
ioctl.h 39 #include <linux/tty.h>
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
    [all...]
  /external/python/cpython2/Lib/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /external/python/cpython3/Lib/test/
test_ioctl.py 10 tty = open("/dev/tty", "rb") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 with open("/dev/tty", "rb") as tty:
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /external/devlib/devlib/module/
vexpress.py 98 init_dtr=0) as tty:
99 wait_for_vemsd(self.path, tty, self.mcc_prompt, self.short_delay)
128 init_dtr=0) as tty:
129 self.get_through_early_boot(tty)
130 self.perform_boot_sequence(tty)
131 self.wait_for_android_prompt(tty)
133 def perform_boot_sequence(self, tty):
136 def get_through_early_boot(self, tty):
138 tty.sendline('')
139 i = tty.expect([AUTOSTART_MESSAGE, POWERUP_MESSAGE, self.mcc_prompt]
    [all...]
  /external/ltp/testcases/kernel/syscalls/ioctl/
test_ioctl 37 for tttype in `ls /dev/tty*`
39 device_no=${tttype#/dev/tty}
60 for tttype in `ls /dev/tty*`
62 device_no=${tttype#/dev/tty}
  /external/toybox/toys/other/
login.c 50 int hh = toys.optflags&FLAG_h, count, tty; local
54 for (tty=0; tty<3; tty++) if (isatty(tty)) break;
55 if (tty == 3) error_exit("no tty");
111 ttyname(tty), hh ? "from " : "", hh ? TT.hostname : "");
160 ttyname(tty), hh ? "from" : "", hh ? TT.hostname : "");
  /external/strace/tests/
ioctl.c 62 struct termios tty; local
63 (void) ioctl(-1, TCGETS, &tty);
65 " = -1 EBADF (%m)\n", &tty);
  /external/strace/tests-m32/
ioctl.c 62 struct termios tty; local
63 (void) ioctl(-1, TCGETS, &tty);
65 " = -1 EBADF (%m)\n", &tty);
  /external/strace/tests-mx32/
ioctl.c 62 struct termios tty; local
63 (void) ioctl(-1, TCGETS, &tty);
65 " = -1 EBADF (%m)\n", &tty);
  /libcore/ojluni/src/main/native/
Console_md.c 58 int tty = fileno(stdin); local
59 if (tcgetattr(tty, &tio) == -1) {
69 if (tcsetattr(tty, TCSANOW, &tio) == -1) {
  /external/chromium-trace/catapult/devil/devil/android/tools/
keyboard.py 13 import tty
112 new_attrs[tty.LFLAG] = new_attrs[tty.LFLAG] & ~(termios.ICANON)
113 new_attrs[tty.CC][tty.VMIN] = 1
114 new_attrs[tty.CC][tty.VTIME] = 0
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
pty.py 11 import tty
69 return (fd, '/dev/tty' + x + y)
121 # Explicitly open the tty to make it become a controlling tty.
163 mode = tty.tcgetattr(STDIN_FILENO)
164 tty.setraw(STDIN_FILENO)
166 except tty.error: # This is the same as termios.error
172 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
  /external/python/cpython2/Lib/
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)
  /external/python/cpython3/Lib/
pty.py 11 import tty
58 return (fd, '/dev/tty' + x + y)
110 # Explicitly open the tty to make it become a controlling tty.
158 mode = tty.tcgetattr(STDIN_FILENO)
159 tty.setraw(STDIN_FILENO)
161 except tty.error: # This is the same as termios.error
167 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)

Completed in 1696 milliseconds

1 2 3 4 5 6 7 8 9