/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | mersenne_twister_engine.h | 31 size_t __w, 123 size_t __w, in max() 148 static_assert(__w <= _Dt, "mersenne_twister_engine invalid parameters"); 149 static_assert(2 <= __w, "mersenne_twister_engine invalid parameters"); 150 static_assert(__r <= __w, "mersenne_twister_engine invalid parameters"); 151 static_assert(__u <= __w, "mersenne_twister_engine invalid parameters"); in seed() 152 static_assert(__s <= __w, "mersenne_twister_engine invalid parameters"); in seed() 153 static_assert(__t <= __w, "mersenne_twister_engine invalid parameters"); 154 static_assert(__l <= __w, "mersenne_twister_engine invalid parameters"); 159 __w [all...] |
H A D | subtract_with_carry_engine.h | 31 template <class _UIntType, size_t __w, size_t __s, size_t __r> 50 template <class _UIntType, size_t __w, size_t __s, size_t __r> 62 static_assert(0 < __w, "subtract_with_carry_engine invalid parameters"); 63 static_assert(__w <= _Dt, "subtract_with_carry_engine invalid parameters"); 70 __w == _Dt ? result_type(~0) : (result_type(1) << __w) - result_type(1); 74 static _LIBCPP_CONSTEXPR const size_t word_size = __w; 93 seed(__sd, integral_constant<unsigned, 1 + (__w - 1) / 32>()); 97 __seed(__q, integral_constant<unsigned, 1 + (__w - 1) / 32>()); in subtract_with_carry_engine() 132 template <class _UIntType, size_t __w, size_ [all...] |
H A D | independent_bits_engine.h | 33 template <class _Engine, size_t __w, class _UIntType> 54 static_assert(0 < __w, "independent_bits_engine invalid parameters"); 55 static_assert(__w <= _Dt, "independent_bits_engine invalid parameters"); 66 static _LIBCPP_CONSTEXPR const size_t __n = __get_n<_Working_result_type, _Rp, __w, __m>::value; 67 static _LIBCPP_CONSTEXPR const size_t __w0 = __w / __n; 68 static _LIBCPP_CONSTEXPR const size_t __n0 = __n - __w % __n; 81 __w == _Dt ? result_type(~0) : (result_type(1) << __w) - result_type(1); 148 template <class _Engine, size_t __w, class _UIntType> 149 inline _UIntType independent_bits_engine<_Engine, __w, _UIntTyp [all...] |
H A D | gamma_distribution.h | 115 const result_type __w = __u * (1 - __u); 116 if (__w != 0) { 117 const result_type __y = std::sqrt(__c / __w) * (__u - result_type(0.5)); 120 const result_type __z = 64 * __w * __w * __w * __v * __v; in operator() 137 const result_type __w = __u * (1 - __u); operator() local
|
H A D | uniform_int_distribution.h | 64 _LIBCPP_HIDE_FROM_ABI __independent_bits_engine(_Engine& __e, size_t __w); 75 __independent_bits_engine<_Engine, _UIntType>::__independent_bits_engine(_Engine& __e, size_t __w) 76 : __e_(__e), __w_(__w) { 221 size_t __w = __dt - std::__countl_zero(__rp) - 1; 222 if ((__rp & (numeric_limits<_UIntType>::max() >> (__dt - __w))) != 0) 223 ++__w; 224 _Eng __e(__g, __w); 79 __independent_bits_engine(_Engine & __e,size_t __w) __independent_bits_engine() argument 247 size_t __w = __dt - std::__countl_zero(__rp) - 1; operator() local
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kthread.h | 100 struct kthread_worker *__w; \ 103 __w = malloc(sizeof(*__w), M_KMALLOC, M_WAITOK | M_ZERO); \ 104 __w->tq = taskqueue_create("lkpi kthread taskq", M_WAITOK, \ 105 taskqueue_thread_enqueue, &__w->tq); \ 106 taskqueue_start_threads(&__w->tq, 1, PWAIT, fmt, ##__VA_ARGS__);\ 107 TASK_INIT(&__task, 0, lkpi_kthread_worker_init_fn, __w); \ 108 taskqueue_enqueue(__w->tq, &__task); \ 109 taskqueue_drain(__w->tq, &__task); \ 110 __w; \
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | u8path.h | 46 std::wstring __w; in u8path() local 47 __w.reserve(__tmp.size()); in u8path() 48 _CVT()(back_inserter(__w), __tmp.data(), __tmp.data() + __tmp.size()); in u8path() 49 return path(__w); in u8path() 70 std::wstring __w; in u8path() local 71 __w.reserve(__tmp.size()); in u8path() 72 _CVT()(back_inserter(__w), __tmp.data(), __tmp.data() + __tmp.size()); in u8path() 73 return path(__w); in u8path()
|
/freebsd/lib/msun/src/ |
H A D | math_private.h | 375 __typeof(a) __s, __w; \ 377 __w = (a) + (b); \ 378 __s = __w - (a); \ 379 (b) = ((a) - (__w - __s)) + ((b) - __s); \ 380 (a) = __w; \ 413 __typeof(a) __w; \ 420 __w = (a) + (b); \ 421 (b) = ((a) - __w) + (b); \ 422 (a) = __w; \ 433 __typeof(a) __w; \ [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | avxintrin.h | 4216 _mm256_set1_pd(double __w) in _mm256_set1_pd() argument 4218 return _mm256_set_pd(__w, __w, __w, __w); in _mm256_set1_pd() 4235 _mm256_set1_ps(float __w) in _mm256_set1_ps() argument 4237 return _mm256_set_ps(__w, __w, __w, __w, __w, __w, __w, __w); in _mm256_set1_ps() 4272 _mm256_set1_epi16(short __w) in _mm256_set1_epi16() argument 4274 return _mm256_set_epi16(__w, __w, __w, __w, __w, __w, __w, __w, in _mm256_set1_epi16() 4275 __w, __w, __w, __w, __w, __w, __w, __w); in _mm256_set1_epi16()
|
H A D | emmintrin.h | 1773 static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_set_sd(double __w) { in _mm_set_sd() argument 1774 return __extension__(__m128d){__w, 0.0}; in _mm_set_sd() 1789 static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_set1_pd(double __w) { in _mm_set1_pd() argument 1790 return __extension__(__m128d){__w, __w}; in _mm_set1_pd() 1805 static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_set_pd1(double __w) { in _mm_set_pd1() argument 1806 return _mm_set1_pd(__w); in _mm_set_pd1() 1823 static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_set_pd(double __w, in _mm_set_pd() argument 1825 return __extension__(__m128d){__x, __w}; in _mm_set_pd() 1843 static __inline__ __m128d __DEFAULT_FN_ATTRS _mm_setr_pd(double __w, in _mm_setr_pd() argument 1845 return __extension__(__m128d){__w, __x}; in _mm_setr_pd() [all …]
|
H A D | xmmintrin.h | 1911 _mm_set_ss(float __w) in _mm_set_ss() argument 1913 return __extension__ (__m128){ __w, 0.0f, 0.0f, 0.0f }; in _mm_set_ss() 1929 _mm_set1_ps(float __w) in _mm_set1_ps() argument 1931 return __extension__ (__m128){ __w, __w, __w, __w }; in _mm_set1_ps() 1948 _mm_set_ps1(float __w) in _mm_set_ps1() argument 1950 return _mm_set1_ps(__w); in _mm_set_ps1() 1975 _mm_set_ps(float __z, float __y, float __x, float __w) in _mm_set_ps() argument 1977 return __extension__ (__m128){ __w, __x, __y, __z }; in _mm_set_ps() 2003 _mm_setr_ps(float __z, float __y, float __x, float __w) in _mm_setr_ps() argument 2005 return __extension__ (__m128){ __z, __y, __x, __w }; in _mm_setr_ps()
|
H A D | mmintrin.h | 1395 _mm_set1_pi16(short __w) in _mm_set1_pi16() argument 1397 return _mm_set_pi16(__w, __w, __w, __w); in _mm_set1_pi16()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | __tree | 347 // __w is __x's possibly null uncle (will become __x's sibling) 348 _NodePtr __w = nullptr; 349 // link __x to __y's parent, and find __w 355 __w = __y->__parent_unsafe()->__right_; 357 __root = __x; // __w == nullptr 361 __w = __y->__parent_->__left_; 365 // but copy __z's color. This does not impact __x or __w. 401 // be null. __w can not be null here, else the parent would 403 // of 1 on the __w side (__w must be a non-null black or a red 406 if (!std::__tree_is_left_child(__w)) // if x is left child [all …]
|
H A D | locale | 1646 …__get_weekday(int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_… 1648 …int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) c… 1658 …int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) c… 1663 __w = __i % 7; 1759 …int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) c… 1762 __w = __t; 2668 for (const char_type* __w = __wb.get(); __w < __wn; ++__w, ++__nc) 2669 *__nc = __src[std::find(__atoms, std::end(__atoms), *__w) - __atoms]; 2695 char_type* __w; 2696 for (__w = __wb.get(); __w < __wn - 1; ++__w) [all …]
|
H A D | complex | 287 operator*(const complex<_Tp>& __z, const complex<_Tp>& __w); 291 operator*(const complex<_Tp>& __z, const complex<_Tp>& __w); 786 operator*(const complex<_Tp>& __z, const complex<_Tp>& __w) { 789 _Tp __c = __w.real(); 790 _Tp __d = __w.imag(); 819 operator/(const complex<_Tp>& __z, const complex<_Tp>& __w) { 822 _Tp __c = __w.real(); 823 _Tp __d = __w.imag();
|
H A D | variant | 1491 …ree_way = []<class _Type>(const _Type& __v, const _Type& __w) -> __result_t { return __v <=> __w; …
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | hash.h | 103 pair<_Size, _Size> __w = __weak_hash_len_32_with_seeds(__s + __len - 32, __y + __k1, __x); 111 __x ^= __w.second; 113 __z = __rotate(__z + __w.first, 33) * __k1; 114 __v = __weak_hash_len_32_with_seeds(__s, __v.second * __k1, __x + __w.first); 115 …__w = __weak_hash_len_32_with_seeds(__s + 32, __z + __w.second, __y + std::__loadword<_Size>(__s +… 120 return __hash_len_16(__hash_len_16(__v.first, __w.first) + __shift_mix(__y) * __k1 + __z, 121 __hash_len_16(__v.second, __w.second) + __x); 191 __weak_hash_len_32_with_seeds(_Size __w, _Size __x, _Size __y, _Size __z, _Size __a, _Size __b) { 192 __a += __w;
|
/freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | wrap_iter.h | 74 __wrap_iter __w(*this); 75 __w += __n; 76 return __w; 237 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __w) _NOEXCEPT { 238 return std::__to_address(__w.base());
|
/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);
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | shared_ptr.h | 1654 atomic_compare_exchange_strong(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w) { 1660 *__p = __w; 1672 atomic_compare_exchange_weak(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w) { 1673 return std::atomic_compare_exchange_strong(__p, __v, __w); 1678 shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w, memory_order, memory_order) { 1679 return std::atomic_compare_exchange_strong(__p, __v, __w); 1684 shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w, memory_order, memory_order) { 1685 return std::atomic_compare_exchange_weak(__p, __v, __w);
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/ |
H A D | mmintrin.h | 1407 _mm_set1_pi16(short __w) { in _mm_set1_pi16() argument 1411 w = (__vector signed short)vec_splats(__w); in _mm_set1_pi16() 1416 __res.as_short[0] = __w; in _mm_set1_pi16() 1417 __res.as_short[1] = __w; in _mm_set1_pi16() 1418 __res.as_short[2] = __w; in _mm_set1_pi16() 1419 __res.as_short[3] = __w; in _mm_set1_pi16()
|