Home
last modified time | relevance | path

Searched refs:otimeout (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dselectmodule.c1588 PyObject *otimeout = NULL; in kqueue_queue_control() local
1600 if (!PyArg_ParseTuple(args, "Oi|O:control", &ch, &nevents, &otimeout)) in kqueue_queue_control()
1610 if (otimeout == Py_None || otimeout == NULL) { in kqueue_queue_control()
1613 else if (PyNumber_Check(otimeout)) { in kqueue_queue_control()
1617 timeout = PyFloat_AsDouble(otimeout); in kqueue_queue_control()
1641 Py_TYPE(otimeout)->tp_name); in kqueue_queue_control()
/external/python/cpython3/Modules/
Dselectmodule.c2117 PyObject *otimeout = NULL; in kqueue_queue_control() local
2130 if (!PyArg_ParseTuple(args, "Oi|O:control", &ch, &nevents, &otimeout)) in kqueue_queue_control()
2140 if (otimeout == Py_None || otimeout == NULL) { in kqueue_queue_control()
2145 otimeout, _PyTime_ROUND_TIMEOUT) < 0) { in kqueue_queue_control()
2149 Py_TYPE(otimeout)->tp_name); in kqueue_queue_control()