Home
last modified time | relevance | path

Searched refs:_PyTime_ROUND_FLOOR (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Include/cpython/
Dpytime.h23 _PyTime_ROUND_FLOOR=0, enumerator
/third_party/python/Python/
Dpytime.c127 else if (round == _PyTime_ROUND_FLOOR) { in _PyTime_Round()
507 else if (round == _PyTime_ROUND_FLOOR){ in _PyTime_Divide()
/third_party/python/Modules/
Dtimemodule.c247 if (_PyTime_FromSecondsObject(&t, obj, _PyTime_ROUND_FLOOR) < 0)
469 if (_PyTime_ObjectToTime_t(ot, &whent, _PyTime_ROUND_FLOOR) == -1)
D_lsprof.c96 err = _PyTime_FromSecondsObject(&result, o, _PyTime_ROUND_FLOOR); in CallExternalTimer()
D_datetimemodule.c2858 if (_PyTime_ObjectToTime_t(obj, &t, _PyTime_ROUND_FLOOR) == -1) in date_fromtimestamp()
5056 if (_PyTime_AsTimevalTime_t(ts, &secs, &us, _PyTime_ROUND_FLOOR) < 0) in datetime_best_possible()
Dposixmodule.c5398 &a_sec, &a_nsec, _PyTime_ROUND_FLOOR) == -1 || in os_utime_impl()
5400 &m_sec, &m_nsec, _PyTime_ROUND_FLOOR) == -1) { in os_utime_impl()
D_testcapimodule.c3650 if (round != _PyTime_ROUND_FLOOR in check_time_rounding()