Searched refs:unit_to_ns (Results 1 – 2 of 2) sorted by relevance
382 long unit_to_ns) in _PyTime_FromDouble() argument389 d *= (double)unit_to_ns; in _PyTime_FromDouble()402 long unit_to_ns) in _PyTime_FromObject() argument411 return _PyTime_FromDouble(t, d, round, unit_to_ns); in _PyTime_FromObject()425 if (_PyTime_check_mul_overflow(sec, unit_to_ns)) { in _PyTime_FromObject()429 *t = sec * unit_to_ns; in _PyTime_FromObject()
815 unit_to_ns = SEC_TO_NS / float(unit_to_sec)816 values = [ns / unit_to_ns for ns in ns_timestamps]818 unit_to_ns = SEC_TO_NS // unit_to_sec819 values = [ns // unit_to_ns for ns in ns_timestamps]