Searched refs:otimeout (Results 1 – 2 of 2) sorted by relevance
1588 PyObject *otimeout = NULL; in kqueue_queue_control() local1600 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()
2117 PyObject *otimeout = NULL; in kqueue_queue_control() local2130 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()