Home
last modified time | relevance | path

Searched refs:c_cflag (Results 1 – 25 of 27) sorted by relevance

12

/external/strace/
Dterm.c51 printxval(baud_options, tios.c_cflag & CBAUD, "B???"); in decode_termios()
62 (long) tios.c_cflag, (long) tios.c_lflag); in decode_termios()
83 printxval(baud_options, tio.c_cflag & CBAUD, "B???"); in decode_termio()
94 (long) tio.c_cflag, (long) tio.c_lflag); in decode_termio()
/external/libedit/src/
Dtty.c452 #define tty__geteightbit(td) (((td)->c_cflag & CSIZE) == CS8)
526 el->el_tty.t_ex.c_cflag &= ~el->el_tty.t_t[EX_IO][MD_CTL].t_clrmask; in tty_setup()
527 el->el_tty.t_ex.c_cflag |= el->el_tty.t_t[EX_IO][MD_CTL].t_setmask; in tty_setup()
571 el->el_tty.t_ed.c_cflag &= ~el->el_tty.t_t[ED_IO][MD_CTL].t_clrmask; in tty_setup()
572 el->el_tty.t_ed.c_cflag |= el->el_tty.t_t[ED_IO][MD_CTL].t_setmask; in tty_setup()
976 if (el->el_tty.t_ts.c_cflag != el->el_tty.t_ex.c_cflag) { in tty_rawmode()
977 el->el_tty.t_ex.c_cflag = in tty_rawmode()
978 el->el_tty.t_ts.c_cflag; in tty_rawmode()
979 el->el_tty.t_ex.c_cflag &= in tty_rawmode()
981 el->el_tty.t_ex.c_cflag |= in tty_rawmode()
[all …]
/external/kernel-headers/original/uapi/asm-generic/
Dtermbits.h15 tcflag_t c_cflag; /* control mode flags */ member
24 tcflag_t c_cflag; /* control mode flags */ member
35 tcflag_t c_cflag; /* control mode flags */ member
Dtermios.h26 unsigned short c_cflag; /* control mode flags */ member
/external/kernel-headers/original/uapi/asm-mips/asm/
Dtermbits.h28 tcflag_t c_cflag; /* control mode flags */ member
37 tcflag_t c_cflag; /* control mode flags */ member
48 tcflag_t c_cflag; /* control mode flags */ member
Dtermios.h57 unsigned short c_cflag; /* control mode flags */ member
/external/toybox/toys/pending/
Dgetty.c152 TT.termios.c_cflag &= (0|CSTOPB|PARENB|PARODD); in termios_init()
154 if (toys.optflags & FLAG_h) TT.termios.c_cflag |= CRTSCTS; in termios_init()
156 if (toys.optflags & FLAG_L) TT.termios.c_cflag |= CLOCAL; in termios_init()
160 TT.termios.c_cflag |= CS8|CREAD|HUPCL|CBAUDEX; in termios_init()
Dstty.c231 if (!set_flag(&new->c_cflag, cflags, ARRAY_LEN(cflags), option, on) && in set_option()
348 &new.c_cflag, &new.c_lflag, &n) == 4) in do_stty()
405 xprintf("%x:%x:%x:%x:", old.c_iflag, old.c_oflag, old.c_cflag, old.c_lflag); in do_stty()
442 show_flags(old.c_cflag, sane.c_cflag, cflags, ARRAY_LEN(cflags)); in do_stty()
Dinit.c84 terminal.c_cflag &= CRTSCTS|PARODD|PARENB|CSTOPB|CSIZE|CBAUDEX|CBAUD; in reset_term()
85 terminal.c_cflag |= CLOCAL|HUPCL|CREAD; in reset_term()
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c231 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL; in run_ptest()
304 if (termio.c_cflag != (B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL)) { in chk_tty_parms()
306 termio.c_cflag); in chk_tty_parms()
/external/valgrind/include/vki/
Dvki-arm64-linux.h356 unsigned short c_cflag; /* control mode flags */ member
373 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-amd64-linux.h382 unsigned short c_cflag; /* control mode flags */ member
399 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-ppc32-linux.h494 unsigned short c_cflag; /* control mode flags */ member
512 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-s390x-linux.h511 unsigned short c_cflag; /* control mode flags */ member
529 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-ppc64-linux.h529 unsigned short c_cflag; /* control mode flags */ member
547 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-arm-linux.h417 unsigned short c_cflag; /* control mode flags */ member
435 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-x86-linux.h455 unsigned short c_cflag; /* control mode flags */ member
473 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-mips64-linux.h509 unsigned short c_cflag; /* control mode flags */ member
526 vki_tcflag_t c_cflag; /* control mode flags */ member
Dvki-mips32-linux.h502 unsigned short c_cflag; /* control mode flags */ member
520 vki_tcflag_t c_cflag; /* control mode flags */ member
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c75 buf.c_cflag &= ~(CSIZE | PARENB); in tty_semi_raw()
77 buf.c_cflag |= CS8; in tty_semi_raw()
/external/ltp/testcases/kernel/pty/
Dptem01.c411 termios.c_cflag &= ~CBAUD; in test6()
412 termios.c_cflag |= B0 & CBAUD; in test6()
/external/ppp/pppd/
Dsys-linux.c947 tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CLOCAL); in set_up_tty()
948 tios.c_cflag |= CS8 | CREAD | HUPCL; in set_up_tty()
957 tios.c_cflag ^= (CLOCAL | HUPCL); in set_up_tty()
961 tios.c_cflag |= CRTSCTS; in set_up_tty()
971 tios.c_cflag &= ~CRTSCTS; in set_up_tty()
979 tios.c_cflag |= CSTOPB; in set_up_tty()
2669 tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB);
2670 tios.c_cflag |= CS8 | CREAD | CLOCAL;
Dsys-solaris.c1212 tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CLOCAL);
1215 tios.c_cflag |= CRTSCTS;
1217 tios.c_cflag &= ~CRTSCTS;
1229 tios.c_cflag |= CSTOPB;
1231 tios.c_cflag |= CS8 | CREAD | HUPCL;
1233 tios.c_cflag |= CLOCAL;
/external/python/cpython2/Modules/
Dtermios.c119 PyList_SetItem(v, 2, PyInt_FromLong((long)mode.c_cflag)); in termios_tcgetattr()
168 mode.c_cflag = (tcflag_t) PyInt_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr()
/external/python/cpython3/Modules/
Dtermios.c112 PyList_SetItem(v, 2, PyLong_FromLong((long)mode.c_cflag)); in termios_tcgetattr()
161 mode.c_cflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr()

12