Lines Matching refs:cflag
323 iflag, oflag, cflag, lflag, ispeed, ospeed, cc = orig_attr
327 cflag |= (TERMIOS.CLOCAL|TERMIOS.CREAD)
360 cflag &= ~TERMIOS.CSIZE
362 cflag |= TERMIOS.CS8
364 cflag |= TERMIOS.CS7
366 cflag |= TERMIOS.CS6
368 cflag |= TERMIOS.CS5
373 cflag &= ~(TERMIOS.CSTOPB)
375 cflag |= (TERMIOS.CSTOPB) # XXX same as TWO.. there is no POSIX support for 1.5
377 cflag |= (TERMIOS.CSTOPB)
383 cflag &= ~(TERMIOS.PARENB|TERMIOS.PARODD)
385 cflag &= ~(TERMIOS.PARODD)
386 cflag |= (TERMIOS.PARENB)
388 cflag |= (TERMIOS.PARENB|TERMIOS.PARODD)
406 cflag |= (TERMIOS.CRTSCTS)
408 cflag &= ~(TERMIOS.CRTSCTS)
411 cflag |= (TERMIOS.CNEW_RTSCTS)
413 cflag &= ~(TERMIOS.CNEW_RTSCTS)
426 if [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] != orig_attr:
427 … termios.tcsetattr(self.fd, TERMIOS.TCSANOW, [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])