Lines Matching refs:mask
124 unsigned long mask; member
373 sp->c_cflag |= tp->mask; in sane()
375 sp->c_cflag &= ~tp->mask; in sane()
379 sp->c_iflag |= tp->mask; in sane()
381 sp->c_iflag &= ~tp->mask; in sane()
385 sp->c_oflag |= tp->mask; in sane()
387 sp->c_oflag &= ~tp->mask; in sane()
391 sp->c_lflag |= tp->mask; in sane()
393 sp->c_lflag &= ~tp->mask; in sane()
398 sp->c_cc[tp->mask] = cntl(tp->val); in sane()
497 if(sp->c_cflag&tp->mask) in output()
499 if(tty.c_cflag&tp->mask) in output()
503 if(sp->c_iflag&tp->mask) in output()
505 if(tty.c_iflag&tp->mask) in output()
509 if((sp->c_oflag&tp->mask)==tp->val) in output()
511 if(tty.c_oflag&tp->mask) in output()
515 if(sp->c_lflag&tp->mask) in output()
517 if(tty.c_lflag&tp->mask) in output()
532 off = sp->c_cc[tp->mask]; in output()
535 if(!flags && off==(unsigned char)tty.c_cc[tp->mask]) in output()
553 if((sp->c_cflag&CSIZE)!=tp->mask) in output()
559 if(tp->mask==ispeed) in output()
566 else if(tp->mask==ospeed) in output()
604 if(Ttable[i].type==SPEED && Ttable[i].mask==val) in getspeed()
656 sp->c_cc[tp->mask] = c; in set()
658 sp->c_cc[tp->mask] = _POSIX_VDISABLE; in set()
665 sp->c_cflag &= ~tp->mask; in set()
667 sp->c_cflag |= tp->mask; in set()
671 sp->c_iflag &= ~tp->mask; in set()
673 sp->c_iflag |= tp->mask; in set()
676 sp->c_oflag &= ~tp->mask; in set()
681 sp->c_lflag &= ~tp->mask; in set()
683 sp->c_lflag |= tp->mask; in set()
688 sp->c_oflag &= ~tp->mask; in set()
701 sfprintf(sfstdout,"%d\n",tp->mask?win.ws_col:win.ws_row); in set()
708 if(tp->mask) in set()
752 sp->c_cc[tp->mask] = c; in set()
757 cfsetospeed(sp, tp->mask); in set()
758 cfsetispeed(sp, tp->mask); in set()
762 sp->c_cflag |= tp->mask; in set()
809 static void listmask(Sfio_t *sp,unsigned int mask,const char *description) in listmask() argument
815 if(Ttable[i].mask==mask && Ttable[i].type==BITS) in listmask()