Home
last modified time | relevance | path

Searched refs:tty_state (Results 1 – 7 of 7) sorted by relevance

/external/nos/test/system-test-harness/src/
Dutil.cc439 if (tcgetattr(tty_fd, &tty_state)) { in Init()
444 if (cfsetospeed(&tty_state, B115200) || in Init()
445 cfsetispeed(&tty_state, B115200)) { in Init()
450 tty_state.c_cc[VMIN] = 0; in Init()
451 tty_state.c_cc[VTIME] = 0; in Init()
453 tty_state.c_iflag = tty_state.c_iflag & ~(IXON | ISTRIP | INPCK | PARMRK | in Init()
455 tty_state.c_iflag = 0; in Init()
456 tty_state.c_oflag = 0; in Init()
457 tty_state.c_lflag = tty_state.c_lflag & ~(ECHO | ECHONL | ICANON | IEXTEN | in Init()
459 tty_state.c_cflag = (tty_state.c_cflag & ~(CSIZE | PARENB)) | CS8; in Init()
[all …]
Dutil.h124 struct termios tty_state; variable
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c51 static enum { RESET, RAW, CBREAK } tty_state = RESET; variable
57 if (tty_state == RESET) { in tty_semi_raw()
86 tty_state = RAW; in tty_semi_raw()
93 if (tty_state != CBREAK && tty_state != RAW) { in tty_atexit()
100 tty_state = RESET; in tty_atexit()
/external/mksh/src/
Djobs.c251 mksh_tcset(tty_fd, &tty_state); in j_suspend()
875 mksh_tcset(tty_fd, &tty_state); in j_resume()
897 mksh_tcset(tty_fd, &tty_state); in j_resume()
1218 mksh_tcget(tty_fd, &tty_state); in j_waitj()
1220 mksh_tcset(tty_fd, &tty_state); in j_waitj()
1954 mksh_tcget(tty_fd, &tty_state); in tty_init_state()
Dedit.c3332 edchars.erase = toedchar(tty_state.c_cc[VERASE]); in x_mode()
3333 edchars.kill = toedchar(tty_state.c_cc[VKILL]); in x_mode()
3334 edchars.intr = toedchar(tty_state.c_cc[VINTR]); in x_mode()
3335 edchars.quit = toedchar(tty_state.c_cc[VQUIT]); in x_mode()
3336 edchars.eof = toedchar(tty_state.c_cc[VEOF]); in x_mode()
3338 edchars.werase = toedchar(tty_state.c_cc[VWERASE]); in x_mode()
3369 mksh_tcset(tty_fd, &tty_state); in x_mode()
Dmain.c1954 ocb = &tty_state; in x_mkraw()
Dsh.h2735 EXTERN mksh_ttyst tty_state; /* saved tty state */ variable