/freebsd/contrib/llvm-project/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 …]
|
/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | bernoulli_distribution.h | 31 class _LIBCPP_TEMPLATE_VIS param_type { 37 _LIBCPP_HIDE_FROM_ABI explicit param_type(double __p = 0.5) : __p_(__p) {} 41 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 44 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 48 param_type __p_; 54 _LIBCPP_HIDE_FROM_ABI explicit bernoulli_distribution(double __p) : __p_(param_type(__p)) {} 56 _LIBCPP_HIDE_FROM_ABI explicit bernoulli_distribution(double __p = 0.5) : __p_(param_type(__p)) {} 58 _LIBCPP_HIDE_FROM_ABI explicit bernoulli_distribution(const param_type 130 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | chi_squared_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type { 42 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __n = 1) : __n_(__n) {} 46 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 49 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 53 param_type __p_; 59 _LIBCPP_HIDE_FROM_ABI explicit chi_squared_distribution(result_type __n) : __p_(param_type(__n)) {} 61 _LIBCPP_HIDE_FROM_ABI explicit chi_squared_distribution(result_type __n = 1) : __p_(param_type(__n)) {} 63 _LIBCPP_HIDE_FROM_ABI explicit chi_squared_distribution(const param_type in chi_squared_distribution() 129 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | exponential_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __lambda = 1) : __lambda_(__lambda) {} 48 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 51 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 55 param_type __p_; 61 _LIBCPP_HIDE_FROM_ABI explicit exponential_distribution(result_type __lambda) : __p_(param_type(__lambda)) {} 63 _LIBCPP_HIDE_FROM_ABI explicit exponential_distribution(result_type __lambda = 1) : __p_(param_type(__lambda)) {} in exponential_distribution() 65 _LIBCPP_HIDE_FROM_ABI explicit exponential_distribution(const param_type 143 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | student_t_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __n = 1) : __n_(__n) {} 48 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 51 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 55 param_type __p_; 62 _LIBCPP_HIDE_FROM_ABI explicit student_t_distribution(result_type __n) : __p_(param_type(__n)) {} 64 _LIBCPP_HIDE_FROM_ABI explicit student_t_distribution(result_type __n = 1) : __p_(param_type(__n)) {} in student_t_distribution() 66 _LIBCPP_HIDE_FROM_ABI explicit student_t_distribution(const param_type 141 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | cauchy_distribution.h | 37 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), __b_(__b) {} in __a_() 49 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { in b() 52 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 56 param_type __p_; 63 : __p_(param_type(__a, __b)) {} 66 : __p_(param_type(__a, __b)) {} in cauchy_distribution() 68 _LIBCPP_HIDE_FROM_ABI explicit cauchy_distribution(const param_type 148 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | extreme_value_distribution.h | 37 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), __b_(__b) {} in __a_() 49 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { in b() 52 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 56 param_type __p_; 63 : __p_(param_type(__a, __b)) {} 66 : __p_(param_type(__a, __b)) {} in extreme_value_distribution() 68 _LIBCPP_HIDE_FROM_ABI explicit extreme_value_distribution(const param_type 148 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | fisher_f_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type { 43 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __m = 1, result_type __n = 1) : __m_(__m), __n_(__n) {} in __m_() 48 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { in n() 51 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 55 param_type __p_; 62 : __p_(param_type(__m, __n)) {} 65 : __p_(param_type(__m, __n)) {} in fisher_f_distribution() 67 _LIBCPP_HIDE_FROM_ABI explicit fisher_f_distribution(const param_type 147 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | uniform_real_distribution.h | 36 class _LIBCPP_TEMPLATE_VIS param_type { 43 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), __b_(__b) {} 48 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 51 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 55 param_type __p_; 62 : __p_(param_type(__a, __b)) {} 65 : __p_(param_type(__a, __b)) {} 67 _LIBCPP_HIDE_FROM_ABI explicit uniform_real_distribution(const param_type in uniform_real_distribution() 145 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | weibull_distribution.h | 37 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 1, result_type __b = 1) : __a_(__a), __b_(__b) {} 49 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 52 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 56 param_type __p_; 63 : __p_(param_type(__a, __b)) {} 66 : __p_(param_type(__a, __b)) {} 68 _LIBCPP_HIDE_FROM_ABI explicit weibull_distribution(const param_type 139 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | piecewise_constant_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 46 _LIBCPP_HIDE_FROM_ABI param_type(); 48 _LIBCPP_HIDE_FROM_ABI param_type(_InputIteratorB __f_b, _InputIteratorB __l_b, _InputIteratorW __f_w); 51 _LIBCPP_HIDE_FROM_ABI param_type(initializer_list<result_type> __bl, _UnaryOperation __fw); 54 _LIBCPP_HIDE_FROM_ABI param_type(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation __fw); 55 _LIBCPP_HIDE_FROM_ABI param_type(param_type const&) = default; 56 _LIBCPP_HIDE_FROM_ABI param_type& operator=(const param_type& __rhs); 61 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type 208 piecewise_constant_distribution<_RealType>::param_type::param_type() param_type() function 218 piecewise_constant_distribution<_RealType>::param_type::param_type( param_type() function 243 piecewise_constant_distribution<_RealType>::param_type::param_type( param_type() function 268 piecewise_constant_distribution<_RealType>::param_type::param_type( param_type() function [all...] |
H A D | binomial_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type { 45 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __t = 1, double __p = 0.5); 50 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { in p() 53 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 59 param_type __p_; 66 : __p_(param_type(__t, __p)) {} 69 : __p_(param_type(__t, __p)) {} in binomial_distribution() 71 _LIBCPP_HIDE_FROM_ABI explicit binomial_distribution(const param_type 131 binomial_distribution<_IntType>::param_type::param_type(result_type __t, double __p) param_type() function 213 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | geometric_distribution.h | 35 class _LIBCPP_TEMPLATE_VIS param_type { 41 _LIBCPP_HIDE_FROM_ABI explicit param_type(double __p = 0.5) : __p_(__p) {} 45 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { in p() 48 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 52 param_type __p_; 62 _LIBCPP_HIDE_FROM_ABI explicit geometric_distribution(const param_type& __p) : __p_(__p) {} in geometric_distribution() 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { 78 _LIBCPP_HIDE_FROM_ABI param_type para 128 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | piecewise_linear_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 46 _LIBCPP_HIDE_FROM_ABI param_type(); 48 _LIBCPP_HIDE_FROM_ABI param_type(_InputIteratorB __f_b, _InputIteratorB __l_b, _InputIteratorW __f_w); 51 _LIBCPP_HIDE_FROM_ABI param_type(initializer_list<result_type> __bl, _UnaryOperation __fw); 54 _LIBCPP_HIDE_FROM_ABI param_type(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation __fw); 55 _LIBCPP_HIDE_FROM_ABI param_type(param_type const&) = default; 56 _LIBCPP_HIDE_FROM_ABI param_type& operator=(const param_type& __rhs); 61 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type 212 piecewise_linear_distribution<_RealType>::param_type::param_type() param_type() function 222 piecewise_linear_distribution<_RealType>::param_type::param_type( param_type() function 247 piecewise_linear_distribution<_RealType>::param_type::param_type( param_type() function 272 piecewise_linear_distribution<_RealType>::param_type::param_type( param_type() function [all...] |
H A D | negative_binomial_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 45 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __k = 1, double __p = 0.5) : __k_(__k), __p_… in __k_() 50 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 53 …friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { retur… 57 param_type __p_; 68 …_LIBCPP_HIDE_FROM_ABI explicit negative_binomial_distribution(const param_type& __p) : __p_(__p) {} in negative_binomial_distribution() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 83 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } in param() 84 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in param() 101 _IntType negative_binomial_distribution<_IntType>::operator()(_URNG& __urng, const param_type& __pr… in operator() [all …]
|
H A D | gamma_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 45 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __alpha = 1, result_type __beta = 1) in __alpha_() 51 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 54 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 58 param_type __p_; 65 : __p_(param_type(__alpha, __beta)) {} 68 : __p_(param_type(__alpha, __beta)) {} 70 _LIBCPP_HIDE_FROM_ABI explicit gamma_distribution(const param_type 200 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | normal_distribution.h | 37 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __mean = 0, result_type __stddev = 1) in __mean_() 50 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 53 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 57 param_type __p_; 66 : __p_(param_type(__mean, __stddev)), __v_hot_(false) {} 69 : __p_(param_type(__mean, __stddev)), __v_hot_(false) {} 71 _LIBCPP_HIDE_FROM_ABI explicit normal_distribution(const param_type 187 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | lognormal_distribution.h | 37 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __m = 0, result_type __s = 1) : __m_(__m), __s_(__s) {} 49 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 52 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 66 _LIBCPP_HIDE_FROM_ABI explicit lognormal_distribution(const param_type& __p) : __nd_(__p.m(), __p.s()) {} 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { in lognormal_distribution() 77 typename normal_distribution<result_type>::param_type __pn(__p.m(), __p.s()); in lognormal_distribution() 85 _LIBCPP_HIDE_FROM_ABI param_type para in operator() [all...] |
H A D | discrete_distribution.h | 38 class _LIBCPP_TEMPLATE_VIS param_type { 44 _LIBCPP_HIDE_FROM_ABI param_type() {} 46 _LIBCPP_HIDE_FROM_ABI param_type(_InputIterator __f, _InputIterator __l) : __p_(__f, __l) { 50 _LIBCPP_HIDE_FROM_ABI param_type(initializer_list<double> __wl) : __p_(__wl.begin(), __wl.end()) { __init(); } 53 _LIBCPP_HIDE_FROM_ABI param_type(size_t __nw, double __xmin, double __xmax, _UnaryOperation __fw); in param_type() 57 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { 60 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 77 param_type __p 45 param_type() {} param_type() function 48 param_type(_InputIterator __f, _InputIterator __l) param_type() function 52 param_type(initializer_list<double> __wl) param_type() function 159 discrete_distribution<_IntType>::param_type::param_type(size_t __nw, param_type() function [all...] |
H A D | poisson_distribution.h | 39 class _LIBCPP_TEMPLATE_VIS param_type { 54 _LIBCPP_HIDE_FROM_ABI explicit param_type(double __mean = 1.0); 58 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const param_type& __x, const param_type& __y) { in mean() 61 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 67 param_type __p_; 77 _LIBCPP_HIDE_FROM_ABI explicit poisson_distribution(const param_type& __p) : __p_(__p) {} in poisson_distribution() 86 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 91 _LIBCPP_HIDE_FROM_ABI param_type para 124 poisson_distribution<_IntType>::param_type::param_type(double __mean) param_type() function 266 typedef typename _Eng::param_type param_type; global() typedef [all...] |
H A D | uniform_int_distribution.h | 144 class param_type { in __eval() 151 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = numeric_limits<result_type>::max()) in __eval() 157 _LIBCPP_HIDE_FROM_ABI friend bool operator==(const param_type& __x, const param_type& __y) { 160 _LIBCPP_HIDE_FROM_ABI friend bool operator!=(const param_type& __x, const param_type& __y) { return !(__x == __y); } 164 param_type __p_; 172 : __p_(param_type(__a, __b)) {} in __a_() 175 : __p_(param_type(__a, __b)) {} in b() 177 _LIBCPP_HIDE_FROM_ABI explicit uniform_int_distribution(const param_type 279 typedef typename _Eng::param_type param_type; global() typedef [all...] |
/freebsd/sys/netinet/ |
H A D | sctp_asconf.c | 89 aph->ph.param_type = htons(SCTP_SUCCESS_REPORT); in sctp_asconf_success_response() 131 aph->ph.param_type = htons(SCTP_ERROR_CAUSE_IND); in sctp_asconf_error_response() 156 uint16_t param_type, aparam_length; in sctp_process_asconf_add_ip() local 177 param_type = ntohs(ph->param_type); in sctp_process_asconf_add_ip() 185 switch (param_type) { in sctp_process_asconf_add_ip() 316 uint16_t param_type, aparam_length; in sctp_process_asconf_delete_ip() local 337 param_type = ntohs(ph->param_type); in sctp_process_asconf_delete_ip() 345 switch (param_type) { in sctp_process_asconf_delete_ip() 454 uint16_t param_type, aparam_length; in sctp_process_asconf_set_primary() local 474 param_type = ntohs(ph->param_type); in sctp_process_asconf_set_primary() [all …]
|
H A D | sctp_output.c | 1988 paramh->param_type = htons(SCTP_IPV4_ADDRESS); in sctp_add_addr_to_mbuf() 2003 paramh->param_type = htons(SCTP_IPV6_ADDRESS); in sctp_add_addr_to_mbuf() 3853 ph->param_type = htons(SCTP_STATE_COOKIE); in sctp_add_cookie() 4696 ali->ph.param_type = htons(SCTP_ULP_ADAPTATION); in sctp_send_initiate() 4706 ph->param_type = htons(SCTP_ECN_CAPABLE); in sctp_send_initiate() 4715 ph->param_type = htons(SCTP_PRSCTP_SUPPORTED); in sctp_send_initiate() 4724 zero_chksum->ph.param_type = htons(SCTP_ZERO_CHECKSUM_ACCEPTABLE); in sctp_send_initiate() 4734 ph->param_type = htons(SCTP_HAS_NAT_SUPPORT); in sctp_send_initiate() 4769 pr_supported->ph.param_type = htons(SCTP_SUPPORTED_CHUNK_EXT); in sctp_send_initiate() 4804 hmacs->ph.param_type = htons(SCTP_HMAC_LIST); in sctp_send_initiate() [all …]
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | x_algor.c | 76 int param_type; in X509_ALGOR_set_md() local 79 param_type = V_ASN1_UNDEF; in X509_ALGOR_set_md() 81 param_type = V_ASN1_NULL; in X509_ALGOR_set_md() 83 X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_get_type(md)), param_type, NULL); in X509_ALGOR_set_md()
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | shuffle.h | 99 typedef typename _Dp::param_type _Pp; in random_shuffle() 139 typedef typename _Dp::param_type _Pp;
|