Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt148 private const val MS_TO_NS = 1_000_000L constant
149 private const val MAX_MS = Long.MAX_VALUE / MS_TO_NS
160 else -> timeMillis * MS_TO_NS in delayToNanos()
164 timeNanos / MS_TO_NS in delayNanosToMillis()
/external/python/cpython3/Python/
Dpytime.c30 #define MS_TO_NS (MS_TO_US * US_TO_NS) macro
31 #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
449 return _PyTime_FromObject(t, obj, round, MS_TO_NS); in _PyTime_FromMillisecondsObject()
798 if (_PyTime_check_mul_overflow(t, MS_TO_NS)) { in pymonotonic()
806 *tp = t * MS_TO_NS; in pymonotonic()
/external/python/cpython3/Lib/test/
Dtest_time.py26 MS_TO_NS = 10 ** 6 variable
751 units = [1, US_TO_NS, MS_TO_NS, SEC_TO_NS]
966 self.create_decimal_converter(MS_TO_NS),