Lines Matching refs:lflag

468 #define TTBREAKC(c, lflag)                                                      \  argument
470 (c) == cc[VEOL] || ((c) == cc[VEOL2] && lflag & IEXTEN)) && \
488 tcflag_t iflag, lflag; in ttyinput() local
498 lflag = tp->t_lflag; in ttyinput()
499 if (ISSET(lflag, PENDIN)) { in ttyinput()
505 if (ISSET(lflag, ICANON)) { in ttyinput()
522 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) && in ttyinput()
569 if (!ISSET(lflag, EXTPROC)) { in ttyinput()
589 if (ISSET(lflag, IEXTEN)) { in ttyinput()
591 if (ISSET(lflag, ECHO)) { in ttyinput()
592 if (ISSET(lflag, ECHOE)) { in ttyinput()
603 if (ISSET(lflag, FLUSHO)) { in ttyinput()
619 if (ISSET(lflag, ISIG)) { in ttyinput()
621 if (!ISSET(lflag, NOFLSH)) { in ttyinput()
639 if (!ISSET(lflag, NOFLSH)) { in ttyinput()
683 if (!ISSET(tp->t_lflag, EXTPROC) && ISSET(lflag, ICANON)) { in ttyinput()
707 if (ISSET(lflag, ECHOKE) && in ttyinput()
709 !ISSET(lflag, ECHOPRT)) { in ttyinput()
715 if (ISSET(lflag, ECHOK) || in ttyinput()
716 ISSET(lflag, ECHOKE)) { in ttyinput()
728 if (CCEQ(cc[VWERASE], c) && ISSET(lflag, IEXTEN)) { in ttyinput()
764 (!ISSET(lflag, ALTWERASE) || ISALPHA(c) == ctype)); in ttyinput()
771 if (CCEQ(cc[VREPRINT], c) && ISSET(lflag, IEXTEN)) { in ttyinput()
778 if (CCEQ(cc[VSTATUS], c) && ISSET(lflag, IEXTEN)) { in ttyinput()
779 if (ISSET(lflag, ISIG)) { in ttyinput()
783 if (!ISSET(lflag, NOKERNINFO)) { in ttyinput()
812 if (!ISSET(lflag, ICANON)) { in ttyinput()
817 if (TTBREAKC(c, lflag)) { in ttyinput()
833 if (CCEQ(cc[VEOF], c) && ISSET(lflag, ECHO)) { in ttyinput()
2098 tcflag_t lflag; in ttread() local
2112 lflag = tp->t_lflag; in ttread()
2116 if (ISSET(lflag, PENDIN)) { in ttread()
2118 lflag = tp->t_lflag; /* XXX ttypend() clobbers it */ in ttread()
2172 qp = ISSET(lflag, ICANON) ? &tp->t_canq : &tp->t_rawq; in ttread()
2178 if (ISSET(lflag, ICANON) || cc[VMIN] != 0) { in ttread()
2184 if (!ISSET(lflag, ICANON)) { in ttread()
2301 if (ISSET(lflag, ICANON) in ttread()
2302 || (ISSET(lflag, IEXTEN | ISIG) == (IEXTEN | ISIG))) { in ttread()
2349 ISSET(lflag, IEXTEN | ISIG) == (IEXTEN | ISIG)) { in ttread()
2369 if (CCEQ(cc[VEOF], c) && ISSET(lflag, ICANON)) { in ttread()
2387 if (ISSET(lflag, ICANON) && TTBREAKC(c, lflag)) { in ttread()