/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | discrete_distribution.h | 39 vector<double> __p_; 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(); } 58 return __x.__p_ == __y.__p_; 77 param_type __p_; 83 _LIBCPP_HIDE_FROM_ABI discrete_distribution(_InputIterator __f, _InputIterator __l) : __p_(__f, __l) {} 85 _LIBCPP_HIDE_FROM_ABI discrete_distribution(initializer_list<double> __wl) : __p_(__wl) {} 89 : __p_(__nw, __xmin, __xmax, __fw) {} 90 _LIBCPP_HIDE_FROM_ABI explicit discrete_distribution(const param_type& __p) : __p_(__ 40 vector<double> __p_; global() variable [all...] |
H A D | binomial_distribution.h | 37 double __p_; 48 _LIBCPP_HIDE_FROM_ABI double p() const { return __p_; } in t() 51 return __x.__t_ == __y.__t_ && __x.__p_ == __y.__p_; 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& __p) : __p_(__p) {} 77 return (*this)(__g, __p_); 83 _LIBCPP_HIDE_FROM_ABI result_type t() const { return __p_ 38 double __p_; global() variable 72 : __p_(param_type(__t, __p)) {} __p_() function [all...] |
H A D | bernoulli_distribution.h | 32 double __p_; 37 _LIBCPP_HIDE_FROM_ABI explicit param_type(double __p = 0.5) : __p_(__p) {} 39 _LIBCPP_HIDE_FROM_ABI double p() const { return __p_; } in __p_() function 42 return __x.__p_ == __y.__p_; in p() 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& __p) : __p_(__p) {} 64 return (*this)(__g, __p_); 34 double __p_; global() variable [all...] |
H A D | geometric_distribution.h | 36 double __p_; 41 _LIBCPP_HIDE_FROM_ABI explicit param_type(double __p = 0.5) : __p_(__p) {} 43 _LIBCPP_HIDE_FROM_ABI double p() const { return __p_; } 46 return __x.__p_ == __y.__p_; 52 param_type __p_; 58 _LIBCPP_HIDE_FROM_ABI explicit geometric_distribution(double __p) : __p_(__p) {} 60 _LIBCPP_HIDE_FROM_ABI explicit geometric_distribution(double __p = 0.5) : __p_(__p) {} 62 _LIBCPP_HIDE_FROM_ABI explicit geometric_distribution(const param_type& __p) : __p_(__p) {} in geometric_distribution() 68 return (*this)(__g, __p_); 37 double __p_; global() variable 42 explicit param_type(double __p = 0.5) : __p_(__p) {} __p_() function [all...] |
H A D | negative_binomial_distribution.h | 40 double __p_; variable 45 …_HIDE_FROM_ABI explicit param_type(result_type __k = 1, double __p = 0.5) : __k_(__k), __p_(__p) {} in __k_() 48 _LIBCPP_HIDE_FROM_ABI double p() const { return __p_; } in p() 51 return __x.__k_ == __y.__k_ && __x.__p_ == __y.__p_; 57 param_type __p_; 63 …_ABI explicit negative_binomial_distribution(result_type __k, double __p = 0.5) : __p_(__k, __p) {} in __p_() function 66 : __p_(__k, __p) {} 68 …_LIBCPP_HIDE_FROM_ABI explicit negative_binomial_distribution(const param_type& __p) : __p_(__p) {} in negative_binomial_distribution() 74 return (*this)(__g, __p_); in operator() 80 _LIBCPP_HIDE_FROM_ABI result_type k() const { return __p_.k(); } in k() [all …]
|
H A D | piecewise_constant_distribution.h | 81 param_type __p_; 89 : __p_(__f_b, __l_b, __f_w) {} 94 : __p_(__bl, __fw) {} in piecewise_constant_distribution() 100 : __p_(__nw, __xmin, __xmax, __fw) {} in piecewise_constant_distribution() 102 _LIBCPP_HIDE_FROM_ABI explicit piecewise_constant_distribution(const param_type& __p) : __p_(__p) {} 109 return (*this)(__g, __p_); 115 _LIBCPP_HIDE_FROM_ABI vector<result_type> intervals() const { return __p_.intervals(); } 116 _LIBCPP_HIDE_FROM_ABI vector<result_type> densities() const { return __p_.densities(); } 118 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } in piecewise_constant_distribution() 119 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ in piecewise_constant_distribution() [all...] |
H A D | piecewise_linear_distribution.h | 81 param_type __p_; 89 : __p_(__f_b, __l_b, __f_w) {} 94 : __p_(__bl, __fw) {} in piecewise_linear_distribution() 100 : __p_(__nw, __xmin, __xmax, __fw) {} in piecewise_linear_distribution() 102 _LIBCPP_HIDE_FROM_ABI explicit piecewise_linear_distribution(const param_type& __p) : __p_(__p) {} 109 return (*this)(__g, __p_); 115 _LIBCPP_HIDE_FROM_ABI vector<result_type> intervals() const { return __p_.intervals(); } 116 _LIBCPP_HIDE_FROM_ABI vector<result_type> densities() const { return __p_.densities(); } 118 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } in piecewise_linear_distribution() 119 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ in piecewise_linear_distribution() [all...] |
H A D | weibull_distribution.h | 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& __p) : __p_(__p) {} in __p_() function 74 return (*this)(__g, __p_); 82 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __p_.a(); } 83 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __p_.b(); } in operator() 85 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 86 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } 92 return __x.__p_ [all...] |
H A D | chi_squared_distribution.h | 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& __p) : __p_(__p) {} in chi_squared_distribution() 69 return (*this)(__g, __p_); 77 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __p_.n(); } 79 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } in operator() 80 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } 87 return __x.__p_ == __y.__p_; in n() [all...] |
H A D | cauchy_distribution.h | 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& __p) : __p_(__p) {} 74 return (*this)(__g, __p_); 80 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __p_.a(); } 81 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __p_.b(); } 83 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 84 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in operator() 90 return __x.__p_ 69 : __p_(param_type(__a, __b)) {} __p_() function [all...] |
H A D | extreme_value_distribution.h | 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& __p) : __p_(__p) {} 74 return (*this)(__g, __p_); 80 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __p_.a(); } in reset() 81 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __p_.b(); } 83 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 84 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } 91 return __x.__p_ 69 : __p_(param_type(__a, __b)) {} __p_() function [all...] |
H A D | fisher_f_distribution.h | 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& __p) : __p_(__p) {} 73 return (*this)(__g, __p_); 79 _LIBCPP_HIDE_FROM_ABI result_type m() const { return __p_.m(); } 80 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __p_.n(); } 82 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 83 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in operator() 89 return __x.__p_ 68 : __p_(param_type(__m, __n)) {} __p_() function [all...] |
H A D | uniform_real_distribution.h | 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& __p) : __p_(__p) {} 73 return (*this)(__g, __p_); 79 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __p_.a(); } 80 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __p_.b(); } 82 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } in operator() 83 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in operator() 90 return __x.__p_ 68 : __p_(param_type(__a, __b)) {} __p_() function [all...] |
H A D | exponential_distribution.h | 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& __p) : __p_(__p) {} in exponential_distribution() 71 return (*this)(__g, __p_); 77 _LIBCPP_HIDE_FROM_ABI result_type lambda() const { return __p_.lambda(); } 79 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 80 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in operator() 87 return __x.__p_ == __y.__p_; in lambda() [all...] |
H A D | student_t_distribution.h | 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& __p) : __p_(__p) {} in student_t_distribution() 72 return (*this)(__g, __p_); 78 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __p_.n(); } 80 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 81 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } 87 return __x.__p_ == __y.__p_; [all...] |
H A D | gamma_distribution.h | 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& __p) : __p_(__p) {} in __p_() function 76 return (*this)(__g, __p_); 82 _LIBCPP_HIDE_FROM_ABI result_type alpha() const { return __p_.alpha(); } 83 _LIBCPP_HIDE_FROM_ABI result_type beta() const { return __p_.beta(); } 85 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 86 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in operator() 92 return __x.__p_ [all...] |
H A D | normal_distribution.h | 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& __p) : __p_(__p), __v_hot_(false) {} in __p_() function 77 return (*this)(__g, __p_); 83 _LIBCPP_HIDE_FROM_ABI result_type mean() const { return __p_.mean(); } 84 _LIBCPP_HIDE_FROM_ABI result_type stddev() const { return __p_.stddev(); } 86 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 87 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } in operator() 93 return __x.__p_ [all...] |
H A D | poisson_distribution.h | 67 param_type __p_; 73 _LIBCPP_HIDE_FROM_ABI explicit poisson_distribution(double __mean) : __p_(__mean) {} 75 _LIBCPP_HIDE_FROM_ABI explicit poisson_distribution(double __mean = 1.0) : __p_(__mean) {} 77 _LIBCPP_HIDE_FROM_ABI explicit poisson_distribution(const param_type& __p) : __p_(__p) {} in poisson_distribution() 83 return (*this)(__g, __p_); 89 _LIBCPP_HIDE_FROM_ABI double mean() const { return __p_.mean(); } in reset() 91 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 92 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } 98 return __x.__p_ == __y.__p_; [all...] |
H A D | uniform_int_distribution.h | 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& __p) : __p_(__p) {} 183 return (*this)(__g, __p_); 189 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __p_.a(); } 190 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __p_.b(); } 192 _LIBCPP_HIDE_FROM_ABI param_type param() const { return __p_; } 193 _LIBCPP_HIDE_FROM_ABI void param(const param_type& __p) { __p_ = __p; } 200 return __x.__p_ 194 : __p_(param_type(__a, __b)) {} __p_() function [all...] |
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | mem_fun_ref.h | 27 _Sp (_Tp::*__p_)(); 30 _LIBCPP_HIDE_FROM_ABI explicit mem_fun_t(_Sp (_Tp::*__p)()) : __p_(__p) {} in mem_fun_t() 31 _LIBCPP_HIDE_FROM_ABI _Sp operator()(_Tp* __p) const { return (__p->*__p_)(); } in operator() 36 _Sp (_Tp::*__p_)(_Ap); 39 _LIBCPP_HIDE_FROM_ABI explicit mem_fun1_t(_Sp (_Tp::*__p)(_Ap)) : __p_(__p) {} in mem_fun1_t() 40 _LIBCPP_HIDE_FROM_ABI _Sp operator()(_Tp* __p, _Ap __x) const { return (__p->*__p_)(__x); } in operator() 55 _Sp (_Tp::*__p_)(); 58 _LIBCPP_HIDE_FROM_ABI explicit mem_fun_ref_t(_Sp (_Tp::*__p)()) : __p_(__p) {} in mem_fun_ref_t() 59 _LIBCPP_HIDE_FROM_ABI _Sp operator()(_Tp& __p) const { return (__p.*__p_)(); } in operator() 64 _Sp (_Tp::*__p_)(_Ap); [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | directory_entry.h | 51 _LIBCPP_HIDE_FROM_ABI explicit directory_entry(_Path const& __p) : __p_(__p) { in directory_entry() 56 …_LIBCPP_HIDE_FROM_ABI directory_entry(_Path const& __p, error_code& __ec) : __p_(__p) { __refresh(… in directory_entry() 64 __p_ = __p; in assign() 70 __p_ = __p; in assign() 75 __p_.replace_filename(__p); in replace_filename() 81 __p_ = __p_.parent_path() / __p; in replace_filename() 89 _LIBCPP_HIDE_FROM_ABI _Path const& path() const noexcept { return __p_; } in path() 91 _LIBCPP_HIDE_FROM_ABI operator const _Path&() const noexcept { return __p_; } 166 …ROM_ABI bool operator==(directory_entry const& __rhs) const noexcept { return __p_ == __rhs.__p_; } 169 …ROM_ABI bool operator!=(directory_entry const& __rhs) const noexcept { return __p_ != __rhs.__p_; } [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | inout_ptr.h | 42 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_([&__smart] { in inout_ptr_t() 61 if (!__p_) { in ~inout_ptr_t() 68 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t() 71 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~inout_ptr_t() 76 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~inout_ptr_t() 81 …ROM_ABI operator _Pointer*() const noexcept { return std::addressof(const_cast<_Pointer&>(__p_)); } 94 _Pointer __p_; variable
|
H A D | out_ptr.h | 42 : __s_(__smart), __a_(std::forward<_Args>(__args)...), __p_() { in out_ptr_t() 57 if (!__p_) { in ~out_ptr_t() 63 …std::apply([&](auto&&... __args) { __s_.reset(static_cast<_SmartPtr>(__p_), std::forward<_Args>(__… in ~out_ptr_t() 68 …std::apply([&](auto&&... __args) { __s_ = _Smart(static_cast<_SmartPtr>(__p_), std::forward<_Args>… in ~out_ptr_t() 73 …ROM_ABI operator _Pointer*() const noexcept { return std::addressof(const_cast<_Pointer&>(__p_)); } 86 _Pointer __p_ = _Pointer(); variable
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | directory_entry.cpp | 25 file_status st = detail::posix_lstat(__p_, full_st, &failure_ec); in __do_refresh() 41 st = detail::posix_stat(__p_, full_st, &ignored_ec); in __do_refresh() 67 __data_.__write_time_ = detail::__extract_last_write_time(__p_, full_st, &ignored_ec); in __do_refresh()
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | thread.cpp | 163 __thread_struct::__thread_struct() : __p_(new __thread_struct_imp) {} 165 __thread_struct::~__thread_struct() { delete __p_; } in ~__thread_struct_imp() 168 __p_->notify_all_at_thread_exit(cv, m); in ~__thread_struct_imp() 171 void __thread_struct::__make_ready_at_thread_exit(__assoc_sub_state* __s) { __p_->__make_ready_at_thread_exit(__s); } in ~__thread_struct_imp()
|