/external/kernel-headers/original/linux/ |
D | tty.h | 81 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) argument 82 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) argument 83 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) argument 84 #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) argument 85 #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) argument 86 #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) argument 87 #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) argument 88 #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) argument 89 #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) argument 90 #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) argument [all …]
|
D | serial_core.h | 310 struct tty_struct *tty; member 405 ((port)->info->tty->stopped || (port)->info->tty->hw_stopped) 446 do_SAK(info->tty); in uart_handle_break() 470 else if (info->tty) in uart_handle_dcd_change() 471 tty_hangup(info->tty); in uart_handle_dcd_change() 484 struct tty_struct *tty = info->tty; in uart_handle_cts_change() local 489 if (tty->hw_stopped) { in uart_handle_cts_change() 491 tty->hw_stopped = 0; in uart_handle_cts_change() 497 tty->hw_stopped = 1; in uart_handle_cts_change() 510 struct tty_struct *tty = port->info->tty; in uart_insert_char() local [all …]
|
/external/quake/quake/src/WinQuake/ |
D | net_ser.cpp | 78 int tty; member 125 b = TTY_ReadByte(p->tty); in ProcessInQueue() 369 serialLine[n].tty = TTY_Open(n); in Serial_Init() 408 return TTY_OutputQueueIsEmpty(((SerialLine *)sock->driverdata)->tty); in Serial_CanSendUnreliableMessage() 426 TTY_WriteByte(p->tty, b); in Serial_SendMessage() 431 TTY_WriteByte(p->tty, b); in Serial_SendMessage() 433 TTY_WriteByte(p->tty, b); in Serial_SendMessage() 438 TTY_WriteByte(p->tty, b); in Serial_SendMessage() 440 TTY_WriteByte(p->tty, b); in Serial_SendMessage() 443 TTY_WriteByte(p->tty, b); in Serial_SendMessage() [all …]
|
/external/openssl/crypto/des/ |
D | read_pwd.c | 148 #define TTY_get(tty,data) tcgetattr(tty,data) argument 149 #define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) argument 156 #define TTY_get(tty,data) ioctl(tty,TCGETA,data) argument 157 #define TTY_set(tty,data) ioctl(tty,TCSETA,data) argument 164 #define TTY_get(tty,data) ioctl(tty,TIOCGETP,data) argument 165 #define TTY_set(tty,data) ioctl(tty,TIOCSETP,data) argument 207 static int noecho_fgets(char *buf, int size, FILE *tty); 279 static FILE *tty; in des_read_pw() local 292 tty=NULL; in des_read_pw() 295 if ((tty=fopen("con","r")) == NULL) in des_read_pw() [all …]
|
/external/openssh/ |
D | sshpty.c | 91 pty_release(const char *tty) in pty_release() argument 94 if (chown(tty, (uid_t) 0, (gid_t) 0) < 0) in pty_release() 95 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno)); in pty_release() 96 if (chmod(tty, (mode_t) 0666) < 0) in pty_release() 97 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno)); in pty_release() 104 pty_make_controlling_tty(int *ttyfd, const char *tty) in pty_make_controlling_tty() argument 115 fd = open(tty, O_RDWR|O_NOCTTY); in pty_make_controlling_tty() 130 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty() 170 fd = open(tty, O_RDWR); in pty_make_controlling_tty() 172 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty() [all …]
|
D | sshlogin.c | 126 record_login(pid_t pid, const char *tty, const char *user, uid_t uid, in record_login() argument 134 li = login_alloc_entry(pid, user, host, tty); in record_login() 156 record_logout(pid_t pid, const char *tty, const char *user) in record_logout() argument 160 li = login_alloc_entry(pid, user, NULL, tty); in record_logout()
|
D | auth-sia.c | 83 session_setup_sia(struct passwd *pw, char *tty) in session_setup_sia() argument 91 tty, 0, NULL) != SIASUCCESS) in session_setup_sia()
|
D | session.c | 697 pty_make_controlling_tty(&ttyfd, s->tty); in do_exec_pty() 780 record_utmp_only(pid, s->tty, s->pw->pw_name, in do_pre_login() 868 record_login(pid, s->tty, pw->pw_name, pw->pw_uid, in do_login() 1236 child_set_env(&env, &envsize, "SSH_TTY", s->tty); in do_setup_env() 1651 session_setup_sia(pw, s->ttyfd == -1 ? NULL : s->tty); in do_child() 1936 session_by_tty(char *tty) in session_by_tty() argument 1941 if (s->used && s->ttyfd != -1 && strcmp(s->tty, tty) == 0) { in session_by_tty() 1942 debug("session_by_tty: session %d tty %s", i, tty); in session_by_tty() 1946 debug("session_by_tty: unknown tty %.100s", tty); in session_by_tty() 2052 if (!PRIVSEP(pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, in session_pty_req() [all …]
|
D | loginrec.c | 844 int tty; in utmp_write_direct() local 851 tty=0; in utmp_write_direct() 854 tty++; in utmp_write_direct() 866 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */ in utmp_write_direct() 870 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) { in utmp_write_direct() 873 pos = (off_t)tty * sizeof(struct utmp); in utmp_write_direct() 881 __func__, tty, UTMP_FILE); in utmp_write_direct() 903 __func__, tty, UTMP_FILE); in utmp_write_direct()
|
/external/bluetooth/bluez/scripts/ |
D | bluetooth-serial.rules | 2 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="Brain Boxes", ATTRS{prod_id2}=="Bluetooth… 5 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="Xircom", ATTRS{prod_id3}=="CBT", ENV{HCIO… 8 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="Xircom", ATTRS{prod_id3}=="CBT", ENV{HCIO… 11 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="IBM", ATTRS{prod_id2}=="Bluetooth PC Card… 14 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="TDK", ATTRS{prod_id2}=="Bluetooth PC Card… 17 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="AmbiCom BT2000C", ATTRS{prod_id2}=="Bluet… 20 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="COM1 SA", ATTRS{prod_id2}=="MC310 CARD", … 23 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="SPHINX", ATTRS{prod_id2}=="BT-CARD", ENV{… 26 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="H-Soft", ATTRS{prod_id2}=="Blue+CARD", EN… 29 SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="CF CARD", ATTRS{prod_id2}=="GENERIC", ENV… [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
D | SDL_wsconsevents.c | 43 struct termios tty; in WSCONS_InitKeyboard() local 55 tty = private->saved_tty; in WSCONS_InitKeyboard() 56 tty.c_iflag = IGNPAR | IGNBRK; in WSCONS_InitKeyboard() 57 tty.c_oflag = 0; in WSCONS_InitKeyboard() 58 tty.c_cflag = CREAD | CS8; in WSCONS_InitKeyboard() 59 tty.c_lflag = 0; in WSCONS_InitKeyboard() 60 tty.c_cc[VTIME] = 0; in WSCONS_InitKeyboard() 61 tty.c_cc[VMIN] = 1; in WSCONS_InitKeyboard() 62 cfsetispeed(&tty, 9600); in WSCONS_InitKeyboard() 63 cfsetospeed(&tty, 9600); in WSCONS_InitKeyboard() [all …]
|
/external/bluetooth/bluez/compat/ |
D | dun.c | 157 static int dun_exec(char *tty, char *prog, char **args) in dun_exec() argument 186 static int dun_create_tty(int sk, char *tty, int size) in dun_create_tty() argument 213 snprintf(tty, size, "/dev/rfcomm%d", id); in dun_create_tty() 214 while (stat(tty, &st) < 0) { in dun_create_tty() 215 snprintf(tty, size, "/dev/bluetooth/rfcomm/%d", id); in dun_create_tty() 216 if (stat(tty, &st) < 0) { in dun_create_tty() 217 snprintf(tty, size, "/dev/rfcomm%d", id); in dun_create_tty() 309 char tty[100]; in dun_open_connection() local 312 if (dun_create_tty(sk, tty, sizeof(tty) - 1) < 0) { in dun_open_connection() 318 args[1] = tty; in dun_open_connection() [all …]
|
/external/openssl/crypto/ui/ |
D | ui_openssl.c | 221 # define TTY_get(tty,data) tcgetattr(tty,data) argument 222 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) argument 229 # define TTY_get(tty,data) ioctl(tty,TCGETA,data) argument 230 # define TTY_set(tty,data) ioctl(tty,TCSETA,data) argument 237 # define TTY_get(tty,data) ioctl(tty,TIOCGETP,data) argument 238 # define TTY_set(tty,data) ioctl(tty,TIOCSETP,data) argument 308 static int noecho_fgets(char *buf, int size, FILE *tty); 669 static int noecho_fgets(char *buf, int size, FILE *tty) in noecho_fgets() argument
|
/external/dropbear/ |
D | cli-authinteract.c | 36 FILE* tty = NULL; in get_response() local 44 tty = fopen(_PATH_TTY, "r"); in get_response() 45 if (tty) { in get_response() 46 ret = fgets(buf, sizeof(buf), tty); in get_response() 47 fclose(tty); in get_response()
|
D | cli-kex.c | 118 FILE *tty = NULL; in ask_to_confirm() local 134 tty = fopen(_PATH_TTY, "r"); in ask_to_confirm() 135 if (tty) { in ask_to_confirm() 136 response = getc(tty); in ask_to_confirm() 137 fclose(tty); in ask_to_confirm()
|
D | svr-chansession.c | 229 chansess->tty = NULL; in newchansess() 273 if (chansess->tty) { in closechansess() 276 ses.remotehost, chansess->tty); in closechansess() 280 pty_release(chansess->tty); in closechansess() 281 m_free(chansess->tty); in closechansess() 545 chansess->tty = (char*)m_strdup(namebuf); in sessionpty() 546 if (!chansess->tty) { in sessionpty() 550 pty_setowner(ses.authstate.pw, chansess->tty); in sessionpty() 748 if (chansess->master == -1 || chansess->tty == NULL) { in ptycommand() 773 pty_make_controlling_tty(&chansess->slave, chansess->tty); in ptycommand() [all …]
|
D | loginrec.c | 684 int tty; in utmp_write_direct() local 691 tty=0; in utmp_write_direct() 695 tty++; in utmp_write_direct() 707 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */ in utmp_write_direct() 711 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) { in utmp_write_direct() 712 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); in utmp_write_direct() 725 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); in utmp_write_direct()
|
D | chansession.h | 48 unsigned char * tty; member
|
/external/openssh/openbsd-compat/ |
D | port-linux.c | 140 ssh_selinux_setup_pty(char *pwname, const char *tty) in ssh_selinux_setup_pty() argument 149 debug3("%s: setting TTY context on %s", __func__, tty); in ssh_selinux_setup_pty() 155 if (getfilecon(tty, &old_tty_ctx) == -1) { in ssh_selinux_setup_pty() 167 if (setfilecon(tty, new_tty_ctx) != 0) in ssh_selinux_setup_pty()
|
/external/qemu/ |
D | qemu-char.c | 805 struct termios tty; in qemu_chr_set_echo_stdio() local 807 tty = oldtty; in qemu_chr_set_echo_stdio() 809 tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP in qemu_chr_set_echo_stdio() 811 tty.c_oflag |= OPOST; in qemu_chr_set_echo_stdio() 812 tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN); in qemu_chr_set_echo_stdio() 813 tty.c_cflag &= ~(CSIZE|PARENB); in qemu_chr_set_echo_stdio() 814 tty.c_cflag |= CS8; in qemu_chr_set_echo_stdio() 815 tty.c_cc[VMIN] = 1; in qemu_chr_set_echo_stdio() 816 tty.c_cc[VTIME] = 0; in qemu_chr_set_echo_stdio() 820 tty.c_lflag &= ~ISIG; in qemu_chr_set_echo_stdio() [all …]
|
/external/llvm/test/Linker/ |
D | 2004-05-07-TypeResolution2.ll | 9 define internal void @f1(%struct1* %tty) { 11 %tmp.2.i.i = getelementptr %struct1* %tty, i64 0, i32 1 ; <void (%struct2*)**> [#uses=1]
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
D | out | 16 /* Last resort, maybe our tty is a usable VT */ 20 keyboard_fd = open("/dev/tty", O_RDWR);
|
/external/genext2fs/ |
D | device_table.txt | 11 /dev/tty c 666 0 0 5 0 0 0 - 12 /dev/tty c 666 0 0 4 0 0 1 6
|
/external/ppp/pppd/ |
D | auth.c | 1535 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; in plogout() 1672 tty = devnam; in plogout() 1673 if (strncmp(tty, "/dev/", 5) == 0) in plogout() 1674 tty += 5; in plogout() [all …]
|
D | Android.mk | 22 tty.c \
|