Searched refs:tty (Results 1 - 25 of 30) sorted by relevance

12

/external/kernel-headers/original/linux/
H A Dtty.h5 * 'tty.h' defines some structures used by tty_io.c and some defines.
37 * This is the flip buffer used for the tty driver. The buffer is
38 * located in the tty structure, and is used as a high speed interface
39 * between the tty driver and the tty line discipline.
79 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
80 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
81 #define ERASE_CHAR(tty) ((tt
337 tty_devnum(struct tty_struct *tty) argument
[all...]
H A Dserial_core.h143 #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
510 struct tty_struct *tty = port->info->tty; local
[all...]
H A Dwanrouter.h224 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 */
/external/openssl/crypto/des/
H A Dread_pwd.c148 #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,TIOCGET
279 static FILE *tty; local
479 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/external/quake/quake/src/WinQuake/
H A Dnet_ser.cpp78 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,
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/
H A DSDL_wsconsevents.c43 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, 960
[all...]
/external/bluetooth/bluez/compat/
H A Ddun.c157 static int dun_exec(char *tty, char *prog, char **args) argument
186 static int dun_create_tty(int sk, char *tty, int size) argument
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)
[all...]
/external/dropbear/
H A Dcli-authinteract.c36 FILE* tty = NULL; local
44 tty = fopen(_PATH_TTY, "r");
45 if (tty) {
46 ret = fgets(buf, sizeof(buf), tty);
47 fclose(tty);
H A Dchansession.h48 unsigned char * tty; member in struct:ChanSess
H A Dcli-kex.c118 FILE *tty = NULL; local
134 tty = fopen(_PATH_TTY, "r");
135 if (tty) {
136 response = getc(tty);
137 fclose(tty);
H A Dsvr-chansession.c229 chansess->tty = NULL;
273 if (chansess->tty) {
276 ses.remotehost, chansess->tty);
280 pty_release(chansess->tty);
281 m_free(chansess->tty);
545 chansess->tty = (char*)m_strdup(namebuf);
546 if (!chansess->tty) {
550 pty_setowner(ses.authstate.pw, chansess->tty);
748 if (chansess->master == -1 || chansess->tty == NULL) {
773 pty_make_controlling_tty(&chansess->slave, chansess->tty);
[all...]
H A Dloginrec.c449 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 lin
[all...]
/external/ppp/pppd/
H A DAndroid.mk22 tty.c \
H A DMakefile.sol212 tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o \
H A DMakefile.linux16 demand.c utils.c tty.c eap.c chap-md5.c
24 ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o \
H A Dauth.c1535 char *tty; local
1625 tty = devnam;
1626 if (strncmp(tty, "/dev/", 5) == 0)
1627 tty += 5;
1628 logwtmp(tty, user, ifname); /* Add wtmp login entry */
1639 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line));
1670 char *tty;
1672 tty = devnam;
1673 if (strncmp(tty, "/dev/", 5) == 0)
1674 tty
[all...]
/external/openssl/crypto/ui/
H A Dui_openssl.c221 # define TTY_get(tty,data) tcgetattr(tty,data)
222 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data)
229 # define TTY_get(tty,data) ioctl(tty,TCGETA,data)
230 # define TTY_set(tty,data) ioctl(tty,TCSETA,data)
237 # define TTY_get(tty,data) ioctl(tty,TIOCGET
669 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/external/qemu/
H A Dqemu-char-android.c744 struct termios tty; local
746 tcgetattr (0, &tty);
747 oldtty = tty;
750 tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
752 tty.c_oflag |= OPOST;
753 tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN);
756 tty.c_lflag &= ~ISIG;
757 tty.c_cflag &= ~(CSIZE|PARENB);
758 tty.c_cflag |= CS8;
759 tty
979 struct termios tty; local
1021 struct termios tty; local
[all...]
H A Dqemu-char.c712 struct termios tty; local
714 tcgetattr (0, &tty);
715 oldtty = tty;
718 tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
720 tty.c_oflag |= OPOST;
721 tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN);
724 tty.c_lflag &= ~ISIG;
725 tty.c_cflag &= ~(CSIZE|PARENB);
726 tty.c_cflag |= CS8;
727 tty
947 struct termios tty; local
988 struct termios tty; local
[all...]
/external/netcat/
H A Dstupidh48 stream stropts pstat sysmacros termio termios sgtty tty ttyent lstat select \
/external/chromium/base/
H A Dbase_main.scons36 file=open('/dev/tty', 'w'))
38 Progress('$TARGET\r', overwrite=True, file=open('/dev/tty', 'w'))
/external/chromium/net/
H A Dnet_main.scons36 file=open('/dev/tty', 'w'))
38 Progress('$TARGET\r', overwrite=True, file=open('/dev/tty', 'w'))
/external/chromium/sdch/
H A Dsdch_main.scons36 file=open('/dev/tty', 'w'))
38 Progress('$TARGET\r', overwrite=True, file=open('/dev/tty', 'w'))
/external/chromium/third_party/icu/
H A Dicu_main.scons36 file=open('/dev/tty', 'w'))
38 Progress('$TARGET\r', overwrite=True, file=open('/dev/tty', 'w'))
/external/chromium/third_party/libevent/
H A Dlibevent_main.scons36 file=open('/dev/tty', 'w'))
38 Progress('$TARGET\r', overwrite=True, file=open('/dev/tty', 'w'))

Completed in 381 milliseconds

12