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

1 2 3

  /external/kernel-headers/original/linux/
tty.h 5 * 'tty.h' defines some structures used by tty_io.c and some defines.
39 * This is the flip buffer used for the tty driver. The buffer is
40 * located in the tty structure, and is used as a high speed interface
41 * between the tty driver and the tty line discipline.
81 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
82 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
83 #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...]
  /system/netd/
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);
89 snprintf(dev, sizeof(dev), "/dev/%s", tty);
105 int PppController::detachPppd(const char *tty) {
112 ALOGD("Stopping PPPD services on port %s", tty);
116 ALOGD("PPPD services on port %s stopped", tty);
133 DIR *d = opendir("/sys/class/tty");
135 ALOGE("Error opening /sys/class/tty (%s)", strerror(errno))
    [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...]
  /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/openssh/
sshpty.c 6 * Allocating a pseudo-terminal, and making it the controlling tty.
59 * descriptors for the pty and tty sides and the name of the tty side are
88 /* Releases the tty. Its ownership is returned to root, and permissions to 0666. */
91 pty_release(const char *tty)
94 if (chown(tty, (uid_t) 0, (gid_t) 0) < 0)
95 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno));
96 if (chmod(tty, (mode_t) 0666) < 0)
97 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno));
101 /* Makes the tty the process's controlling tty and sets it to sane modes. *
    [all...]
sshlogin.c 10 * on a tty.
126 record_login(pid_t pid, const char *tty, const char *user, uid_t uid,
134 li = login_alloc_entry(pid, user, host, tty);
156 record_logout(pid_t pid, const char *tty, const char *user)
160 li = login_alloc_entry(pid, user, NULL, tty);
auth-sia.c 83 session_setup_sia(struct passwd *pw, char *tty)
91 tty, 0, NULL) != SIASUCCESS)
session.h 39 /* tty */
43 char tty[TTYSZ]; member in struct:Session
  /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...]
  /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 \
  /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...]
  /external/openssh/openbsd-compat/
port-linux.c 138 /* Set the TTY context for the specified user */
140 ssh_selinux_setup_pty(char *pwname, const char *tty)
149 debug3("%s: setting TTY context on %s", __func__, tty);
155 if (getfilecon(tty, &old_tty_ctx) == -1) {
167 if (setfilecon(tty, new_tty_ctx) != 0)
  /frameworks/base/core/java/android/os/
INetworkManagementService.aidl 196 * Returns the list of currently known TTY devices on the system
201 * Attaches a PPP server daemon to the specified TTY with the specified
204 void attachPppd(String tty, String localAddr, String remoteAddr, String dns1Addr,
208 * Detaches a PPP server daemon from the specified TTY.
210 void detachPppd(String tty);
  /external/openssh/regress/
key-options.sh 29 r=`${SSH} -$p -q -F $OBJ/ssh_proxy somehost tty`
  /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...]
  /system/core/toolbox/
ps.c 43 int ppid, tty; local
91 tty = atoi(nexttok(&ptr));
133 tty = atoi(nexttok(&ptr));

Completed in 624 milliseconds

1 2 3