Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpytime.c20 #define SEC_TO_US (SEC_TO_MS * MS_TO_US) macro
193 assert(0 <= *usec && *usec < SEC_TO_US); in _PyTime_ObjectToTimeval()
422 usec += SEC_TO_US; in _PyTime_AsTimeval_impl()
428 else if (usec >= SEC_TO_US) { in _PyTime_AsTimeval_impl()
429 usec -= SEC_TO_US; in _PyTime_AsTimeval_impl()
435 assert(0 <= usec && usec < SEC_TO_US); in _PyTime_AsTimeval_impl()
/external/python/cpython3/Lib/test/
Dtest_time.py26 SEC_TO_US = 10 ** 6 variable
862 return divmod(us, SEC_TO_US)
948 self.create_converter(SEC_TO_US),