Searched refs:_PyTime_MAX (Results 1 – 4 of 4) sorted by relevance
19 || _PyTime_MAX / (_PyTime_t)(b) < (_PyTime_t)(a))250 Py_BUILD_ASSERT(INT_MAX <= _PyTime_MAX / SEC_TO_NS); in _PyTime_FromSeconds()254 assert((t >= 0 && t <= _PyTime_MAX / SEC_TO_NS) in _PyTime_FromSeconds()309 t = (t > 0) ? _PyTime_MAX : _PyTime_MIN; in pytime_fromtimespec()318 if (t > _PyTime_MAX - nsec) { in pytime_fromtimespec()323 t = _PyTime_MAX; in pytime_fromtimespec()355 t = (t > 0) ? _PyTime_MAX : _PyTime_MIN; in pytime_fromtimeval()364 if (t > _PyTime_MAX - usec) { in pytime_fromtimeval()369 t = _PyTime_MAX; in pytime_fromtimeval()561 if (secs != _PyTime_MAX) { in _PyTime_AsTimeval_impl()[all …]
18 #define _PyTime_MAX INT64_MAX macro
138 if ((_PyTime_t)CLOCKS_PER_SEC > _PyTime_MAX / SEC_TO_NS) { in _PyTime_GetClockWithInfo()1308 #if LONG_MAX > _PyTime_MAX / SEC_TO_NS1309 if ((_PyTime_t)freq > _PyTime_MAX / SEC_TO_NS) {
1645 double time_max = _PyTime_AsSecondsDouble(_PyTime_MAX); in thread_module_exec()