Searched refs:_PyTime_MAX (Results 1 – 4 of 4) sorted by relevance
13 || _PyTime_MAX / (_PyTime_t)(b) < (_PyTime_t)(a))244 Py_BUILD_ASSERT(INT_MAX <= _PyTime_MAX / SEC_TO_NS); in _PyTime_FromSeconds()248 assert((t >= 0 && t <= _PyTime_MAX / SEC_TO_NS) in _PyTime_FromSeconds()303 t = (t > 0) ? _PyTime_MAX : _PyTime_MIN; in pytime_fromtimespec()312 if (t > _PyTime_MAX - nsec) { in pytime_fromtimespec()317 t = _PyTime_MAX; in pytime_fromtimespec()349 t = (t > 0) ? _PyTime_MAX : _PyTime_MIN; in pytime_fromtimeval()358 if (t > _PyTime_MAX - usec) { in pytime_fromtimeval()363 t = _PyTime_MAX; in pytime_fromtimeval()555 if (secs != _PyTime_MAX) { in _PyTime_AsTimeval_impl()[all …]
21 #define _PyTime_MAX PY_LLONG_MAX macro
112 if ((_PyTime_t)CLOCKS_PER_SEC > _PyTime_MAX / SEC_TO_NS) { in _PyTime_GetClockWithInfo()1221 #if LONG_MAX > _PyTime_MAX / SEC_TO_NS in _PyTime_GetProcessTimeWithInfo()1222 if ((_PyTime_t)freq > _PyTime_MAX / SEC_TO_NS) { in _PyTime_GetProcessTimeWithInfo()
1371 time_max = _PyTime_AsSecondsDouble(_PyTime_MAX); in PyInit__thread()