Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h99 using __ratio = ratio_divide<_Period, nano>; in __safe_nanosecond_cast() local
101 _Rep __result_float = __d.count() * __ratio::num / __ratio::den; in __safe_nanosecond_cast()
123 using __ratio = ratio_divide<_Period, nano>; in __safe_nanosecond_cast() local
126 if (__d.count() > 0 && __d.count() > __result_max / __ratio::num) { in __safe_nanosecond_cast()
131 if (__d.count() < 0 && __d.count() < __result_min / __ratio::num) { in __safe_nanosecond_cast()
135 __ns_rep __result = __d.count() * __ratio::num / __ratio::den; in __safe_nanosecond_cast()