/external/kernel-headers/original/linux/ |
tty.h | 5 * '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) ((tty)->termios->c_cc[VERASE] [all...] |
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/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/netd/ |
PppController.h | 34 int attachPppd(const char *tty, struct in_addr local, 37 int detachPppd(const char *tty);
|
PppController.cpp | 52 int PppController::attachPppd(const char *tty, struct in_addr local, 65 if (!strcmp(tty, *it)) { 70 LOGE("Invalid tty '%s' specified", tty); 90 snprintf(dev, sizeof(dev), "/dev/%s", tty); 106 int PppController::detachPppd(const char *tty) { 113 LOGD("Stopping PPPD services on port %s", tty); 117 LOGD("PPPD services on port %s stopped", tty); 134 DIR *d = opendir("/sys/class/tty"); 136 LOGE("Error opening /sys/class/tty (%s)", strerror(errno)) [all...] |
/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/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/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);
|
svr-chansession.c | 229 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...] |
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/ppp/pppd/ |
Android.mk | 22 tty.c \
|
Makefile.sol2 | 12 tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o \
|
Makefile.linux | 16 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 \
|
/external/openssl/crypto/ui/ |
ui_openssl.c | 221 # 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,TIOCGETP,data [all...] |
/frameworks/base/core/java/android/os/ |
INetworkManagementService.aidl | 137 * Returns the list of currently known TTY devices on the system 142 * Attaches a PPP server daemon to the specified TTY with the specified 145 void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr, 149 * Detaches a PPP server daemon from the specified TTY. 151 void detachPppd(String tty);
|
/external/qemu/ |
qemu-char-android.c | 744 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.c_cc[VMIN] = 1 979 struct termios tty; local 1021 struct termios tty; local [all...] |
qemu-char.c | 712 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.c_cc[VMIN] = 1 947 struct termios tty; local 988 struct termios tty; local [all...] |
/system/core/toolbox/ |
ps.c | 41 int ppid, tty; local 87 tty = atoi(nexttok(&ptr)); 129 tty = atoi(nexttok(&ptr));
|
/bionic/libc/kernel/common/linux/ |
wanrouter.h | 162 char tty; member in struct:wandev_conf
|
/development/ndk/platforms/android-3/include/linux/ |
wanrouter.h | 162 char tty; member in struct:wandev_conf
|
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 528 public void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr, 533 mConnector.doCommand(String.format("pppd attach %s %s %s %s %s", tty, 545 public void detachPppd(String tty) throws IllegalStateException { 549 mConnector.doCommand(String.format("pppd detach %s", tty));
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
wanrouter.h | 162 char tty; member in struct:wandev_conf
|