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

1 2

  /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.12/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...]
  /external/bluetooth/bluez/compat/
dun.c 157 static int dun_exec(char *tty, char *prog, char **args)
186 static int dun_create_tty(int sk, char *tty, int size)
213 snprintf(tty, size, "/dev/rfcomm%d", id);
214 while (stat(tty, &st) < 0) {
215 snprintf(tty, size, "/dev/bluetooth/rfcomm/%d", id);
216 if (stat(tty, &st) < 0) {
217 snprintf(tty, size, "/dev/rfcomm%d", id);
309 char tty[100]; local
312 if (dun_create_tty(sk, tty, sizeof(tty) - 1) < 0)
    [all...]
  /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...]
  /device/moto/stingray/whisper/
SA_Phys_Linux.c 78 struct termios tty; local
256 /* Transmits a message to be sent over tty */
386 * Transmits a message to be sent over tty
420 /* Sets the baudrate of the tty port */
445 struct termios tty; local
448 tcgetattr(ttyFd, &tty);
451 tty.c_cflag = 0;
452 tty.c_cflag |= CLOCAL; // ignore modem control lines //
453 tty.c_cflag |= CREAD; // enable receiver
454 tty.c_cflag |= CS7; // use 7 data bit
    [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/clang/test/Analysis/
taint-tester.c 63 int tty = xy.y; // expected-warning + {{tainted}} local
  /external/quake/quake/src/WinQuake/
net_ser.cpp 78 int tty; member in struct:SerialLine_s
125 b = TTY_ReadByte(p->tty);
369 serialLine[n].tty = TTY_Open(n);
408 return TTY_OutputQueueIsEmpty(((SerialLine *)sock->driverdata)->tty);
426 TTY_WriteByte(p->tty, b);
431 TTY_WriteByte(p->tty, b);
433 TTY_WriteByte(p->tty, b);
438 TTY_WriteByte(p->tty, b);
440 TTY_WriteByte(p->tty, b);
443 TTY_WriteByte(p->tty, b);
    [all...]
  /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...]
wanrouter.h 224 char tty; /* Create a fake tty device */ member in struct:wandev_conf
225 unsigned tty_major; /* Major number for wanpipe tty device */
226 unsigned tty_minor; /* Minor number for wanpipe tty device */
227 unsigned tty_mode; /* TTY operation mode SYNC or ASYNC */
  /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...]
  /bionic/libc/kernel/common/linux/
wanrouter.h 186 char tty; member in struct:wandev_conf
  /development/ndk/platforms/android-3/include/linux/
wanrouter.h 162 char tty; member in struct:wandev_conf
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
wanrouter.h 162 char tty; member in struct:wandev_conf
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
wanrouter.h 224 char tty; /* Create a fake tty device */ member in struct:wandev_conf
225 unsigned tty_major; /* Major number for wanpipe tty device */
226 unsigned tty_minor; /* Minor number for wanpipe tty device */
227 unsigned tty_mode; /* TTY operation mode SYNC or ASYNC */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
wanrouter.h 224 char tty; /* Create a fake tty device */ member in struct:wandev_conf
225 unsigned tty_major; /* Major number for wanpipe tty device */
226 unsigned tty_minor; /* Minor number for wanpipe tty device */
227 unsigned tty_mode; /* TTY operation mode SYNC or ASYNC */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
wanrouter.h 224 char tty; /* Create a fake tty device */ member in struct:wandev_conf
225 unsigned tty_major; /* Major number for wanpipe tty device */
226 unsigned tty_minor; /* Minor number for wanpipe tty device */
227 unsigned tty_mode; /* TTY operation mode SYNC or ASYNC */
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
wanrouter.h 162 char tty; member in struct:wandev_conf

Completed in 635 milliseconds

1 2