Home
last modified time | relevance | path

Searched refs:timeout_obj (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Modules/clinic/
Dselectmodule.c.h37 PyObject *xlist, PyObject *timeout_obj);
46 PyObject *timeout_obj = Py_None; in select_select() local
57 timeout_obj = args[3]; in select_select()
59 return_value = select_select_impl(module, rlist, wlist, xlist, timeout_obj); in select_select()
203 select_poll_poll_impl(pollObject *self, PyObject *timeout_obj);
209 PyObject *timeout_obj = Py_None; in select_poll_poll() local
217 timeout_obj = args[0]; in select_poll_poll()
219 return_value = select_poll_poll_impl(self, timeout_obj); in select_poll_poll()
373 select_devpoll_poll_impl(devpollObject *self, PyObject *timeout_obj);
379 PyObject *timeout_obj = Py_None; in select_devpoll_poll() local
[all …]
Dsignalmodule.c.h543 PyObject *timeout_obj);
550 PyObject *timeout_obj; in signal_sigtimedwait() local
558 timeout_obj = args[1]; in signal_sigtimedwait()
559 return_value = signal_sigtimedwait_impl(module, sigset, timeout_obj); in signal_sigtimedwait()
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c64 PyObject *timeout_obj = Py_None; in semlock_acquire() local
70 &blocking, &timeout_obj)) in semlock_acquire()
76 } else if (timeout_obj == Py_None) { in semlock_acquire()
79 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
279 PyObject *timeout_obj = Py_None; in semlock_acquire() local
287 &blocking, &timeout_obj)) in semlock_acquire()
295 if (timeout_obj != Py_None) { in semlock_acquire()
296 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
316 if (blocking && timeout_obj == Py_None) in semlock_acquire()
Dconnection.h339 PyObject *timeout_obj = NULL; in connection_poll() local
345 if (!PyArg_ParseTuple(args, "|O", &timeout_obj)) in connection_poll()
348 if (timeout_obj == NULL) { in connection_poll()
350 } else if (timeout_obj == Py_None) { in connection_poll()
353 timeout = PyFloat_AsDouble(timeout_obj); in connection_poll()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c66 PyObject *timeout_obj = Py_None; in semlock_acquire() local
73 &blocking, &timeout_obj)) in semlock_acquire()
79 } else if (timeout_obj == Py_None) { in semlock_acquire()
82 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
271 PyObject *timeout_obj = Py_None; in semlock_acquire() local
277 &blocking, &timeout_obj)) in semlock_acquire()
285 int use_deadline = (timeout_obj != Py_None); in semlock_acquire()
287 double timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
/external/python/cpython3/Modules/
Dselectmodule.c266 PyObject *xlist, PyObject *timeout_obj) in select_select_impl() argument
289 if (timeout_obj == Py_None) in select_select_impl()
292 if (_PyTime_FromSecondsObject(&timeout, timeout_obj, in select_select_impl()
592 select_poll_poll_impl(pollObject *self, PyObject *timeout_obj) in select_poll_poll_impl() argument
601 if (timeout_obj != Py_None) { in select_poll_poll_impl()
602 if (_PyTime_FromMillisecondsObject(&timeout, timeout_obj, in select_poll_poll_impl()
923 select_devpoll_poll_impl(devpollObject *self, PyObject *timeout_obj) in select_devpoll_poll_impl() argument
936 if (timeout_obj == Py_None) { in select_devpoll_poll_impl()
941 if (_PyTime_FromMillisecondsObject(&timeout, timeout_obj, in select_devpoll_poll_impl()
1545 select_epoll_poll_impl(pyEpoll_Object *self, PyObject *timeout_obj, in select_epoll_poll_impl() argument
[all …]
D_threadmodule.c98 PyObject *timeout_obj = NULL; in lock_acquire_parse_args() local
104 &blocking, &timeout_obj)) in lock_acquire_parse_args()
107 if (timeout_obj in lock_acquire_parse_args()
109 timeout_obj, _PyTime_ROUND_TIMEOUT) < 0) in lock_acquire_parse_args()
Dfaulthandler.c684 PyObject *timeout_obj; in faulthandler_dump_traceback_later() local
696 &timeout_obj, &repeat, &file, &exit)) in faulthandler_dump_traceback_later()
699 if (_PyTime_FromSecondsObject(&timeout, timeout_obj, in faulthandler_dump_traceback_later()
Dsignalmodule.c1171 PyObject *timeout_obj) in signal_sigtimedwait_impl() argument
1180 timeout_obj, _PyTime_ROUND_CEILING) < 0) in signal_sigtimedwait_impl()
Dsocketmodule.c2864 socket_parse_timeout(_PyTime_t *timeout, PyObject *timeout_obj) in socket_parse_timeout() argument
2874 if (timeout_obj == Py_None) { in socket_parse_timeout()
2880 timeout_obj, _PyTime_ROUND_TIMEOUT) < 0) in socket_parse_timeout()