Home
last modified time | relevance | path

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

/third_party/python/Python/
Dpytime.c29 #define US_TO_NS 1000 macro
30 #define MS_TO_NS (MS_TO_US * US_TO_NS)
361 usec = (_PyTime_t)tv->tv_usec * US_TO_NS; in pytime_fromtimeval()
549 usec = (int)_PyTime_Divide(ns, US_TO_NS, round); in _PyTime_AsTimeval_impl()
/third_party/python/Lib/test/
Dtest_time.py26 US_TO_NS = 10 ** 3 variable
753 units = [1, US_TO_NS, MS_TO_NS, SEC_TO_NS]
931 us_converter = self.create_decimal_converter(US_TO_NS)
975 self.create_decimal_converter(US_TO_NS),