Lines Matching refs:qp
1587 struct clist *qp;
1657 qp = ISSET(lflag, ICANON) ? &tp->t_canq : &tp->t_rawq;
1660 if (qp->c_cc > 0)
1684 if (qp->c_cc < m)
1686 if (qp->c_cc > 0)
1689 /* m, t and qp->c_cc are all 0. 0 is enough input. */
1697 if (qp->c_cc <= 0)
1699 if (qp->c_cc >= m)
1711 } else if (qp->c_cc > last_cc) {
1726 last_cc = qp->c_cc;
1728 if (qp->c_cc > 0)
1761 if (qp->c_cc <= 0) {
1797 icc = q_to_b(qp, (u_char *)ibuf, icc);
1817 c = getc(qp);
1848 /* XXX should ungetc(c, qp). */