Lines Matching refs:ISSET
129 #define CONNECTED(tp) (ISSET(tp->t_state, TS_CARR_ON) || \
130 ISSET(tp->t_cflag, CLOCAL | MDMBUF))
395 if (ISSET(tp->t_state, TS_ISOPEN) &&
396 !ISSET(tp->t_state, TS_DIALOUT)) {
407 while (ISSET(tp->t_state, TS_DIALOUT) ||
420 if (ISSET(tp->t_state, TS_DIALOUT)) {
441 if (!ISSET(tp->t_state, TS_ISOPEN)) {
571 ((c) == cc[VEOL2] && ISSET(lflg, IEXTEN))) && (c) != _POSIX_VDISABLE))
591 if (ISSET(lflag, PENDIN))
596 if (ISSET(lflag, ICANON)) {
611 if ((error = (ISSET(c, TTY_ERRORMASK))) != 0) {
613 if (ISSET(error, TTY_FE) && c == 0) { /* Break. */
614 if (ISSET(iflag, IGNBRK))
616 else if (ISSET(iflag, BRKINT)) {
620 } else if (ISSET(iflag, PARMRK))
622 } else if ((ISSET(error, TTY_PE) && ISSET(iflag, INPCK)) ||
623 ISSET(error, TTY_FE)) {
624 if (ISSET(iflag, IGNPAR))
626 else if (ISSET(iflag, PARMRK)) {
635 ISSET(iflag, ISTRIP|IGNPAR|INPCK|PARMRK) == (INPCK|PARMRK)) {
645 if (ISSET(iflag, IXOFF) || ISSET(tp->t_cflag, CHWFLOW))
647 if (!ISSET(tp->t_state, TS_TYPEN) && ISSET(iflag, ISTRIP))
649 if (!ISSET(lflag, EXTPROC)) {
653 if (ISSET(tp->t_state, TS_LNCH)) {
669 if (ISSET(lflag, IEXTEN)) {
671 if (ISSET(lflag, ECHO)) {
672 if (ISSET(lflag, ECHOE)) {
682 if (ISSET(lflag, FLUSHO))
697 if (ISSET(lflag, ISIG)) {
699 if (!ISSET(lflag, NOFLSH))
707 if (!ISSET(lflag, NOFLSH))
717 if (ISSET(iflag, IXON)) {
719 if (!ISSET(tp->t_state, TS_TTSTOP)) {
738 if (ISSET(iflag, IGNCR))
740 else if (ISSET(iflag, ICRNL))
742 } else if (c == '\n' && ISSET(iflag, INLCR))
745 if (!ISSET(lflag, EXTPROC) && ISSET(lflag, ICANON)) {
762 if (ISSET(lflag, ECHOKE) &&
764 !ISSET(lflag, ECHOPRT))
769 if (ISSET(lflag, ECHOK) ||
770 ISSET(lflag, ECHOKE))
781 if (ISSET(lflag, IEXTEN)) {
786 int alt = ISSET(lflag, ALTWERASE);
843 if (ISSET(iflag, IMAXBEL)) {
855 if (!ISSET(lflag, ICANON)) {
866 if (ISSET(tp->t_state, TS_ERASE)) {
875 if (CCEQ(cc[VEOF], c) && ISSET(lflag, ECHO)) {
890 if (ISSET(tp->t_state, TS_TTSTOP) &&
891 !ISSET(iflag, IXANY) && cc[VSTART] != cc[VSTOP]) {
915 if (!ISSET(tp->t_cflag, CREAD))
942 if (!ISSET(oflag, OPOST)) {
945 if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
957 ISSET(oflag, OXTABS) && !ISSET(tp->t_lflag, EXTPROC)) {
959 if (ISSET(tp->t_lflag, FLUSHO)) {
970 if (c == CEOT && ISSET(oflag, ONOEOT))
977 if (c == '\n' && ISSET(tp->t_oflag, ONLCR)) {
980 if (!ISSET(tp->t_lflag, FLUSHO) && putc('\r', &tp->t_outq))
984 else if (c == '\r' && ISSET(tp->t_oflag, OCRNL))
987 else if (c == '\r' && ISSET(tp->t_oflag, ONOCR) && tp->t_column == 0)
992 if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
1004 if (ISSET(tp->t_oflag, ONLCR | ONLRET))
1140 ISSET(ctp->t_state, TS_CARR_ON | TS_ISOPEN) ==
1261 if (!ISSET(t->c_cflag, CIGNORE)) {
1282 if (ISSET(t->c_lflag, ICANON) !=
1283 ISSET(tp->t_lflag, ICANON)) {
1284 if (ISSET(t->c_lflag, ICANON)) {
1303 if (ISSET(tp->t_lflag, EXTPROC))
1307 tp->t_lflag = t->c_lflag | ISSET(tp->t_lflag, PENDIN);
1350 if (ISSET(tp->t_state, TS_TTSTOP) ||
1351 ISSET(tp->t_lflag, FLUSHO)) {
1361 if (!ISSET(flag, FREAD))
1373 if (!ISSET(tp->t_state, TS_TTSTOP)) {
1690 if (ISSET(tp->t_lflag, PENDIN))
1693 if (!ISSET(tp->t_lflag, ICANON)) {
1712 while ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) &&
1810 !ISSET(tp->t_state, TS_TBLOCK) &&
1811 (!ISSET(tp->t_lflag, ICANON) || tp->t_canq.c_cc > 0)) {
1812 if (ISSET(tp->t_iflag, IXOFF) &&
1819 if (ISSET(tp->t_cflag, CHWFLOW) && tp->t_hwiflow &&
1886 if (ISSET(tp->t_state, TS_CARR_ON)) {
1891 if (ISSET(tp->t_state, TS_ISOPEN) && !CONNECTED(tp)) {
1899 if (!ISSET(tp->t_state, TS_CARR_ON)) {
1989 if (ISSET(lflag, PENDIN))
2015 if (!ISSET(lflag, ICANON)) {
2097 if (!carrier && ISSET(tp->t_state, TS_ISOPEN)) {
2127 ISSET(lflag, IEXTEN|ISIG) == (IEXTEN|ISIG)) {
2141 if (CCEQ(cc[VEOF], c) && ISSET(lflag, ICANON))
2157 if (ISSET(lflag, ICANON) && TTBREAKC(c, lflag))
2166 if (ISSET(tp->t_state, TS_TBLOCK) && tp->t_rawq.c_cc < TTYHOG / 5) {
2167 if (ISSET(tp->t_iflag, IXOFF) &&
2174 if (ISSET(tp->t_cflag, CHWFLOW) && tp->t_hwiflow &&
2238 if (ISSET(tp->t_state, TS_ISOPEN)) {
2260 ISSET(tp->t_lflag, TOSTOP) && (p->p_lflag & PL_PPWAIT) == 0 &&
2288 if (ISSET(tp->t_lflag, FLUSHO)) {
2319 if (!ISSET(tp->t_oflag, OPOST))
2337 if (ISSET(tp->t_lflag, FLUSHO) ||
2364 if (ISSET(tp->t_lflag, FLUSHO) ||
2440 if (!ISSET(tp->t_lflag, ECHO) || ISSET(tp->t_lflag, EXTPROC))
2443 if (ISSET(tp->t_lflag, ECHOE)) {
2464 if (ISSET(tp->t_lflag, ECHOCTL))
2495 } else if (ISSET(tp->t_lflag, ECHOPRT)) {
2496 if (!ISSET(tp->t_state, TS_ERASE)) {
2564 if (!ISSET(tp->t_state, TS_CNTTB))
2566 if ((!ISSET(tp->t_lflag, ECHO) &&
2567 (!ISSET(tp->t_lflag, ECHONL) || c != '\n')) ||
2568 ISSET(tp->t_lflag, EXTPROC))
2570 if (((ISSET(tp->t_lflag, ECHOCTL) &&
2571 (ISSET(c, TTY_CHARMASK) <= 037 && c != '\t' && c != '\n')) ||
2572 ISSET(c, TTY_CHARMASK) == 0177)) {
2594 if (ISSET(tp->t_state, TS_ASYNC))
2862 if (ISSET(tp->t_state, TS_CANCEL))
3130 if (ISSET(tp->t_state, TS_SIGINFO)) {
3135 if (!ISSET(lflag, NOKERNINFO)) {
3141 if (!ISSET(lflag, ISIG))