Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpytime.c23 #define US_TO_NS 1000 macro
24 #define MS_TO_NS (MS_TO_US * US_TO_NS)
355 usec = (_PyTime_t)tv->tv_usec * US_TO_NS; in pytime_fromtimeval()
543 usec = (int)_PyTime_Divide(ns, US_TO_NS, round); in _PyTime_AsTimeval_impl()
/external/python/cpython3/Lib/test/
Dtest_time.py25 US_TO_NS = 10 ** 3 variable
762 units = [1, US_TO_NS, MS_TO_NS, SEC_TO_NS]
940 us_converter = self.create_decimal_converter(US_TO_NS)
984 self.create_decimal_converter(US_TO_NS),