Home
last modified time | relevance | path

Searched refs:__d (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_complex_builtins.h90 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 Dsgxintrin.h24 _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 Dpconfigintrin.h26 _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()
H A Daltivec.h7965 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm() local
7967 __d = vec_xor(__c, __d); in vec_perm()
7969 (vector int)__a, __d); in vec_perm()
7980 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm() local
7982 __d = vec_xor(__c, __d); in vec_perm()
7984 (vector int)__b, (vector int)__a, __d); in vec_perm()
7994 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm() local
7996 __d = vec_xor(__c, __d); in vec_perm()
7998 (vector int)__a, __d); in vec_perm()
8009 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Ddivdc3.c21 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 Ddivsc3.c20 COMPILER_RT_ABI Fcomplex __divsc3(float __a, float __b, float __c, float __d) { in __divsc3() argument
23 __compiler_rt_logbf(__compiler_rt_fmaxX(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 Ddivtc3.c20 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 Dmuldc3.c19 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 Dmulsc3.c18 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 Datomic.h56 …_LIBCPP_HIDE_FROM_ABI void store(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOEXC…
58 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER()
60 _LIBCPP_HIDE_FROM_ABI void store(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT
62 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER()
74 …_LIBCPP_HIDE_FROM_ABI _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOE…
75 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m);
77 _LIBCPP_HIDE_FROM_ABI _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT {
78 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m);
81 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak()
83 …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/__cxx03/__atomic/
H A Datomic.h43 _LIBCPP_HIDE_FROM_ABI atomic(_Tp __d) _NOEXCEPT : __base(__d) {} in atomic()
45 _LIBCPP_HIDE_FROM_ABI _Tp operator=(_Tp __d) volatile _NOEXCEPT {
46 __base::store(__d);
47 return __d;
49 _LIBCPP_HIDE_FROM_ABI _Tp operator=(_Tp __d) _NOEXCEPT {
50 __base::store(__d);
51 return __d;
68 _LIBCPP_HIDE_FROM_ABI atomic(_Tp* __d) _NOEXCEPT : __base(__d) {}
70 _LIBCPP_HIDE_FROM_ABI _Tp* operator=(_Tp* __d) volatile _NOEXCEPT {
71 __base::store(__d);
[all …]
H A Datomic_base.h41 …_LIBCPP_HIDE_FROM_ABI void store(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOEXC…
43 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER()
45 _LIBCPP_HIDE_FROM_ABI void store(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT
47 std::__cxx_atomic_store(std::addressof(__a_), __d, __m); in _LIBCPP_CHECK_STORE_MEMORY_ORDER()
59 …_LIBCPP_HIDE_FROM_ABI _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOE…
60 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m);
62 _LIBCPP_HIDE_FROM_ABI _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT {
63 return std::__cxx_atomic_exchange(std::addressof(__a_), __d, __m);
66 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak()
68 …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/__cxx03/__algorithm/
H A Dshuffle.h98 difference_type __d = __last - __first; in random_shuffle() local
99 if (__d > 1) { in random_shuffle()
102 for (--__last, (void)--__d; __first < __last; ++__first, (void)--__d) { in random_shuffle()
103 difference_type __i = __uid(__g, _Pp(0, __d)); in random_shuffle()
114 difference_type __d = __last - __first; in random_shuffle() local
115 if (__d > 1) { in random_shuffle()
116 for (--__last; __first < __last; ++__first, (void)--__d) { in random_shuffle()
117 difference_type __i = __rand(__d); in random_shuffle()
133 difference_type __d = __last - __first; in __shuffle() local
134 if (__d > 1) { in __shuffle()
[all …]
H A Dstable_sort.h47 __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 …]
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dshuffle.h100 difference_type __d = __last - __first; in random_shuffle() local
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() local
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()
143 difference_type __d = __last - __first; in __shuffle() local
144 if (__d > 1) { in __shuffle()
[all …]
H A Dstable_sort.h53 __destruct_n __d(0); in __insertion_sort_move()
54 unique_ptr<value_type, __destruct_n&> __h(__first2, __d); in __insertion_sort_move()
57 __d.template __incr<value_type>(); in __insertion_sort_move()
63 __d.template __incr<value_type>(); in __insertion_sort_move()
69 __d.template __incr<value_type>(); in __insertion_sort_move()
87 __destruct_n __d(0); in __merge_move_construct()
88 unique_ptr<value_type, __destruct_n&> __h(__result, __d); in __merge_move_construct()
91 for (; __first2 != __last2; ++__first2, (void)++__result, __d.template __incr<value_type>()) in __merge_move_construct()
97 for (; __first1 != __last1; ++__first1, (void)++__result, __d.template __incr<value_type>()) in __merge_move_construct()
104 __d.template __incr<value_type>(); in __merge_move_construct()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h43 …CPP_HIDE_FROM_ABI chrono::nanoseconds __safe_nanosecond_cast(chrono::duration<_Rep, _Period> __d) { in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
47 _Rep __result_float = __d.count() * __ratio::num / __ratio::den; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
63 …CPP_HIDE_FROM_ABI chrono::nanoseconds __safe_nanosecond_cast(chrono::duration<_Rep, _Period> __d) { in __safe_nanosecond_cast() argument
65 if (__d.count() == 0) { in __safe_nanosecond_cast()
72 if (__d.count() > 0 && __d.count() > __result_max / __ratio::num) { in __safe_nanosecond_cast()
77 if (__d.count() < 0 && __d.count() < __result_min / __ratio::num) { in __safe_nanosecond_cast()
81 __ns_rep __result = __d.count() * __ratio::num / __ratio::den; in __safe_nanosecond_cast()
142 …FROM_ABI cv_status wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Period>& __d) { in wait_for() argument
144 if (__d <= __d.zero()) in wait_for()
157 __ns_rep __d_ns_count = std::__safe_nanosecond_cast(__d).count(); in wait_for()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__condition_variable/
H A Dcondition_variable.h74 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/__cxx03/__random/
H A Dmersenne_twister_engine.h37 _UIntType __d,
129 _UIntType __d,
163 static_assert(__d <= _Max, "mersenne_twister_engine invalid parameters");
173 static const result_type tempering_d = __d;
313 _UIntType __d,
321 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
330 _UIntType __d,
338 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
347 _UIntType __d,
355 …mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dhh_mm_ss.h42 …_LIBCPP_HIDE_FROM_ABI static constexpr unsigned __width(uint64_t __n, uint64_t __d = 10, unsigned …
43 if (__n >= 2 && __d != 0 && __w < 19)
44 return 1 + __width(__n, __d % __n * 10, __w + 1);
55 _LIBCPP_HIDE_FROM_ABI constexpr explicit hh_mm_ss(_Duration __d) noexcept in hh_mm_ss() argument
56 : __is_neg_(__d < _Duration(0)), in hh_mm_ss()
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())), in hh_mm_ss()
59 __s_(chrono::duration_cast<chrono::seconds>(chrono::abs(__d) - hours() - minutes())), in hh_mm_ss()
60 … __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {} in hh_mm_ss()
H A Dtime_point.h48 …HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit time_point(const duration& __d) : __d_(__d) {} in time_point() argument
74 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator+=(const duration& __d) {
75 __d_ += __d;
78 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator-=(const duration& __d) {
79 __d_ -= __d;
121 inline _LIBCPP_HIDE_FROM_ABI constexpr duration<_Rep, _Period> abs(duration<_Rep, _Period> __d) {
122 return __d >= __d.zero() ? +__d : -__d;
H A Dduration.h127 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration floor(const duration<_Rep, _Period>& __d
128 _ToDuration __t = chrono::duration_cast<_ToDuration>(__d);
129 if (__t > __d)
135 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration ceil(const duration<_Rep, _Period>& __d)…
136 _ToDuration __t = chrono::duration_cast<_ToDuration>(__d);
137 if (__t < __d)
143 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _ToDuration round(const duration<_Rep, _Period>& __d
144 _ToDuration __lower = chrono::floor<_ToDuration>(__d);
146 auto __lower_diff = __d - __lower;
147 auto __upper_diff = __upper - __d;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h38 _LIBCPP_HIDE_FROM_ABI void sleep_for(const chrono::duration<_Rep, _Period>& __d) { in sleep_for() argument
39 if (__d > chrono::duration<_Rep, _Period>::zero()) { in sleep_for()
45 if (__d < __max) { in sleep_for()
46 __ns = chrono::duration_cast<chrono::nanoseconds>(__d); in sleep_for()
47 if (__ns < __d) in sleep_for()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__thread/
H A Dthis_thread.h35 _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/__cxx03/
H A D__split_buffer428 difference_type __d = __end_cap() - __end_;
429 __d = (__d + 1) / 2;
430 __begin_ = std::move_backward(__begin_, __end_, __end_ + __d);
431 __end_ += __d;
450 difference_type __d = __end_cap() - __end_;
451 __d = (__d + 1) / 2;
452 __begin_ = std::move_backward(__begin_, __end_, __end_ + __d);
453 __end_ += __d;
472 difference_type __d = __begin_ - __first_;
473 __d = (__d + 1) / 2;
[all …]

1234