Home
last modified time | relevance | path

Searched defs:Policy (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/abseil-cpp/absl/container/internal/
Dnode_hash_policy_test.cc30 struct Policy : node_hash_policy<int&, Policy> { struct
31 using key_type = int;
32 using init_type = int;
35 static int* new_element(Alloc* alloc, int value) { in new_element()
40 static void delete_element(Alloc* alloc, int* elem) { in delete_element()
Draw_hash_set_allocator_test.cc129 struct Policy { struct
130 using slot_type = Tracked<int32_t>;
131 using init_type = Tracked<int32_t>;
132 using key_type = int32_t;
135 static void construct(allocator_type* alloc, slot_type* slot, in construct()
142 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
147 static void transfer(allocator_type* alloc, slot_type* new_slot, in transfer()
154 static auto apply(F&& f, int32_t v) -> decltype(std::forward<F>(f)(v, v)) { in apply()
159 static auto apply(F&& f, const slot_type& v) in apply()
165 static auto apply(F&& f, slot_type&& v) in apply()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dnode_hash_policy_test.cc30 struct Policy : node_hash_policy<int&, Policy> { struct
31 using key_type = int;
32 using init_type = int;
35 static int* new_element(Alloc* alloc, int value) { in new_element()
40 static void delete_element(Alloc* alloc, int* elem) { in delete_element()
Draw_hash_set_allocator_test.cc129 struct Policy { struct
130 using slot_type = Tracked<int32_t>;
131 using init_type = Tracked<int32_t>;
132 using key_type = int32_t;
135 static void construct(allocator_type* alloc, slot_type* slot, in construct()
142 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
147 static void transfer(allocator_type* alloc, slot_type* new_slot, in transfer()
154 static auto apply(F&& f, int32_t v) -> decltype(std::forward<F>(f)(v, v)) { in apply()
159 static auto apply(F&& f, const slot_type& v) in apply()
165 static auto apply(F&& f, slot_type&& v) in apply()
[all …]
/third_party/boost/boost/math/special_functions/
Dmath_fwd.hpp1124 #define BOOST_MATH_DETAIL_LL_FUNC(Policy)\ argument
1136 #define BOOST_MATH_DETAIL_LL_FUNC(Policy) argument
1140 # define BOOST_MATH_DETAIL_11_FUNC(Policy)\ argument
1146 # define BOOST_MATH_DETAIL_11_FUNC(Policy) argument
1149 #define BOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(Policy)\ argument
Dbessel_prime.hpp228 …:bessel_traits<T1, T2, Policy>::result_type cyl_bessel_j_prime(T1 v, T2 x, const Policy& /* pol */) in cyl_bessel_j_prime()
250 …bessel_traits<T, T, Policy>::result_type sph_bessel_prime(unsigned v, T x, const Policy& /* pol */) in sph_bessel_prime()
271 …:bessel_traits<T1, T2, Policy>::result_type cyl_bessel_i_prime(T1 v, T2 x, const Policy& /* pol */) in cyl_bessel_i_prime()
292 …:bessel_traits<T1, T2, Policy>::result_type cyl_bessel_k_prime(T1 v, T2 x, const Policy& /* pol */) in cyl_bessel_k_prime()
314 …::bessel_traits<T1, T2, Policy>::result_type cyl_neumann_prime(T1 v, T2 x, const Policy& /* pol */) in cyl_neumann_prime()
336 …essel_traits<T, T, Policy>::result_type sph_neumann_prime(unsigned v, T x, const Policy& /* pol */) in sph_neumann_prime()
Dtrunc.hpp33 inline typename tools::promote_args<T>::type trunc(const T& v, const Policy&, const boost::true_typ… in trunc()
113 iconvert(const T& v, const Policy&) in iconvert()
128 lconvert(const T& v, const Policy&) in lconvert()
145 llconvertert(const T& v, const Policy&) in llconvertert()
Dsinc.hpp67 inline typename tools::promote_args<T>::type sinc_pi(T x, const Policy&) in sinc_pi()
116 inline U<T> sinc_pi(const U<T> x, const Policy&) in sinc_pi()
Dchebyshev.hpp89 chebyshev_t(unsigned n, Real const & x, const Policy&) in chebyshev_t()
104 chebyshev_u(unsigned n, Real const & x, const Policy&) in chebyshev_u()
119 chebyshev_t_prime(unsigned n, Real const & x, const Policy&) in chebyshev_t_prime()
Dairy.hpp266 inline typename tools::promote_args<T>::type airy_ai(T x, const Policy&) in airy_ai()
288 inline typename tools::promote_args<T>::type airy_bi(T x, const Policy&) in airy_bi()
310 inline typename tools::promote_args<T>::type airy_ai_prime(T x, const Policy&) in airy_ai_prime()
332 inline typename tools::promote_args<T>::type airy_bi_prime(T x, const Policy&) in airy_bi_prime()
354 inline T airy_ai_zero(int m, const Policy& /*pol*/) in airy_ai_zero()
411 inline T airy_bi_zero(int m, const Policy& /*pol*/) in airy_bi_zero()
Dtrigamma.hpp41 T trigamma_prec(T x, const boost::integral_constant<int, 53>*, const Policy&) in trigamma_prec()
114 T trigamma_prec(T x, const boost::integral_constant<int, 64>*, const Policy&) in trigamma_prec()
192 T trigamma_prec(T x, const boost::integral_constant<int, 113>*, const Policy&) in trigamma_prec()
432 trigamma(T x, const Policy&) in trigamma()
/third_party/boost/boost/math/distributions/
Dcauchy.hpp181 inline const std::pair<RealType, RealType> range(const cauchy_distribution<RealType, Policy>&) in range() argument
195 inline const std::pair<RealType, RealType> support(const cauchy_distribution<RealType, Policy>& ) in support() argument
259 inline RealType cdf(const complemented2_type<cauchy_distribution<RealType, Policy>, RealType>& c) in cdf() argument
265 inline RealType quantile(const complemented2_type<cauchy_distribution<RealType, Policy>, RealType>&… in quantile() argument
271 inline RealType mean(const cauchy_distribution<RealType, Policy>&) in mean() argument
284 inline RealType variance(const cauchy_distribution<RealType, Policy>& /*dist*/) in variance() argument
309 inline RealType skewness(const cauchy_distribution<RealType, Policy>& /*dist*/) in skewness() argument
323 inline RealType kurtosis(const cauchy_distribution<RealType, Policy>& /*dist*/) in kurtosis() argument
337 inline RealType kurtosis_excess(const cauchy_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Dexponential.hpp82 inline const std::pair<RealType, RealType> range(const exponential_distribution<RealType, Policy>& in range() argument
96 …t std::pair<RealType, RealType> support(const exponential_distribution<RealType, Policy>& /*dist*/) in support() argument
167 inline RealType cdf(const complemented2_type<exponential_distribution<RealType, Policy>, RealType>&… in cdf() argument
188 inline RealType quantile(const complemented2_type<exponential_distribution<RealType, Policy>, RealT… in quantile() argument
233 inline RealType mode(const exponential_distribution<RealType, Policy>& /*dist*/) in mode() argument
246 inline RealType skewness(const exponential_distribution<RealType, Policy>& /*dist*/) in skewness() argument
252 inline RealType kurtosis(const exponential_distribution<RealType, Policy>& /*dist*/) in kurtosis() argument
258 inline RealType kurtosis_excess(const exponential_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Dbernoulli.hpp46 …uccess_fraction(const char* function, const RealType& p, RealType* result, const Policy& /* pol */) in check_success_fraction()
58 …check_dist(const char* function, const RealType& p, RealType* result, const Policy& /* pol */, con… in check_dist()
63 …inline bool check_dist(const char* , const RealType& , RealType* , const Policy& /* pol */, const … in check_dist()
68 …bool check_dist(const char* function, const RealType& p, RealType* result, const Policy& /* pol */) in check_dist()
90 …nd_prob(const char* function, RealType p, RealType prob, RealType* result, const Policy& /* pol */) in check_dist_and_prob()
130 …nst std::pair<RealType, RealType> range(const bernoulli_distribution<RealType, Policy>& /* dist */) in range() argument
137 …t std::pair<RealType, RealType> support(const bernoulli_distribution<RealType, Policy>& /* dist */) in support() argument
212 …inline RealType cdf(const complemented2_type<bernoulli_distribution<RealType, Policy>, RealType>& … in cdf() argument
263 …inline RealType quantile(const complemented2_type<bernoulli_distribution<RealType, Policy>, RealTy… in quantile() argument
Dlaplace.hpp86 inline const std::pair<RealType, RealType> range(const laplace_distribution<RealType, Policy>&) in range() argument
101 inline const std::pair<RealType, RealType> support(const laplace_distribution<RealType, Policy>&) in support() argument
220 inline RealType cdf(const complemented2_type<laplace_distribution<RealType, Policy>, RealType>& c) in cdf() argument
260 inline RealType quantile(const complemented2_type<laplace_distribution<RealType, Policy>, RealType>… in quantile() argument
319 inline RealType skewness(const laplace_distribution<RealType, Policy>& /*dist*/) in skewness() argument
325 inline RealType kurtosis(const laplace_distribution<RealType, Policy>& /*dist*/) in kurtosis() argument
331 inline RealType kurtosis_excess(const laplace_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Dnormal.hpp80 inline const std::pair<RealType, RealType> range(const normal_distribution<RealType, Policy>& /*dis… in range() argument
94 inline const std::pair<RealType, RealType> support(const normal_distribution<RealType, Policy>& /*d… in support() argument
219 inline RealType cdf(const complemented2_type<normal_distribution<RealType, Policy>, RealType>& c) in cdf() argument
256 inline RealType quantile(const complemented2_type<normal_distribution<RealType, Policy>, RealType>&… in quantile() argument
302 inline RealType skewness(const normal_distribution<RealType, Policy>& /*dist*/) in skewness() argument
308 inline RealType kurtosis(const normal_distribution<RealType, Policy>& /*dist*/) in kurtosis() argument
314 inline RealType kurtosis_excess(const normal_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Dextreme_value.hpp77 …t std::pair<RealType, RealType> range(const extreme_value_distribution<RealType, Policy>& /*dist*/) in range() argument
86 …std::pair<RealType, RealType> support(const extreme_value_distribution<RealType, Policy>& /*dist*/) in support() argument
172 inline RealType cdf(const complemented2_type<extreme_value_distribution<RealType, Policy>, RealType… in cdf() argument
196 RealType quantile(const complemented2_type<extreme_value_distribution<RealType, Policy>, RealType>&… in quantile() argument
264 inline RealType skewness(const extreme_value_distribution<RealType, Policy>& /*dist*/) in skewness() argument
274 inline RealType kurtosis(const extreme_value_distribution<RealType, Policy>& /*dist*/) in kurtosis() argument
281 inline RealType kurtosis_excess(const extreme_value_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Drayleigh.hpp81 inline const std::pair<RealType, RealType> range(const rayleigh_distribution<RealType, Policy>& /*d… in range() argument
88 inline const std::pair<RealType, RealType> support(const rayleigh_distribution<RealType, Policy>& /… in support() argument
166 inline RealType cdf(const complemented2_type<rayleigh_distribution<RealType, Policy>, RealType>& c) in cdf() argument
191 inline RealType quantile(const complemented2_type<rayleigh_distribution<RealType, Policy>, RealType… in quantile() argument
261 inline RealType skewness(const rayleigh_distribution<RealType, Policy>& /*dist*/) in skewness() argument
270 inline RealType kurtosis(const rayleigh_distribution<RealType, Policy>& /*dist*/) in kurtosis() argument
280 inline RealType kurtosis_excess(const rayleigh_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Dlogistic.hpp56 …inline const std::pair<RealType, RealType> range(const logistic_distribution<RealType, Policy>& /*… in range() argument
65 …st std::pair<RealType, RealType> support(const logistic_distribution<RealType, Policy>& /* dist */) in support() argument
181 …inline RealType cdf(const complemented2_type<logistic_distribution<RealType, Policy>, RealType>& c) in cdf() argument
216 …inline RealType quantile(const complemented2_type<logistic_distribution<RealType, Policy>, RealTyp… in quantile() argument
277 inline RealType skewness(const logistic_distribution<RealType, Policy>& /*dist*/) in skewness() argument
283 inline RealType kurtosis_excess(const logistic_distribution<RealType, Policy>& /*dist*/) in kurtosis_excess() argument
Dstudents_t.hpp66 inline const std::pair<RealType, RealType> range(const students_t_distribution<RealType, Policy>& /… in range() argument
75 inline const std::pair<RealType, RealType> support(const students_t_distribution<RealType, Policy>& in support() argument
261 inline RealType cdf(const complemented2_type<students_t_distribution<RealType, Policy>, RealType>& … in cdf() argument
267 inline RealType quantile(const complemented2_type<students_t_distribution<RealType, Policy>, RealTy… in quantile() argument
341 inline RealType mode(const students_t_distribution<RealType, Policy>& /*dist*/) in mode() argument
348 inline RealType median(const students_t_distribution<RealType, Policy>& /*dist*/) in median() argument
Dgeometric.hpp245 …nst std::pair<RealType, RealType> range(const geometric_distribution<RealType, Policy>& /* dist */) in range() argument
252 …t std::pair<RealType, RealType> support(const geometric_distribution<RealType, Policy>& /* dist */) in support() argument
268 inline RealType mode(const geometric_distribution<RealType, Policy>&) in mode() argument
382 …inline RealType cdf(const complemented2_type<geometric_distribution<RealType, Policy>, RealType>& … in cdf() argument
458 …inline RealType quantile(const complemented2_type<geometric_distribution<RealType, Policy>, RealTy… in quantile() argument
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp185 struct Policy : public Thread::Affinity::Policy { in anyOf() struct
186 Affinity affinity; in anyOf()
187 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} in anyOf() argument
189 Affinity get(uint32_t threadId, Allocator* allocator) const override { in anyOf()
216 struct Policy : public Thread::Affinity::Policy { in oneOf() struct
217 Affinity affinity; in oneOf()
218 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} in oneOf() argument
220 Affinity get(uint32_t threadId, Allocator* allocator) const override { in oneOf()
/third_party/boost/libs/math/test/compile_test/
Ddist_find_scale_incl_test.cpp26 T quantile(const test_distribution<T, Policy>&, T) in quantile() argument
32 T quantile(const boost::math::complemented2_type<test_distribution<T, Policy>, T>&) in quantile() argument
Ddist_find_location_incl_test.cpp26 T quantile(const test_distribution<T, Policy>&, T) in quantile() argument
32 T quantile(const boost::math::complemented2_type<test_distribution<T, Policy>, T>&) in quantile() argument
/third_party/boost/boost/math/bindings/
Dmpfr.hpp119 inline int iround(mpfr_class const& x, const Policy&) in iround()
130 inline long lround(mpfr_class const& x, const Policy&) in lround()
141 inline long long llround(mpfr_class const& x, const Policy&) in llround()
152 inline int itrunc(mpfr_class const& x, const Policy&) in itrunc()
163 inline long ltrunc(mpfr_class const& x, const Policy&) in ltrunc()
174 inline long long lltrunc(mpfr_class const& x, const Policy&) in lltrunc()
452 inline mpfr_class skewness(const extreme_value_distribution<mpfr_class, Policy>& /*dist*/) in skewness() argument
462 inline mpfr_class skewness(const rayleigh_distribution<mpfr_class, Policy>& /*dist*/) in skewness() argument
471 inline mpfr_class kurtosis(const rayleigh_distribution<mpfr_class, Policy>& /*dist*/) in kurtosis() argument
481 inline mpfr_class kurtosis_excess(const rayleigh_distribution<mpfr_class, Policy>& /*dist*/) in kurtosis_excess() argument
[all …]

12345