Searched refs:iflag (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.61.12/bsd/kern/ |
| H A D | tty_compat.c | 555 tcflag_t iflag = tp->t_iflag; in ttcompatgetflags() local 561 if (iflag & IXOFF) { in ttcompatgetflags() 564 if (iflag & ICRNL || oflag & ONLCR) { in ttcompatgetflags() 569 if (iflag & ISTRIP) { in ttcompatgetflags() 573 if (iflag & INPCK) { in ttcompatgetflags() 586 if (iflag & (INPCK | ISTRIP | IXON) || lflag & (IEXTEN | ISIG) in ttcompatgetflags() 617 if ((iflag & IXANY) == 0) { in ttcompatgetflags() 642 tcflag_t iflag = t->c_iflag; in ttcompatsetflags() local 648 iflag = IGNBRK; in ttcompatsetflags() 651 iflag &= ~(PARMRK | IGNPAR | IGNCR | INLCR); in ttcompatsetflags() [all …]
|
| H A D | tty.c | 488 tcflag_t iflag, lflag; in ttyinput() local 520 iflag = tp->t_iflag; in ttyinput() 523 (ISSET(tp->t_cflag, CRTS_IFLOW) || ISSET(iflag, IXOFF)) && in ttyinput() 534 if (ISSET(iflag, IGNBRK)) { in ttyinput() 537 if (ISSET(iflag, BRKINT)) { in ttyinput() 543 if (ISSET(iflag, PARMRK)) { in ttyinput() 546 } else if ((ISSET(err, TTY_PE) && ISSET(iflag, INPCK)) in ttyinput() 548 if (ISSET(iflag, IGNPAR)) { in ttyinput() 550 } else if (ISSET(iflag, PARMRK)) { in ttyinput() 566 if (!ISSET(tp->t_state, TS_TYPEN) && ISSET(iflag, ISTRIP)) { in ttyinput() [all …]
|