| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | random | 453 class param_type 458 explicit param_type(IntType a = 0, 464 friend bool operator==(const param_type& x, const param_type& y); 465 friend bool operator!=(const param_type& x, const param_type& y); 474 explicit uniform_int_distribution(const param_type& parm); 479 template<class URNG> result_type operator()(URNG& g, const param_type& parm); 485 param_type param() const; 486 void param(const param_type& parm); 516 class param_type 521 explicit param_type(RealType a = 0, [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/__random/ |
| H A D | bernoulli_distribution.h | 32 class _LIBCPP_TEMPLATE_VIS param_type 39 explicit param_type(double __p = 0.5) : __p_(__p) {} in __p_() 45 bool operator==(const param_type& __x, const param_type& __y) 48 bool operator!=(const param_type& __x, const param_type& __y) 53 param_type __p_; 61 explicit bernoulli_distribution(double __p) : __p_(param_type(__p)) {} in bernoulli_distribution() 64 explicit bernoulli_distribution(double __p = 0.5) : __p_(param_type(__p)) {} 67 explicit bernoulli_distribution(const param_type& __p) : __p_(__p) {} in bernoulli_distribution() 76 …e<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_type& __p); 83 param_type param() const {return __p_;} in param() [all …]
|
| H A D | lognormal_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __m = 0, result_type __s = 1) 52 bool operator==(const param_type& __x, const param_type& __y) 55 bool operator!=(const param_type& __x, const param_type& __y) 73 param_type __p_; 82 : __p_(param_type(__m, __s)) {} in __p_() 87 : __p_(param_type(__m, __s)) {} 90 explicit lognormal_distribution(const param_type& __p) in lognormal_distribution() 102 result_type operator()(_URNG& __g, const param_type& __p) in operator() 112 param_type param() const {return __p_;} in param() [all …]
|
| H A D | chi_squared_distribution.h | 33 class _LIBCPP_TEMPLATE_VIS param_type 40 explicit param_type(result_type __n = 1) : __n_(__n) {} in __n_() 46 bool operator==(const param_type& __x, const param_type& __y) 49 bool operator!=(const param_type& __x, const param_type& __y) 54 param_type __p_; 63 : __p_(param_type(__n)) {} in chi_squared_distribution() 67 : __p_(param_type(__n)) {} 70 explicit chi_squared_distribution(const param_type& __p) in chi_squared_distribution() 82 result_type operator()(_URNG& __g, const param_type& __p) in operator() 90 param_type param() const {return __p_;} in param() [all …]
|
| H A D | exponential_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __lambda = 1) : __lambda_(__lambda) {} in __lambda_() 49 bool operator==(const param_type& __x, const param_type& __y) 52 bool operator!=(const param_type& __x, const param_type& __y) 57 param_type __p_; 66 : __p_(param_type(__lambda)) {} in exponential_distribution() 70 : __p_(param_type(__lambda)) {} 73 explicit exponential_distribution(const param_type& __p) : __p_(__p) {} in exponential_distribution() 82 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 89 param_type param() const {return __p_;} in param() [all …]
|
| H A D | student_t_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __n = 1) : __n_(__n) {} in __n_() 49 bool operator==(const param_type& __x, const param_type& __y) 52 bool operator!=(const param_type& __x, const param_type& __y) 57 param_type __p_; 67 : __p_(param_type(__n)) {} in student_t_distribution() 71 : __p_(param_type(__n)) {} 74 explicit student_t_distribution(const param_type& __p) in student_t_distribution() 84 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 91 param_type param() const {return __p_;} in param() [all …]
|
| H A D | extreme_value_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __a = 0, result_type __b = 1) 52 bool operator==(const param_type& __x, const param_type& __y) 55 bool operator!=(const param_type& __x, const param_type& __y) 60 param_type __p_; 69 : __p_(param_type(__a, __b)) {} in __p_() 74 : __p_(param_type(__a, __b)) {} 77 explicit extreme_value_distribution(const param_type& __p) in extreme_value_distribution() 87 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 96 param_type param() const {return __p_;} in param() [all …]
|
| H A D | uniform_real_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __a = 0, 53 bool operator==(const param_type& __x, const param_type& __y) 56 bool operator!=(const param_type& __x, const param_type& __y) 61 param_type __p_; 69 : __p_(param_type(__a, __b)) {} in __p_() 73 : __p_(param_type(__a, __b)) {} 76 explicit uniform_real_distribution(const param_type& __p) : __p_(__p) {} in uniform_real_distribution() 85 …e<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_type& __p); 94 param_type param() const {return __p_;} in param() [all …]
|
| H A D | fisher_f_distribution.h | 34 class _LIBCPP_TEMPLATE_VIS param_type 42 explicit param_type(result_type __m = 1, result_type __n = 1) 51 bool operator==(const param_type& __x, const param_type& __y) 54 bool operator!=(const param_type& __x, const param_type& __y) 59 param_type __p_; 68 : __p_(param_type(__m, __n)) {} in __p_() 72 : __p_(param_type(__m, __n)) {} 75 explicit fisher_f_distribution(const param_type& __p) in fisher_f_distribution() 85 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 94 param_type param() const {return __p_;} in param() [all …]
|
| H A D | cauchy_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __a = 0, result_type __b = 1) 52 bool operator==(const param_type& __x, const param_type& __y) 55 bool operator!=(const param_type& __x, const param_type& __y) 60 param_type __p_; 69 : __p_(param_type(__a, __b)) {} in __p_() 73 : __p_(param_type(__a, __b)) {} 76 explicit cauchy_distribution(const param_type& __p) in cauchy_distribution() 86 …e<class _URNG> _LIBCPP_INLINE_VISIBILITY result_type operator()(_URNG& __g, const param_type& __p); 95 param_type param() const {return __p_;} in param() [all …]
|
| H A D | weibull_distribution.h | 34 class _LIBCPP_TEMPLATE_VIS param_type 42 explicit param_type(result_type __a = 1, result_type __b = 1) 51 bool operator==(const param_type& __x, const param_type& __y) 54 bool operator!=(const param_type& __x, const param_type& __y) 59 param_type __p_; 68 : __p_(param_type(__a, __b)) {} in __p_() 72 : __p_(param_type(__a, __b)) {} 75 explicit weibull_distribution(const param_type& __p) in weibull_distribution() 87 result_type operator()(_URNG& __g, const param_type& __p) in operator() 98 param_type param() const {return __p_;} in param() [all …]
|
| H A D | piecewise_constant_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type 44 param_type(); 46 param_type(_InputIteratorB __f_b, _InputIteratorB __l_b, 50 param_type(initializer_list<result_type> __bl, _UnaryOperation __fw); 53 param_type(size_t __nw, result_type __xmin, result_type __xmax, 55 param_type(param_type const&) = default; 56 param_type & operator=(const param_type& __rhs); 64 bool operator==(const param_type& __x, const param_type& __y) 67 bool operator!=(const param_type& __x, const param_type& __y) 89 param_type __p_; [all …]
|
| H A D | binomial_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type 45 explicit param_type(result_type __t = 1, double __p = 0.5); 53 bool operator==(const param_type& __x, const param_type& __y) 56 bool operator!=(const param_type& __x, const param_type& __y) 63 param_type __p_; 72 : __p_(param_type(__t, __p)) {} in __p_() 76 : __p_(param_type(__t, __p)) {} 79 explicit binomial_distribution(const param_type& __p) : __p_(__p) {} in binomial_distribution() 88 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 97 param_type param() const {return __p_;} in param() [all …]
|
| H A D | geometric_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type 42 explicit param_type(double __p = 0.5) : __p_(__p) {} in __p_() 48 bool operator==(const param_type& __x, const param_type& __y) 51 bool operator!=(const param_type& __x, const param_type& __y) 56 param_type __p_; 72 explicit geometric_distribution(const param_type& __p) : __p_(__p) {} in geometric_distribution() 83 result_type operator()(_URNG& __g, const param_type& __p) in operator() 91 param_type param() const {return __p_;} in param() 93 void param(const param_type& __p) {__p_ = __p;} in param() 128 typedef typename _Eng::param_type param_type; typedef [all …]
|
| H A D | piecewise_linear_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type 44 param_type(); 46 param_type(_InputIteratorB __f_b, _InputIteratorB __l_b, 50 param_type(initializer_list<result_type> __bl, _UnaryOperation __fw); 53 param_type(size_t __nw, result_type __xmin, result_type __xmax, 55 param_type(param_type const&) = default; 56 param_type & operator=(const param_type& __rhs); 64 bool operator==(const param_type& __x, const param_type& __y) 67 bool operator!=(const param_type& __x, const param_type& __y) 89 param_type __p_; [all …]
|
| H A D | negative_binomial_distribution.h | 37 class _LIBCPP_TEMPLATE_VIS param_type 45 explicit param_type(result_type __k = 1, double __p = 0.5) 54 bool operator==(const param_type& __x, const param_type& __y) 57 bool operator!=(const param_type& __x, const param_type& __y) 62 param_type __p_; 79 explicit negative_binomial_distribution(const param_type& __p) : __p_(__p) {} in negative_binomial_distribution() 88 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 97 param_type param() const {return __p_;} in param() 99 void param(const param_type& __p) {__p_ = __p;} in param() 119 negative_binomial_distribution<_IntType>::operator()(_URNG& __urng, const param_type& __pr) in operator() [all …]
|
| H A D | normal_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type 43 explicit param_type(result_type __mean = 0, result_type __stddev = 1) 52 bool operator==(const param_type& __x, const param_type& __y) 55 bool operator!=(const param_type& __x, const param_type& __y) 60 param_type __p_; 71 : __p_(param_type(__mean, __stddev)), __v_hot_(false) {} in __p_() 76 : __p_(param_type(__mean, __stddev)), __v_hot_(false) {} 79 explicit normal_distribution(const param_type& __p) in normal_distribution() 89 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 98 param_type param() const {return __p_;} in param() [all …]
|
| H A D | gamma_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type 44 explicit param_type(result_type __alpha = 1, result_type __beta = 1) 53 bool operator==(const param_type& __x, const param_type& __y) 56 bool operator!=(const param_type& __x, const param_type& __y) 61 param_type __p_; 70 : __p_(param_type(__alpha, __beta)) {} in __p_() 75 : __p_(param_type(__alpha, __beta)) {} 78 explicit gamma_distribution(const param_type& __p) in gamma_distribution() 88 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 97 param_type param() const {return __p_;} in param() [all …]
|
| H A D | discrete_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type 45 param_type() {} in param_type() function 48 param_type(_InputIterator __f, _InputIterator __l) in param_type() function 52 param_type(initializer_list<double> __wl) in param_type() function 56 param_type(size_t __nw, double __xmin, double __xmax, 62 bool operator==(const param_type& __x, const param_type& __y) 65 bool operator!=(const param_type& __x, const param_type& __y) 87 param_type __p_; 108 explicit discrete_distribution(const param_type& __p) in discrete_distribution() 118 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); [all …]
|
| H A D | poisson_distribution.h | 39 class _LIBCPP_TEMPLATE_VIS param_type 55 explicit param_type(double __mean = 1.0); 61 bool operator==(const param_type& __x, const param_type& __y) 64 bool operator!=(const param_type& __x, const param_type& __y) 71 param_type __p_; 87 explicit poisson_distribution(const param_type& __p) : __p_(__p) {} in poisson_distribution() 96 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 103 param_type param() const {return __p_;} in param() 105 void param(const param_type& __p) {__p_ = __p;} in param() 123 poisson_distribution<_IntType>::param_type::param_type(double __mean) in param_type() function [all …]
|
| H A D | uniform_int_distribution.h | 162 class param_type 169 explicit param_type(result_type __a = 0, 177 friend bool operator==(const param_type& __x, const param_type& __y) 180 friend bool operator!=(const param_type& __x, const param_type& __y) 185 param_type __p_; 193 : __p_(param_type(__a, __b)) {} in __p_() 198 : __p_(param_type(__a, __b)) {} 200 explicit uniform_int_distribution(const param_type& __p) : __p_(__p) {} in uniform_int_distribution() 206 template<class _URNG> result_type operator()(_URNG& __g, const param_type& __p); 212 param_type param() const {return __p_;} in param() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | infcall.c | 85 value_arg_coerce (struct value *arg, struct type *param_type, in value_arg_coerce() argument 90 = param_type ? check_typedef (param_type) : arg_type; in value_arg_coerce() 99 VALUE_TYPE (arg) = param_type; in value_arg_coerce() 495 struct type *param_type; in call_function_by_hand() local 507 param_type = TYPE_FIELD_TYPE (ftype, i); in call_function_by_hand() 509 param_type = NULL; in call_function_by_hand() 511 args[i] = value_arg_coerce (args[i], param_type, prototyped); in call_function_by_hand() 526 if (param_type != NULL && TYPE_CODE (ftype) != TYPE_CODE_METHOD) in call_function_by_hand() 529 if (TYPE_CODE (param_type) == TYPE_CODE_PTR) in call_function_by_hand() 530 if (TYPE_CODE (TYPE_TARGET_TYPE (param_type)) == TYPE_CODE_FUNC) in call_function_by_hand()
|
| /openbsd-src/lib/libcrypto/pkcs12/ |
| H A D | p12_npas.c | 75 int param_type; in alg_get() local 82 X509_ALGOR_get0(&aobj, ¶m_type, ¶m, alg); in alg_get() 83 if (param_type != V_ASN1_SEQUENCE) in alg_get()
|
| /openbsd-src/lib/libcrypto/ec/ |
| H A D | ecx_methods.c | 581 int param_type; in ecx_cms_sign_or_verify() 586 X509_ALGOR_get0(&obj, ¶m_type, NULL, signatureAlgorithm); in ecx_sign_ctrl() 589 if (param_type != V_ASN1_UNDEF) in ecx_sign_ctrl() 786 int nid, param_type; in ecx_item_sign() 788 X509_ALGOR_get0(&aobj, ¶m_type, NULL, algor); in ecx_item_sign() 792 if (nid != NID_ED25519 || param_type != V_ASN1_UNDEF) { in ecx_item_sign() 563 int param_type; ecx_cms_sign_or_verify() local 768 int nid, param_type; ecx_item_verify() local
|
| /openbsd-src/gnu/llvm/libcxx/include/__algorithm/ |
| H A D | shuffle.h | 102 typedef typename _Dp::param_type _Pp; in random_shuffle() 145 typedef typename _Dp::param_type _Pp; in __shuffle()
|