Lines Matching defs:result_type
44 typedef _UIntType result_type;
49 static _LIBCPP_CONSTEXPR const result_type _Dt = numeric_limits<result_type>::digits;
53 typedef typename _Engine::result_type _Engine_result_type;
54 typedef __conditional_t<sizeof(_Engine_result_type) <= sizeof(result_type), result_type, _Engine_result_type>
80 static _LIBCPP_CONSTEXPR const result_type _Min = 0;
81 static _LIBCPP_CONSTEXPR const result_type _Max = __w == _Dt ? result_type(~0) :
82 (result_type(1) << __w) - result_type(1);
87 static _LIBCPP_CONSTEXPR result_type min() { return _Min; }
89 static _LIBCPP_CONSTEXPR result_type max() { return _Max; }
103 explicit independent_bits_engine(result_type __sd) : __e_(__sd) {}
113 void seed(result_type __sd) {__e_.seed(__sd);}
125 result_type operator()() {return __eval(integral_constant<bool, _Rp != 0>());}
163 result_type __eval(false_type);
164 result_type __eval(true_type);
172 result_type
174 __lshift(result_type __x) {return __x << __count;}
182 result_type
184 __lshift(result_type) {return result_type(0);}
192 return static_cast<result_type>(__e_() & __mask0);
199 result_type _Sp = 0;
207 _Sp = static_cast<result_type>(__lshift<__w0>(_Sp) + (__u & __mask0));
216 _Sp = static_cast<result_type>(__lshift<__w0+1>(_Sp) + (__u & __mask1));