Home
last modified time | relevance | path

Searched refs:ospeed (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Modules/
H A Dtermios.c71 Returns a list [iflag, oflag, cflag, lflag, ispeed, ospeed, cc]
95 speed_t ospeed = cfgetospeed(&mode); in termios_tcgetattr_impl() local
134 PyList_SetItem(v, 5, PyLong_FromLong((long)ospeed)); in termios_tcgetattr_impl()
191 speed_t ospeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 5)); in termios_tcsetattr_impl() local
222 if (cfsetospeed(&mode, (speed_t) ospeed) == -1) in termios_tcsetattr_impl()
/third_party/toybox/toys/pending/
H A Dstty.c28 N set input and output speed (ispeed N or ospeed N for just one)
192 int ispeed = baud(cfgetispeed(t)), ospeed = baud(cfgetospeed(t)); in show_speed() local
193 char *fmt = verbose ? "ispeed %d baud; ospeed %d baud;" : "%d %d\n"; in show_speed()
195 if (ispeed == ospeed) fmt += (verbose ? 17 : 3); in show_speed()
196 out(fmt, ispeed, ospeed); in show_speed()
342 else if (!strcmp(arg, "ospeed")) in do_stty()

Completed in 3 milliseconds