/external/chromium_org/tools/ |
sort-headers.py | 27 import tty namespace 32 tty.setraw(sys.stdin.fileno())
|
/external/dropbear/ |
cli-authinteract.c | 36 FILE* tty = NULL; local 44 tty = fopen(_PATH_TTY, "r"); 45 if (tty) { 46 ret = fgets(buf, sizeof(buf), tty); 47 fclose(tty);
|
chansession.h | 48 unsigned char * tty; member in struct:ChanSess
|
cli-kex.c | 118 FILE *tty = NULL; local 134 tty = fopen(_PATH_TTY, "r"); 135 if (tty) { 136 response = getc(tty); 137 fclose(tty);
|
loginrec.c | 449 if (strncmp(src, "tty", 3) == 0) 684 int tty; local 691 tty=0; 695 tty++; 702 dropbear_log(LOG_WARNING, "utmp_write_entry: tty not found"); 707 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */ 711 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) { 712 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); 725 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); 963 * username on a given tty line. However, some systems (HP-UX is one [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsevents.c | 43 struct termios tty; local 55 tty = private->saved_tty; 56 tty.c_iflag = IGNPAR | IGNBRK; 57 tty.c_oflag = 0; 58 tty.c_cflag = CREAD | CS8; 59 tty.c_lflag = 0; 60 tty.c_cc[VTIME] = 0; 61 tty.c_cc[VMIN] = 1; 62 cfsetispeed(&tty, 9600); 63 cfsetospeed(&tty, 9600) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pty.py | 11 import tty namespace 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)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pty.py | 11 import tty namespace 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)
|
/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...] |
test_sundry.py | 84 import tty # not available on Windows namespace 87 print "skipping tty"
|
/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...] |
test_sundry.py | 84 import tty # not available on Windows namespace 87 print "skipping tty"
|
/external/libppp/src/ |
prompt.c | 326 char *tty = ttyname(STDIN_FILENO); local 328 if (!tty) { 338 strncpy(p->src.from, tty, sizeof p->src.from - 1); 340 tcgetattr(p->fd_in, &p->oldtio); /* Save original tty mode */ 448 * Set tty into command mode. We allow canonical input and echo processing. 472 * Set tty into terminal mode which is used while we invoke term command.
|
/external/openssh/ |
session.h | 39 /* tty */ 43 char tty[TTYSZ]; member in struct:Session
|
loginrec.c | 605 if (strncmp(src, "tty", 3) == 0) 844 int tty; local 851 tty=0; 854 tty++; 861 logit("%s: tty not found", __func__); 866 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */ 870 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) { 873 pos = (off_t)tty * sizeof(struct utmp); 880 logit("%s: Couldn't seek to tty %d slot in %s", 881 __func__, tty, UTMP_FILE) [all...] |
monitor.c | 1482 char *tty; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
DemoStatusIcons.java | 93 String tty = args.getString("tty"); local 94 if (tty != null) { 95 int iconId = tty.equals("show") ? R.drawable.stat_sys_tty_mode 97 updateSlot("tty", null, iconId);
|
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
read_pwd.c | 148 #define TTY_get(tty,data) tcgetattr(tty,data) 149 #define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) 156 #define TTY_get(tty,data) ioctl(tty,TCGETA,data) 157 #define TTY_set(tty,data) ioctl(tty,TCSETA,data) 164 #define TTY_get(tty,data) ioctl(tty,TIOCGETP,data 279 static FILE *tty; local [all...] |
/external/openssl/crypto/des/ |
read_pwd.c | 148 #define TTY_get(tty,data) tcgetattr(tty,data) 149 #define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) 156 #define TTY_get(tty,data) ioctl(tty,TCGETA,data) 157 #define TTY_set(tty,data) ioctl(tty,TCSETA,data) 164 #define TTY_get(tty,data) ioctl(tty,TIOCGETP,data 279 static FILE *tty; local [all...] |
/system/core/toolbox/ |
ps.c | 43 int ppid, tty; local 91 tty = atoi(nexttok(&ptr)); 133 tty = atoi(nexttok(&ptr));
|
/external/chromium_org/third_party/pexpect/ |
pexpect.py | 33 the normal stdio streams. For example, ssh reads input directly from the TTY 77 import tty namespace 319 of bytes that Pexpect will try to read from a TTY at one time. Setting 645 """This makes the pseudo-terminal the controlling tty. This should be 651 # Disconnect from controlling tty. Harmless if not already connected. 653 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY) 662 # Verify we are disconnected from controlling tty 665 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY) 669 'controlling tty. It is still possible to open /dev/tty.' [all...] |
/external/clang/test/Analysis/ |
taint-tester.c | 59 int tty = xy.y; // expected-warning + {{tainted}} local
|
/external/kernel-headers/original/linux/ |
serial_core.h | 143 #include <linux/tty.h> 310 struct tty_struct *tty; member in struct:uart_info 405 ((port)->info->tty->stopped || (port)->info->tty->hw_stopped) 446 do_SAK(info->tty); 470 else if (info->tty) 471 tty_hangup(info->tty); 484 struct tty_struct *tty = info->tty; local 489 if (tty->hw_stopped) 510 struct tty_struct *tty = port->info->tty; local [all...] |
/external/ppp/pppd/ |
auth.c | 1535 char *tty; local [all...] |
/external/qemu/ |
qemu-char.c | 805 struct termios tty; local 807 tty = oldtty; 809 tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP 811 tty.c_oflag |= OPOST; 812 tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN); 813 tty.c_cflag &= ~(CSIZE|PARENB); 814 tty.c_cflag |= CS8; 815 tty.c_cc[VMIN] = 1; 816 tty.c_cc[VTIME] = 0; 820 tty.c_lflag &= ~ISIG 1044 struct termios tty; local 1087 struct termios tty; local [all...] |