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)
268 t += (_PyTime_t)tv->tv_usec * US_TO_NS; in _PyTime_FromTimeval()
420 usec = (int)_PyTime_Divide(ns, US_TO_NS, round); in _PyTime_AsTimeval_impl()
/external/python/cpython3/Lib/test/
Dtest_time.py27 US_TO_NS = 10 ** 3 variable
695 units = [1, US_TO_NS, MS_TO_NS, SEC_TO_NS]
858 us_converter = self.create_decimal_converter(US_TO_NS)
902 self.create_decimal_converter(US_TO_NS),