Searched refs:_PyTime_ROUND_FLOOR (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Include/ |
D | pytime.h | 26 _PyTime_ROUND_FLOOR=0, enumerator
|
/external/python/cpython3/Python/ |
D | pytime.c | 121 else if (round == _PyTime_ROUND_FLOOR) { in _PyTime_Round() 501 else if (round == _PyTime_ROUND_FLOOR){ in _PyTime_Divide()
|
/external/python/cpython3/Modules/ |
D | timemodule.c | 253 if (_PyTime_FromSecondsObject(&t, obj, _PyTime_ROUND_FLOOR) < 0) in time_clock_settime() 470 if (_PyTime_ObjectToTime_t(ot, &whent, _PyTime_ROUND_FLOOR) == -1) in parse_time_t_args()
|
D | _datetimemodule.c | 2851 if (_PyTime_ObjectToTime_t(obj, &t, _PyTime_ROUND_FLOOR) == -1) in date_local_from_object() 4827 if (_PyTime_AsTimevalTime_t(ts, &secs, &us, _PyTime_ROUND_FLOOR) < 0) in datetime_best_possible()
|
D | posixmodule.c | 4683 &a_sec, &a_nsec, _PyTime_ROUND_FLOOR) == -1 || in os_utime_impl() 4685 &m_sec, &m_nsec, _PyTime_ROUND_FLOOR) == -1) { in os_utime_impl()
|
D | _testcapimodule.c | 3119 if (round != _PyTime_ROUND_FLOOR in check_time_rounding()
|