Home
last modified time | relevance | path

Searched refs:SEC_TO_US (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dpytime.c26 #define SEC_TO_US (SEC_TO_MS * MS_TO_US) macro
240 return _PyTime_ObjectToDenominator(obj, sec, usec, SEC_TO_US, round); in _PyTime_ObjectToTimeval()
551 usec += SEC_TO_US; in _PyTime_AsTimeval_impl()
559 else if (usec >= SEC_TO_US) { in _PyTime_AsTimeval_impl()
560 usec -= SEC_TO_US; in _PyTime_AsTimeval_impl()
568 assert(0 <= usec && usec < SEC_TO_US); in _PyTime_AsTimeval_impl()
/third_party/python/Modules/
Dfaulthandler.c653 #define SEC_TO_US (1000 * 1000) macro
662 sec = (unsigned long)(us / SEC_TO_US); in format_timeout()
663 us %= SEC_TO_US; in format_timeout()
713 if (timeout_us >= PY_TIMEOUT_MAX || timeout_us / SEC_TO_US >= LONG_MAX) { in faulthandler_dump_traceback_later()
/third_party/python/Lib/test/
Dtest_time.py25 SEC_TO_US = 10 ** 6 variable
935 return divmod(us, SEC_TO_US)
1021 self.create_converter(SEC_TO_US),