/external/python/cpython2/Modules/ |
termios.c | 61 [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] where cc is a list\n\ 74 speed_t ispeed, ospeed; local 86 ispeed = cfgetispeed(&mode); 121 PyList_SetItem(v, 4, PyInt_FromLong((long)ispeed)); 150 speed_t ispeed, ospeed; local 170 ispeed = (speed_t) PyInt_AsLong(PyList_GetItem(term, 4)); 197 if (cfsetispeed(&mode, (speed_t) ispeed) == -1)
|
/external/python/cpython3/Modules/ |
termios.c | 54 [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] where cc is a list\n\ 67 speed_t ispeed, ospeed; local 79 ispeed = cfgetispeed(&mode); 114 PyList_SetItem(v, 4, PyLong_FromLong((long)ispeed)); 143 speed_t ispeed, ospeed; local 163 ispeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 4)); 190 if (cfsetispeed(&mode, (speed_t) ispeed) == -1)
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
serialposix.py | 323 iflag, oflag, cflag, lflag, ispeed, ospeed, cc = orig_attr 343 ispeed = ospeed = getattr(TERMIOS, 'B%s' % (self._baudrate)) 346 ispeed = ospeed = baudrate_constants[self._baudrate] 350 ispeed = ospeed = getattr(TERMIOS, 'B38400') 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])
|
/external/toybox/toys/pending/ |
stty.c | 28 N set input and output speed (ispeed N or ospeed N for just one) 192 int ispeed = baud(cfgetispeed(t)), ospeed = baud(cfgetospeed(t)); local 193 char *fmt = verbose ? "ispeed %d baud; ospeed %d baud;" : "%d %d\n"; 195 if (ispeed == ospeed) fmt += (verbose ? 17 : 3); 196 out(fmt, ispeed, ospeed); 340 } else if (!strcmp(arg, "ispeed"))
|