Home
last modified time | relevance | path

Searched refs:_PyTime_ROUND_CEILING (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Modules/
D_queuemodule.c217 timeout, _PyTime_ROUND_CEILING) < 0) in _queue_SimpleQueue_get_impl()
225 _PyTime_ROUND_CEILING); in _queue_SimpleQueue_get_impl()
264 microseconds = _PyTime_AsMicroseconds(timeout_val, _PyTime_ROUND_CEILING); in _queue_SimpleQueue_get_impl()
Dselectmodule.c347 _PyTime_AsTimeval_noraise(timeout, &tv, _PyTime_ROUND_CEILING); in select_select_impl()
654 ms = _PyTime_AsMilliseconds(timeout, _PyTime_ROUND_CEILING); in select_poll_poll_impl()
964 ms = _PyTime_AsMilliseconds(timeout, _PyTime_ROUND_CEILING); in select_devpoll_poll_impl()
1536 ms = _PyTime_AsMilliseconds(timeout, _PyTime_ROUND_CEILING); in select_epoll_poll_impl()
1592 ms = _PyTime_AsMilliseconds(timeout, _PyTime_ROUND_CEILING); in select_epoll_poll_impl()
Dsignalmodule.c189 if (_PyTime_FromSecondsObject(&t, obj, _PyTime_ROUND_CEILING) < 0) { in timeval_from_double()
192 return _PyTime_AsTimeval(t, tv, _PyTime_ROUND_CEILING); in timeval_from_double()
1235 timeout_obj, _PyTime_ROUND_CEILING) < 0)
Dtimemodule.c2072 if (_PyTime_AsTimeval(secs, &timeout, _PyTime_ROUND_CEILING) < 0)
2087 millisecs = _PyTime_AsMilliseconds(secs, _PyTime_ROUND_CEILING);
D_threadmodule.c96 microseconds = _PyTime_AsMicroseconds(timeout, _PyTime_ROUND_CEILING); in acquire_timed()
D_ssl.c2256 ms = (int)_PyTime_AsMilliseconds(timeout, _PyTime_ROUND_CEILING); in PySSL_select()
2267 _PyTime_AsTimeval_noraise(timeout, &tv, _PyTime_ROUND_CEILING); in PySSL_select()
Dsocketmodule.c742 ms = _PyTime_AsMilliseconds(interval, _PyTime_ROUND_CEILING); in internal_select()
761 _PyTime_AsTimeval_noraise(interval, &tv, _PyTime_ROUND_CEILING); in internal_select()
D_testcapimodule.c3651 && round != _PyTime_ROUND_CEILING in check_time_rounding()
/third_party/python/Include/cpython/
Dpytime.h26 _PyTime_ROUND_CEILING=1, enumerator
/third_party/python/Python/
Dpytime.c124 else if (round == _PyTime_ROUND_CEILING) { in _PyTime_Round()
499 else if (round == _PyTime_ROUND_CEILING) { in _PyTime_Divide()
Dimport.c1534 (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING), in import_find_and_load()
1535 (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING), in import_find_and_load()