Home
last modified time | relevance | path

Searched refs:iflag (Results 1 – 2 of 2) sorted by relevance

/xnu-8019.80.24/bsd/kern/
H A Dtty_compat.c555 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 Dtty.c427 tcflag_t iflag, lflag; in ttyinput() local
459 iflag = tp->t_iflag; in ttyinput()
462 (ISSET(tp->t_cflag, CRTS_IFLOW) || ISSET(iflag, IXOFF)) && in ttyinput()
473 if (ISSET(iflag, IGNBRK)) { in ttyinput()
476 if (ISSET(iflag, BRKINT)) { in ttyinput()
482 if (ISSET(iflag, PARMRK)) { in ttyinput()
485 } else if ((ISSET(err, TTY_PE) && ISSET(iflag, INPCK)) in ttyinput()
487 if (ISSET(iflag, IGNPAR)) { in ttyinput()
489 } else if (ISSET(iflag, PARMRK)) { in ttyinput()
505 if (!ISSET(tp->t_state, TS_TYPEN) && ISSET(iflag, ISTRIP)) { in ttyinput()
[all …]