/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | ranges_for_each.h | 44 __for_each_impl(_Iter __first, _Sent __last, _Func& __func, _Proj& __proj) { in __for_each_impl() 46 std::invoke(__func, std::invoke(__proj, *__first)); 47 return {std::move(__first), std::move(__func)}; 56 operator()(_Iter __first, _Sent __last, _Func __func, _Proj __proj = {}) const { 57 return __for_each_impl(std::move(__first), std::move(__last), __func, __proj); 64 operator()(_Range&& __range, _Func __func, _Proj __proj = {}) const { 65 return __for_each_impl(ranges::begin(__range), ranges::end(__range), __func, __proj);
|
H A D | for_each_segment.h | 27 __for_each_segment(_SegmentedIterator __first, _SegmentedIterator __last, _Functor __func) { in __for_each_segment() argument 35 __func(_Traits::__local(__first), _Traits::__local(__last)); in __for_each_segment() 40 __func(_Traits::__local(__first), _Traits::__end(__sfirst)); in __for_each_segment() 44 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst)); in __for_each_segment() 48 __func(_Traits::__begin(__sfirst), _Traits::__local(__last)); in __for_each_segment()
|
H A D | ranges_for_each_n.h | 43 operator()(_Iter __first, iter_difference_t<_Iter> __count, _Func __func, _Proj __proj = {}) const { 45 std::invoke(__func, std::invoke(__proj, *__first)); 48 return {std::move(__first), std::move(__func)};
|
H A D | pstl.h | 302 …_ExecutionPolicy&& __policy, _ForwardIterator __first, _ForwardIterator __last, _Function __func) { in for_each() argument 306 …td::forward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__last), std::move(__func)); in for_each() 316 for_each_n(_ExecutionPolicy&& __policy, _ForwardIterator __first, _Size __size, _Function __func) { in for_each_n() argument 320 …td::forward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__size), std::move(__func)); in for_each_n()
|
/freebsd/contrib/llvm-project/libcxx/include/__utility/ |
H A D | terminate_on_exception.h |
|
H A D | integer_sequence.h | 81 …DE_FROM_ABI constexpr void __for_each_index_sequence(index_sequence<_Index...>, _Function __func) { in __for_each_index_sequence() argument 82 (__func.template operator()<_Index>(), ...); in __for_each_index_sequence()
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | function.h | 255 class __func; 258 class __func<_Fp, _Alloc, _Rp(_ArgTypes...)> : public __base<_Rp(_ArgTypes...)> { 262 _LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f) : __f_(std::move(__f)) {} 264 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f, const _Alloc& __a) : __f_(__f, __a) {} 266 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f, _Alloc&& __a) : __f_(__f, std::move(__a)) {} 268 …_LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f, _Alloc&& __a) : __f_(std::move(__f), std::move(__… 282 __base<_Rp(_ArgTypes...)>* __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone() const { 284 typedef __rebind_alloc<__alloc_traits, __func> _Ap; 287 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1)); 288 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a)); [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/ |
H A D | for_each.h | 42 …y&& __policy, _ForwardIterator __first, _ForwardIterator __last, _Function __func) const noexcept { in operator() 46 …__first, __last, [&__policy, __func](_ForwardIterator __brick_first, _ForwardIterator __brick_last… in operator() 49 … _ForEachUnseq()(std::__remove_parallel_policy(__policy), __brick_first, __brick_last, __func); in operator() 54 __pstl::__simd_for_each(__first, __last - __first, __func); in operator() 57 std::for_each(__first, __last, __func); in operator()
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/backends/ |
H A D | libdispatch.h | 55 __dispatch_apply(size_t __chunk_count, void* __context, void (*__func)(void* __context, size_t __ch… 58 _LIBCPP_HIDE_FROM_ABI void __dispatch_apply(size_t __chunk_count, _Func __func) noexcept { in __dispatch_apply() argument 59 __libdispatch::__dispatch_apply(__chunk_count, &__func, [](void* __context, size_t __chunk) { in __dispatch_apply() 74 …tch_parallel_for(__chunk_partitions __partitions, _RandomAccessIterator __first, _Functor __func) { in __dispatch_parallel_for() argument 82 __func(__first + __index, __first + __index + __this_chunk_size); in __dispatch_parallel_for() 93 __for_each(_RandomAccessIterator __first, _RandomAccessIterator __last, _Functor __func) { 95 __libdispatch::__partition_chunks(__last - __first), std::move(__first), std::move(__func));
|
H A D | serial.h | 60 …operator()(_Policy&&, _ForwardIterator __first, _ForwardIterator __last, _Function&& __func) const… 61 std::for_each(std::move(__first), std::move(__last), std::forward<_Function>(__func));
|
H A D | default.h | 186 …operator()(_Policy&& __policy, _ForwardIterator __first, _Size __size, _Function __func) const noe… 190 return _ForEach()(__policy, std::move(__first), std::move(__last), std::move(__func)); 193 std::for_each_n(std::move(__first), __size, std::move(__func));
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | legacy_debug_handler.cpp |
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_hip_cmath.h | 190 #define __DEF_FUN1(__retty, __func) \ argument 191 __DEVICE__ __CONSTEXPR__ __retty __func(float __x) { return __func##f(__x); } 194 #define __DEF_FUN2(__retty, __func) \ argument 195 __DEVICE__ __CONSTEXPR__ __retty __func(float __x, float __y) { \ 196 return __func##f(__x, __y); \ 200 #define __DEF_FUN2_FI(__retty, __func) \ argument 201 __DEVICE__ __CONSTEXPR__ __retty __func(float __x, int __y) { \ 202 return __func##f(__x, __y); \
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/support/ |
H A D | c11.h | 150 inline _LIBCPP_HIDE_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(voi… in __libcpp_thread_create() 151 int __ec = thrd_create(__t, reinterpret_cast<thrd_start_t>(__func), __arg); in __libcpp_thread_create()
|
H A D | pthread.h | 181 inline _LIBCPP_HIDE_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(voi… in __libcpp_thread_create() 182 return pthread_create(__t, nullptr, __func, __arg); in __libcpp_thread_create()
|
H A D | windows.h | 103 _LIBCPP_EXPORTED_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*)…
|
/freebsd/sys/contrib/openzfs/include/ |
H A D | libzutil.h | 251 #define __FOR_EACH_VDEV(__zhp, __nv, __func) { \ argument 256 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
|
/freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
H A D | transform_view.h | 87 …IBCPP_HIDE_FROM_ABI constexpr _LIBCPP_EXPLICIT_SINCE_CXX23 transform_view(_View __base, _Fn __func) in transform_view() argument 88 : __func_(std::in_place, std::move(__func)), __base_(std::move(__base)) {} in transform_view()
|