Searched refs:unit_to_ns (Results 1 – 2 of 2) sorted by relevance
388 long unit_to_ns) in _PyTime_FromDouble() argument395 d *= (double)unit_to_ns; in _PyTime_FromDouble()408 long unit_to_ns) in _PyTime_FromObject() argument417 return _PyTime_FromDouble(t, d, round, unit_to_ns); in _PyTime_FromObject()431 if (_PyTime_check_mul_overflow(sec, unit_to_ns)) { in _PyTime_FromObject()435 *t = sec * unit_to_ns; in _PyTime_FromObject()
806 unit_to_ns = SEC_TO_NS / float(unit_to_sec)807 values = [ns / unit_to_ns for ns in ns_timestamps]809 unit_to_ns = SEC_TO_NS // unit_to_sec810 values = [ns // unit_to_ns for ns in ns_timestamps]