Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dsubtract_with_carry_engine.h58 result_type __x_[__r];
137 __x_[__i] = static_cast<result_type>(__e() & _Max); in seed()
138 __c_ = __x_[__r - 1] == 0; in seed()
147 __x_[__i] = static_cast<result_type>((__e0 + ((uint64_t)__e() << 32)) & _Max); in seed()
149 __c_ = __x_[__r - 1] == 0; in seed()
160 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
161 __c_ = __x_[__r - 1] == 0; in __seed()
172__x_[__i] = static_cast<result_type>((__ar[2 * __i] + ((uint64_t)__ar[2 * __i + 1] << 32)) & _Max); in __seed()
173 __c_ = __x_[__r - 1] == 0; in __seed()
179 const result_type& __xs = __x_[(__i_ + (__r - __s)) % __r]; in operator()
[all …]
H A Dmersenne_twister_engine.h143 result_type __x_[__n];
329 __x_[0] = __sd & _Max; in seed()
331 __x_[__i] = (__f * (__x_[__i - 1] ^ __rshift<__w - 2>(__x_[__i - 1])) + __i) & _Max; in seed()
356 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
359 if ((__x_[0] & ~__mask) == 0) { in __seed()
361 if (__x_[__i] != 0) in __seed()
363 __x_[0] = result_type(1) << (__w - 1); in __seed()
388__x_[__i] = static_cast<result_type>((__ar[2 * __i] + ((uint64_t)__ar[2 * __i + 1] << 32)) & _Max); in __seed()
391 if ((__x_[0] & ~__mask) == 0) { in __seed()
393 if (__x_[__i] != 0) in __seed()
[all …]
H A Dlinear_congruential_engine.h240 result_type __x_;
285 return __x_ = static_cast<result_type>(__lce_ta<__a, __c, __m, _Mp>::next(__x_));
294 return __x.__x_ == __y.__x_;
302 …_LIBCPP_HIDE_FROM_ABI void seed(true_type, true_type, result_type __s) { __x_ = __s == 0 ? 1 : __s…
303 _LIBCPP_HIDE_FROM_ABI void seed(true_type, false_type, result_type __s) { __x_ = __s; }
304 …_LIBCPP_HIDE_FROM_ABI void seed(false_type, true_type, result_type __s) { __x_ = __s % __m == 0 ? …
305 _LIBCPP_HIDE_FROM_ABI void seed(false_type, false_type, result_type __s) { __x_ = __s % __m; }
328 __x_ = __c == 0 && __s == 0 ? result_type(1) : __s;
338 __x_ = __c == 0 && __s == 0 ? result_type(1) : __s;
348 return __os << __x.__x_;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/
H A Dsubtract_with_carry_engine.h57 result_type __x_[__r];
143 __x_[__i] = static_cast<result_type>(__e() & _Max); in seed()
144 __c_ = __x_[__r - 1] == 0; in seed()
153 __x_[__i] = static_cast<result_type>((__e0 + ((uint64_t)__e() << 32)) & _Max); in seed()
155 __c_ = __x_[__r - 1] == 0; in seed()
166 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
167 __c_ = __x_[__r - 1] == 0; in __seed()
178__x_[__i] = static_cast<result_type>((__ar[2 * __i] + ((uint64_t)__ar[2 * __i + 1] << 32)) & _Max); in __seed()
179 __c_ = __x_[__r - 1] == 0; in __seed()
185 const result_type& __xs = __x_[(__i_ + (__r - __s)) % __r]; in operator()
[all …]
H A Dmersenne_twister_engine.h142 result_type __x_[__n];
566 __x_[0] = __sd & _Max; in seed()
568 __x_[__i] = (__f * (__x_[__i - 1] ^ __rshift<__w - 2>(__x_[__i - 1])) + __i) & _Max; in seed()
593 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
596 if ((__x_[0] & ~__mask) == 0) { in __seed()
598 if (__x_[__i] != 0) in __seed()
600 __x_[0] = result_type(1) << (__w - 1); in __seed()
625__x_[__i] = static_cast<result_type>((__ar[2 * __i] + ((uint64_t)__ar[2 * __i + 1] << 32)) & _Max); in __seed()
628 if ((__x_[0] & ~__mask) == 0) { in __seed()
630 if (__x_[__i] != 0) in __seed()
[all …]
H A Dlinear_congruential_engine.h236 result_type __x_;
276 return __x_ = static_cast<result_type>(__lce_ta<__a, __c, __m, _Mp>::next(__x_));
285 return __x.__x_ == __y.__x_;
293 …_LIBCPP_HIDE_FROM_ABI void seed(true_type, true_type, result_type __s) { __x_ = __s == 0 ? 1 : __s…
294 _LIBCPP_HIDE_FROM_ABI void seed(true_type, false_type, result_type __s) { __x_ = __s; }
295 …_LIBCPP_HIDE_FROM_ABI void seed(false_type, true_type, result_type __s) { __x_ = __s % __m == 0 ? …
296 _LIBCPP_HIDE_FROM_ABI void seed(false_type, false_type, result_type __s) { __x_ = __s % __m; }
335 __x_ = __c == 0 && __s == 0 ? result_type(1) : __s;
345 __x_ = __c == 0 && __s == 0 ? result_type(1) : __s;
355 return __os << __x.__x_;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Draw_storage_iterator.h41 _OutputIterator __x_;
54 _LIBCPP_HIDE_FROM_ABI explicit raw_storage_iterator(_OutputIterator __x) : __x_(__x) {} in raw_storage_iterator()
57 ::new ((void*)std::addressof(*__x_)) _Tp(__element);
62 ::new ((void*)std::addressof(*__x_)) _Tp(std::move(__element));
67 ++__x_;
72 ++__x_;
76 _LIBCPP_HIDE_FROM_ABI _OutputIterator base() const { return __x_; } in base()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Draw_storage_iterator.h36 _OutputIterator __x_;
45 _LIBCPP_HIDE_FROM_ABI explicit raw_storage_iterator(_OutputIterator __x) : __x_(__x) {} in raw_storage_iterator()
48 ::new ((void*)std::addressof(*__x_)) _Tp(__element);
52 ++__x_;
57 ++__x_;
/freebsd/contrib/llvm-project/libcxx/src/
H A Dlocale.cpp4665 __x_ = __analyze('x', ct); in init()
4738 __x_ = __analyze('x', ct); in init()
4778 for (i = 0; i < __x_.size(); ++i) in __do_date_order()
4779 if (__x_[i] == '%') in __do_date_order()
4782 switch (__x_[i]) { in __do_date_order()
4785 for (++i; i < __x_.size(); ++i) in __do_date_order()
4786 if (__x_[i] == '%') in __do_date_order()
4788 if (i == __x_.size()) in __do_date_order()
4791 switch (__x_[i]) { in __do_date_order()
4793 for (++i; i < __x_.size(); ++i) in __do_date_order()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dtime.h581 string_type __x_; variable
646 _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type& __x() const override { return this->__x_; } in _LIBCPP_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dlocale2024 string_type __x_;
2092 _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type& __x() const override { return this->__x_; }