Home
last modified time | relevance | path

Searched refs:__init (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd/contrib/llvm-project/libcxx/include/__numeric/
H A Daccumulate.h27 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init) {
30 __init = std::move(__init) + *__first; in accumulate()
32 __init = __init + *__first; in accumulate()
34 return __init; in accumulate()
39 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op) {
42 __init = __binary_op(std::move(__init), *__first); in accumulate() argument
44 __init in accumulate()
28 accumulate(_InputIterator __first,_InputIterator __last,_Tp __init) accumulate() argument
[all...]
H A Dinner_product.h27 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp __init) {
30 __init = std::move(__init) + *__first1 * *__first2; in inner_product()
32 __init = __init + *__first1 * *__first2; in inner_product()
34 return __init; in inner_product()
42 _Tp __init, in inner_product()
47 __init = __binary_op1(std::move(__init), __binary_op2(*__first1, *__first2)); in inner_product()
49 __init in inner_product()
28 inner_product(_InputIterator1 __first1,_InputIterator1 __last1,_InputIterator2 __first2,_Tp __init) inner_product() argument
43 inner_product(_InputIterator1 __first1,_InputIterator1 __last1,_InputIterator2 __first2,_Tp __init,_BinaryOperation1 __binary_op1,_BinaryOperation2 __binary_op2) inner_product() argument
[all...]
H A Dtransform_reduce.h29 transform_reduce(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOp __b, _UnaryOp __u) { in transform_reduce()
31 __init = __b(std::move(__init), __u(*__first)); in transform_reduce()
32 return __init;
40 _Tp __init, in transform_reduce()
44 __init = __b1(std::move(__init), __b2(*__first1, *__first2)); in transform_reduce()
45 return __init; in transform_reduce()
50 transform_reduce(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp __init) {
51 return std::transform_reduce(__first1, __last1, __first2, std::move(__init), st
26 transform_reduce(_InputIterator __first,_InputIterator __last,_Tp __init,_BinaryOp __b,_UnaryOp __u) transform_reduce() argument
36 transform_reduce(_InputIterator1 __first1,_InputIterator1 __last1,_InputIterator2 __first2,_Tp __init,_BinaryOp1 __b1,_BinaryOp2 __b2) transform_reduce() argument
46 transform_reduce(_InputIterator1 __first1,_InputIterator1 __last1,_InputIterator2 __first2,_Tp __init) transform_reduce() argument
[all...]
H A Dexclusive_scan.h30 exclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init, _BinaryOp __b) { in exclusive_scan() argument
32 _Tp __tmp(__b(__init, *__first)); in exclusive_scan()
34 *__result = std::move(__init); in exclusive_scan()
39 __init = std::move(__tmp); in exclusive_scan()
40 __tmp = __b(__init, *__first); in exclusive_scan()
48 exclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init) { in exclusive_scan() argument
49 return std::exclusive_scan(__first, __last, __result, __init, std::plus<>()); in exclusive_scan()
H A Dtransform_inclusive_scan.h26 _InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOp __b, _UnaryOp __u, _Tp __init) {
28 __init = __b(__init, __u(*__first)); in transform_inclusive_scan() argument
29 *__result = __init; in transform_inclusive_scan()
39 typename iterator_traits<_InputIterator>::value_type __init = __u(*__first);
40 *__result++ = __init;
42 return std::transform_inclusive_scan(__first, __last, __result, __b, __u, __init); in transform_inclusive_scan()
45 typename iterator_traits<_InputIterator>::value_type __init = __u(*__first); transform_inclusive_scan() local
H A Dinclusive_scan.h28 inclusive_scan(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOp __b, _Tp __init) { in inclusive_scan() argument
30 __init = __b(__init, *__first); in inclusive_scan()
31 *__result = __init; in inclusive_scan()
40 typename iterator_traits<_InputIterator>::value_type __init = *__first; in inclusive_scan() local
41 *__result++ = __init; in inclusive_scan()
43 return std::inclusive_scan(__first, __last, __result, __b, __init); in inclusive_scan()
H A Dreduce.h30 reduce(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOp __b) { in reduce()
32 __init = __b(std::move(__init), *__first);
33 return __init;
38 reduce(_InputIterator __first, _InputIterator __last, _Tp __init) {
39 return std::reduce(__first, __last, __init, std::plus<>());
27 reduce(_InputIterator __first,_InputIterator __last,_Tp __init,_BinaryOp __b) reduce() argument
35 reduce(_InputIterator __first,_InputIterator __last,_Tp __init) reduce() argument
H A Dtransform_exclusive_scan.h25 _InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init, _BinaryOp __b, _UnaryOp __u) {
27 _Tp __saved = __init; in transform_exclusive_scan()
29 __init = __b(__init, __u(*__first)); in transform_exclusive_scan()
31 __saved = __init; in transform_exclusive_scan()
28 transform_exclusive_scan(_InputIterator __first,_InputIterator __last,_OutputIterator __result,_Tp __init,_BinaryOp __b,_UnaryOp __u) transform_exclusive_scan() argument
H A Dpstl.h45 …_ExecutionPolicy&& __policy, _ForwardIterator __first, _ForwardIterator __last, _Tp __init, _Binar… in reduce() argument
52 std::move(__init), in reduce()
62 reduce(_ExecutionPolicy&& __policy, _ForwardIterator __first, _ForwardIterator __last, _Tp __init) { in reduce() argument
66 …ard<_ExecutionPolicy>(__policy), std::move(__first), std::move(__last), std::move(__init), plus{}); in reduce()
98 _Tp __init, in transform_reduce() argument
110 std::move(__init), in transform_reduce()
128 _Tp __init) { in transform_reduce() argument
138 std::move(__init), in transform_reduce()
154 _Tp __init, in transform_reduce() argument
163 std::move(__init), in transform_reduce()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dnumeric_impl.h
H A Dunseq_backend_simd.h
H A Dglue_numeric_impl.h
H A Dglue_numeric_defs.h
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/
H A Dtransform_reduce.h47 __simd_transform_reduce(_DifferenceType __n, _Tp __init, _BinaryOperation, _UnaryOperation __f) noe… in __simd_transform_reduce() argument
48 _PSTL_PRAGMA_SIMD_REDUCTION(+ : __init) in __simd_transform_reduce()
50 __init += __f(__i); in __simd_transform_reduce()
51 return __init; in __simd_transform_reduce()
64 __simd_transform_reduce(_Size __n, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __f) n… in __simd_transform_reduce() argument
92 __init = __binary_op(std::move(__init), std::move(__lane[__j])); in __simd_transform_reduce()
101 __init = __binary_op(std::move(__init), __f(__i)); in __simd_transform_reduce()
104 return __init; in __simd_transform_reduce()
120 _Tp __init, in operator()
132 std::move(__init), in operator()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/omp/
H A Dparallel_transform_reduce.h
H A Dparallel_transform_scan.h
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfold.h81 …BCPP_HIDE_FROM_ABI static constexpr auto operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator()
85 return fold_left_with_iter_result<_Ip, _Up>{std::move(__first), _Up(std::move(__init))}; in operator()
88 _Up __result = std::invoke(__f, std::move(__init), *__first); in operator()
97 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __… in operator()
98 …auto __result = operator()(ranges::begin(__r), ranges::end(__r), std::move(__init), std::ref(__f)); in operator()
109 …BCPP_HIDE_FROM_ABI static constexpr auto operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator()
110 …return fold_left_with_iter(std::move(__first), std::move(__last), std::move(__init), std::ref(__f)… in operator()
114 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __… in operator()
115 …return fold_left_with_iter(ranges::begin(__r), ranges::end(__r), std::move(__init), std::ref(__f))… in operator()
/freebsd/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor.h53 #undef __init
56 #undef __init
59 #undef __init
62 #undef __init
/freebsd/contrib/llvm-project/libcxx/src/
H A Dsystem_error.cpp236 system_error::__init(const error_code& ec, string what_arg) __init() function in system_error
H A Dstrstream.cpp28 void strstreambuf::__init(char* __gnext, streamsize __n, char* __pbeg) { in strstreambuf()
43 __init(__gnext, __n, __pbeg); in __init()
48 __init(const_cast<char*>(__gnext), __n, nullptr); in __init()
53 __init(const_cast<char*>(reinterpret_cast<const char*>(__gnext)), __n, reinterpret_cast<char*>(__pbeg));
58 __init(const_cast<char*>(reinterpret_cast<const char*>(__gnext)), __n, nullptr); in strstreambuf()
63 __init(const_cast<char*>(reinterpret_cast<const char*>(__gnext)), __n, reinterpret_cast<char*>(__pbeg)); in strstreambuf()
68 __init(const_cast<char*>(reinterpret_cast<const char*>(__gnext)), __n, nullptr); in strstreambuf()
39 strstreambuf::__init(char* __gnext, streamsize __n, char* __pbeg) __init() function in strstreambuf
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dshuffle_order_engine.h85 _LIBCPP_HIDE_FROM_ABI shuffle_order_engine() { __init(); }
86 _LIBCPP_HIDE_FROM_ABI explicit shuffle_order_engine(const _Engine& __e) : __e_(__e) { __init(); }
88 _LIBCPP_HIDE_FROM_ABI explicit shuffle_order_engine(_Engine&& __e) : __e_(std::move(__e)) { __init(); }
90 _LIBCPP_HIDE_FROM_ABI explicit shuffle_order_engine(result_type __sd) : __e_(__sd) { __init(); }
96 __init();
100 __init();
104 __init();
109 __init();
137 _LIBCPP_HIDE_FROM_ABI void __init() {
H A Dseed_seq.h41 __init(__il.begin(), __il.end()); in seed_seq()
49 __init(__first, __last); in seed_seq()
70 _LIBCPP_HIDE_FROM_ABI void __init(_InputIterator __first, _InputIterator __last);
76 void seed_seq::__init(_InputIterator __first, _InputIterator __last) { in __init() function
H A Ddiscrete_distribution.h47 __init();
50 _LIBCPP_HIDE_FROM_ABI param_type(initializer_list<double> __wl) : __p_(__wl.begin(), __wl.end()) { __init(); }
63 _LIBCPP_HIDE_FROM_ABI void __init();
136 __init();
141 void discrete_distribution<_IntType>::param_type::__init() {
177 discrete_distribution<_IntType>::param_type::__init() __init() function
/freebsd/sys/contrib/openzfs/module/icp/
H A Dillumos-crypto.c32 #define __init macro
118 int __init
/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dtraits.h179 __inner_product(_It1 __first1, _It1 __last1, _It2 __first2, _Up __init) {
181 __init = __init + *__first1 * *__first2;
182 return __init;

12345