/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_complex_builtins.h | 90 double __d) { in __muldc3() argument 92 double __bd = __b * __d; in __muldc3() 93 double __ad = __a * __d; in __muldc3() 105 if (_ISNANd(__d)) in __muldc3() 106 __d = _COPYSIGNd(0, __d); in __muldc3() 109 if (_ISINFd(__c) || _ISINFd(__d)) { in __muldc3() 111 __d = _COPYSIGNd(_ISINFd(__d) ? 1 : 0, __d); in __muldc3() 126 if (_ISNANd(__d)) in __muldc3() 127 __d = _COPYSIGNd(0, __d); in __muldc3() 133 __real__(z) = __builtin_huge_val() * (__a * __c - __b * __d); in __muldc3() [all …]
|
H A D | sgxintrin.h | 24 _enclu_u32(unsigned int __leaf, __SIZE_TYPE__ __d[]) in _enclu_u32() argument 28 : "=a" (__result), "=b" (__d[0]), "=c" (__d[1]), "=d" (__d[2]) in _enclu_u32() 29 : "a" (__leaf), "b" (__d[0]), "c" (__d[1]), "d" (__d[2]) in _enclu_u32() 35 _encls_u32(unsigned int __leaf, __SIZE_TYPE__ __d[]) in _encls_u32() argument 39 : "=a" (__result), "=b" (__d[0]), "=c" (__d[1]), "=d" (__d[2]) in _encls_u32() 40 : "a" (__leaf), "b" (__d[0]), "c" (__d[1]), "d" (__d[2]) in _encls_u32() 46 _enclv_u32(unsigned int __leaf, __SIZE_TYPE__ __d[]) in _enclv_u32() argument 50 : "=a" (__result), "=b" (__d[0]), "=c" (__d[1]), "=d" (__d[2]) in _enclv_u32() 51 : "a" (__leaf), "b" (__d[0]), "c" (__d[1]), "d" (__d[2]) in _enclv_u32()
|
H A D | pconfigintrin.h | 26 _pconfig_u32(unsigned int __leaf, __SIZE_TYPE__ __d[]) in _pconfig_u32() argument 30 : "=a" (__result), "=b" (__d[0]), "=c" (__d[1]), "=d" (__d[2]) in _pconfig_u32() 31 : "a" (__leaf), "b" (__d[0]), "c" (__d[1]), "d" (__d[2]) in _pconfig_u32()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | divsc3.c | 20 COMPILER_RT_ABI Fcomplex __divsc3(float __a, float __b, float __c, float __d) { in __divsc3() argument 23 __compiler_rt_logbf(__compiler_rt_fmaxf(crt_fabsf(__c), crt_fabsf(__d))); in __divsc3() 27 __d = __compiler_rt_scalbnf(__d, -__ilogbw); in __divsc3() 29 float __denom = __c * __c + __d * __d; in __divsc3() 32 __compiler_rt_scalbnf((__a * __c + __b * __d) / __denom, -__ilogbw); in __divsc3() 34 __compiler_rt_scalbnf((__b * __c - __a * __d) / __denom, -__ilogbw); in __divsc3() 40 crt_isfinite(__d)) { in __divsc3() 43 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divsc3() 44 COMPLEX_IMAGINARY(z) = CRT_INFINITY * (__b * __c - __a * __d); in __divsc3() 48 __d = crt_copysignf(crt_isinf(__d) ? 1 : 0, __d); in __divsc3() [all …]
|
H A D | divdc3.c | 21 double __d) { in __divdc3() argument 24 crt_fabs(__d))); in __divdc3() 28 __d = __compiler_rt_scalbn(__d, -__ilogbw); in __divdc3() 30 double __denom = __c * __c + __d * __d; in __divdc3() 33 __compiler_rt_scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); in __divdc3() 35 __compiler_rt_scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); in __divdc3() 41 crt_isfinite(__d)) { in __divdc3() 44 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divdc3() 45 COMPLEX_IMAGINARY(z) = CRT_INFINITY * (__b * __c - __a * __d); in __divdc3() 49 __d = crt_copysign(crt_isinf(__d) ? 1.0 : 0.0, __d); in __divdc3() [all …]
|
H A D | divtc3.c | 20 COMPILER_RT_ABI Qcomplex __divtc3(fp_t __a, fp_t __b, fp_t __c, fp_t __d) { in __divtc3() argument 23 __compiler_rt_fmaxtf(crt_fabstf(__c), crt_fabstf(__d))); in __divtc3() 27 __d = __compiler_rt_scalbntf(__d, -__ilogbw); in __divtc3() 29 fp_t __denom = __c * __c + __d * __d; in __divtc3() 32 __compiler_rt_scalbntf((__a * __c + __b * __d) / __denom, -__ilogbw); in __divtc3() 34 __compiler_rt_scalbntf((__b * __c - __a * __d) / __denom, -__ilogbw); in __divtc3() 40 crt_isfinite(__d)) { in __divtc3() 43 COMPLEXTF_REAL(z) = CRT_INFINITY * (__a * __c + __b * __d); in __divtc3() 44 COMPLEXTF_IMAGINARY(z) = CRT_INFINITY * (__b * __c - __a * __d); in __divtc3() 48 __d = crt_copysigntf(crt_isinf(__d) ? (fp_t)1.0 : (fp_t)0.0, __d); in __divtc3() [all …]
|
H A D | muldc3.c | 19 double __d) { in __muldc3() argument 21 double __bd = __b * __d; in __muldc3() 22 double __ad = __a * __d; in __muldc3() 34 if (crt_isnan(__d)) in __muldc3() 35 __d = crt_copysign(0, __d); in __muldc3() 38 if (crt_isinf(__c) || crt_isinf(__d)) { in __muldc3() 40 __d = crt_copysign(crt_isinf(__d) ? 1 : 0, __d); in __muldc3() 55 if (crt_isnan(__d)) in __muldc3() 56 __d = crt_copysign(0, __d); in __muldc3() 60 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __muldc3() [all …]
|
H A D | mulsc3.c | 18 COMPILER_RT_ABI Fcomplex __mulsc3(float __a, float __b, float __c, float __d) { in __mulsc3() argument 20 float __bd = __b * __d; in __mulsc3() 21 float __ad = __a * __d; in __mulsc3() 33 if (crt_isnan(__d)) in __mulsc3() 34 __d = crt_copysignf(0, __d); in __mulsc3() 37 if (crt_isinf(__c) || crt_isinf(__d)) { in __mulsc3() 39 __d = crt_copysignf(crt_isinf(__d) ? 1 : 0, __d); in __mulsc3() 54 if (crt_isnan(__d)) in __mulsc3() 55 __d = crt_copysignf(0, __d); in __mulsc3() 59 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __mulsc3() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__atomic/ |
H A D | atomic.h | 47 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic(_Tp __d) _NOEXCEPT : __base(__d) {} in atomic() 49 _LIBCPP_HIDE_FROM_ABI _Tp operator=(_Tp __d) volatile _NOEXCEPT { 50 __base::store(__d); 51 return __d; 53 _LIBCPP_HIDE_FROM_ABI _Tp operator=(_Tp __d) _NOEXCEPT { 54 __base::store(__d); 55 return __d; 72 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR atomic(_Tp* __d) _NOEXCEPT : __base(__d) {} 74 _LIBCPP_HIDE_FROM_ABI _Tp* operator=(_Tp* __d) volatile _NOEXCEPT { 75 __base::store(__d); [all …]
|
H A D | atomic_base.h | 45 …_LIBCPP_HIDE_FROM_ABI void store(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOEXC… 47 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER() 49 _LIBCPP_HIDE_FROM_ABI void store(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT 51 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER() 63 …_LIBCPP_HIDE_FROM_ABI _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOE… 64 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m); 66 _LIBCPP_HIDE_FROM_ABI _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT { 67 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m); 70 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak() 72 …return std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s… in compare_exchange_weak() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | shuffle.h | 100 difference_type __d = __last - __first; in random_shuffle() 101 if (__d > 1) { in random_shuffle() 104 for (--__last, (void)--__d; __first < __last; ++__first, (void)--__d) { in random_shuffle() 105 difference_type __i = __uid(__g, _Pp(0, __d)); in random_shuffle() 123 difference_type __d = __last - __first; in random_shuffle() 124 if (__d > 1) { in random_shuffle() 125 for (--__last; __first < __last; ++__first, (void)--__d) { in random_shuffle() 126 difference_type __i = __rand(__d); in random_shuffle() local 143 difference_type __d in __shuffle() 102 difference_type __d = __last - __first; random_shuffle() local 148 difference_type __d = __last - __first; __shuffle() local [all...] |
H A D | stable_sort.h | 47 __destruct_n __d(0); in __insertion_sort_move() 48 unique_ptr<value_type, __destruct_n&> __h(__first2, __d); in __insertion_sort_move() 51 __d.template __incr<value_type>(); in __insertion_sort_move() 57 __d.template __incr<value_type>(); in __insertion_sort_move() 63 __d.template __incr<value_type>(); in __insertion_sort_move() 81 __destruct_n __d(0); in __merge_move_construct() 82 unique_ptr<value_type, __destruct_n&> __h(__result, __d); in __merge_move_construct() 85 for (; __first2 != __last2; ++__first2, (void)++__result, __d.template __incr<value_type>()) in __merge_move_construct() 91 for (; __first1 != __last1; ++__first1, (void)++__result, __d.template __incr<value_type>()) in __merge_move_construct() 98 __d.template __incr<value_type>(); in __merge_move_construct() [all …]
|
H A D | stable_partition.h | 58 __destruct_n __d(0); in __stable_partition_impl() 59 unique_ptr<value_type, __destruct_n&> __h(__p.first, __d); in __stable_partition_impl() 64 __d.template __incr<value_type>(); in __stable_partition_impl() 73 __d.template __incr<value_type>(); in __stable_partition_impl() 178 __destruct_n __d(0); in __stable_partition_impl() 179 unique_ptr<value_type, __destruct_n&> __h(__p.first, __d); in __stable_partition_impl() 184 __d.template __incr<value_type>(); in __stable_partition_impl() 193 __d.template __incr<value_type>(); in __stable_partition_impl()
|
H A D | shift_right.h | 40 decltype(__n) __d = __last - __first; in shift_right() 41 if (__n >= __d) { in shift_right() 44 _ForwardIterator __m = __first + (__d - __n); in shift_right()
|
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/ |
H A D | condition_variable.h | 74 wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Period>& __d); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 78 wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Period>& __d, _Predicate __pred); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 97 …CPP_HIDE_FROM_ABI chrono::nanoseconds __safe_nanosecond_cast(chrono::duration<_Rep, _Period> __d) { in __safe_nanosecond_cast() argument 101 _Rep __result_float = __d.count() * __ratio::num / __ratio::den; in __safe_nanosecond_cast() 117 …CPP_HIDE_FROM_ABI chrono::nanoseconds __safe_nanosecond_cast(chrono::duration<_Rep, _Period> __d) { in __safe_nanosecond_cast() argument 119 if (__d.count() == 0) { in __safe_nanosecond_cast() 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() 176 …ondition_variable::wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Period>& __d) { in wait_for() argument [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | mersenne_twister_engine.h | 37 _UIntType __d, 129 _UIntType __d, in mersenne_twister_engine() 164 static_assert(__d <= _Max, "mersenne_twister_engine invalid parameters"); 174 static _LIBCPP_CONSTEXPR const result_type tempering_d = __d; 319 _UIntType __d, 327 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::word_size; 336 _UIntType __d, in seed() 344 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::state_size; 353 _UIntType __d, in __seed() 361 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __ in __seed() [all...] |
/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | hh_mm_ss.h | 42 _LIBCPP_HIDE_FROM_ABI static constexpr unsigned __width(uint64_t __n, uint64_t __d = 10, unsigned __w = 0) { in __pow10() 43 if (__n >= 2 && __d != 0 && __w < 19) in __pow10() 44 return 1 + __width(__n, __d % __n * 10, __w + 1); 55 _LIBCPP_HIDE_FROM_ABI constexpr explicit hh_mm_ss(_Duration __d) noexcept 56 : __is_neg_(__d < _Duration(0)), 57 __h_(chrono::duration_cast<chrono::hours>(chrono::abs(__d))), in hh_mm_ss() 58 __m_(chrono::duration_cast<chrono::minutes>(chrono::abs(__d) - hours())), 59 __s_(chrono::duration_cast<chrono::seconds>(chrono::abs(__d) - hours() - minutes())), in hh_mm_ss() argument 60 __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {} in hh_mm_ss()
|
H A D | time_point.h | 49 …HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit time_point(const duration& __d) : __d_(__d) {} in time_point() argument 62 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator+=(const duration& __d) { 63 __d_ += __d; 66 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator-=(const duration& __d) { 67 __d_ -= __d; 110 inline _LIBCPP_HIDE_FROM_ABI constexpr duration<_Rep, _Period> abs(duration<_Rep, _Period> __d) { 111 return __d >= __d.zero() ? +__d : -__d;
|
H A D | duration.h | 128 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration floor(const duration<_Rep, _Period>& __d… 129 _ToDuration __t = chrono::duration_cast<_ToDuration>(__d); 130 if (__t > __d) 136 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration ceil(const duration<_Rep, _Period>& __d)… 137 _ToDuration __t = chrono::duration_cast<_ToDuration>(__d); 138 if (__t < __d) 144 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration round(const duration<_Rep, _Period>& __d… 145 _ToDuration __lower = chrono::floor<_ToDuration>(__d); 147 auto __lower_diff = __d - __lower; 148 auto __upper_diff = __upper - __d; [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | this_thread.h | 35 _LIBCPP_HIDE_FROM_ABI void sleep_for(const chrono::duration<_Rep, _Period>& __d) { in sleep_for() argument 36 if (__d > chrono::duration<_Rep, _Period>::zero()) { in sleep_for() 42 if (__d < __max) { in sleep_for() 43 __ns = chrono::duration_cast<chrono::nanoseconds>(__d); in sleep_for() 44 if (__ns < __d) in sleep_for()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | __split_buffer | 467 difference_type __d = __end_cap() - __end_; 468 __d = (__d + 1) / 2; 469 __begin_ = std::move_backward(__begin_, __end_, __end_ + __d); 470 __end_ += __d; 489 difference_type __d = __end_cap() - __end_; 490 __d = (__d + 1) / 2; 491 __begin_ = std::move_backward(__begin_, __end_, __end_ + __d); 492 __end_ += __d; 512 difference_type __d = __begin_ - __first_; 513 __d = (__d + 1) / 2; [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/experimental/ |
H A D | iterator | 85 _LIBCPP_HIDE_FROM_ABI ostream_joiner(ostream_type& __os, _Delim&& __d) 86 : __output_iter_(std::addressof(__os)), __delim_(std::move(__d)), __first_(true) {} 88 _LIBCPP_HIDE_FROM_ABI ostream_joiner(ostream_type& __os, const _Delim& __d) 89 : __output_iter_(std::addressof(__os)), __delim_(__d), __first_(true) {} 112 make_ostream_joiner(basic_ostream<_CharT, _Traits>& __os, _Delim&& __d) { 113 return ostream_joiner<__decay_t<_Delim>, _CharT, _Traits>(__os, std::forward<_Delim>(__d));
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | math.h | 53 __typeof(divisor) __d = (divisor); \ 54 unsigned long long __ret = (x) + (__d) / 2; \ 55 __ret /= __d; \
|
/freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
H A D | unique_lock.h | 60 …CARD _LIBCPP_HIDE_FROM_ABI unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d) in unique_lock() argument 61 : __m_(std::addressof(__m)), __owns_(__m.try_lock_for(__d)) {} in unique_lock() 93 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d); 140 bool unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) { in try_lock_for() argument 145 __owns_ = __m_->try_lock_for(__d); in try_lock_for()
|
/freebsd/contrib/llvm-project/libcxx/src/include/ryu/ |
H A D | d2fixed.h | 53 …_result __d2fixed_buffered_n(char* _First, char* const _Last, const double __d, const uint32_t __p… 54 [[nodiscard]] to_chars_result __d2exp_buffered_n(char* _First, char* const _Last, const double __d,…
|