| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | ranges_for_each.h | 45 __for_each_impl(_Iter __first, _Sent __last, _Func& __func, _Proj& __proj) { in __for_each_impl() 51 auto __end = std::__for_each_n(std::move(__first), __n, __func, __proj); in __for_each_impl() 52 return {std::move(__end), std::move(__func)}; in __for_each_impl() 54 auto __end = std::__for_each(std::move(__first), std::move(__last), __func, __proj); in __for_each_impl() 55 return {std::move(__end), std::move(__func)}; in __for_each_impl() 65 operator()(_Iter __first, _Sent __last, _Func __func, _Proj __proj = {}) const { in operator() 66 return __for_each_impl(std::move(__first), std::move(__last), __func, __proj); 73 operator()(_Range&& __range, _Func __func, _Proj __proj = {}) const { in operator() 74 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 | 42 …operator()(_Iter __first, iter_difference_t<_Iter> __count, _Func __func, _Proj __proj = {}) const… in operator() 43 auto __last = std::__for_each_n(std::move(__first), __count, __func, __proj); 44 return {std::move(__last), std::move(__func)};
|
| H A D | for_each_n_segment.h | 29 __for_each_n_segment(_SegmentedIterator __first, _Size __orig_n, _Functor __func) { in __for_each_n_segment() argument 50 __func(__local_first, __local_last); in __for_each_n_segment() 53 __func(__local_first, __local_last); in __for_each_n_segment()
|
| H A D | for_each.h | 44 __for_each(_SegmentedIterator __first, _SegmentedIterator __last, _Func& __func, _Proj& __proj) { in __for_each() argument 47 std::__for_each(__lfirst, __llast, __func, __proj); in __for_each()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | for_each_segment.h | 26 …I void __for_each_segment(_SegmentedIterator __first, _SegmentedIterator __last, _Functor __func) { in __for_each_segment() argument 34 __func(_Traits::__local(__first), _Traits::__local(__last)); in __for_each_segment() 39 __func(_Traits::__local(__first), _Traits::__end(__sfirst)); in __for_each_segment() 43 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst)); in __for_each_segment() 47 __func(_Traits::__begin(__sfirst), _Traits::__local(__last)); in __for_each_segment()
|
| /freebsd/contrib/llvm-project/libcxx/include/__utility/ |
| H A D | terminate_on_exception.h | |
| H A D | scope_guard.h | 30 …IDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __scope_guard(_Func __func) : __func_(std::move(__func)) {} in __scope_guard() argument 47 …HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 __scope_guard<_Func> __make_scope_guard(_Func __func) { in __make_scope_guard() argument 48 return __scope_guard<_Func>(std::move(__func)); in __make_scope_guard()
|
| 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/__pstl/cpu_algos/ |
| H A D | for_each.h | 44 …y&& __policy, _ForwardIterator __first, _ForwardIterator __last, _Function __func) const noexcept { in operator() 48 …__first, __last, [&__policy, __func](_ForwardIterator __brick_first, _ForwardIterator __brick_last… in operator() 51 … _ForEachUnseq()(std::__remove_parallel_policy(__policy), __brick_first, __brick_last, __func); in operator() 56 __pstl::__simd_for_each(__first, __last - __first, __func); in operator() 59 std::for_each(__first, __last, __func); in operator()
|
| /freebsd/contrib/llvm-project/libcxx/include/__functional/ |
| H A D | function.h | 155 class __func; 158 class __func<_Fp, _Rp(_ArgTypes...)> : public __base<_Rp(_ArgTypes...)> { 162 _LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f) : __func_(std::move(__f)) {} 163 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f) : __func_(__f) {} 165 …ROM_ABI_VIRTUAL __base<_Rp(_ArgTypes...)>* __clone() const override { return new __func(__func_); } 168 ::new ((void*)__p) __func(__func_); 197 typedef __base<_Rp(_ArgTypes...)> __func; 198 __func* __f_; 200 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_CFI static __func* __as_base(void* __p) { return reinterpret_cast… 207 typedef __function::__func<_Fp, _Rp(_ArgTypes...)> _Fun; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
| H A D | once_flag.h | 127 inline _LIBCPP_HIDE_FROM_ABI void call_once(once_flag& __flag, _Callable&& __func, _Args&&... __arg… in call_once() argument 130 _Gp __f(std::forward<_Callable>(__func), std::forward<_Args>(__args)...); in call_once() 139 inline _LIBCPP_HIDE_FROM_ABI void call_once(once_flag& __flag, _Callable& __func) { in call_once() argument 141 __call_once_param<_Callable> __p(__func); in call_once() 147 inline _LIBCPP_HIDE_FROM_ABI void call_once(once_flag& __flag, const _Callable& __func) { in call_once() argument 149 __call_once_param<const _Callable> __p(__func); in call_once()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__mutex/ |
| H A D | once_flag.h | 82 inline _LIBCPP_HIDE_FROM_ABI void call_once(once_flag& __flag, _Callable& __func) { in call_once() argument 84 __call_once_param<_Callable> __p(__func); in call_once() 90 inline _LIBCPP_HIDE_FROM_ABI void call_once(once_flag& __flag, const _Callable& __func) { in call_once() argument 92 __call_once_param<const _Callable> __p(__func); in call_once()
|
| /freebsd/contrib/llvm-project/libcxx/include/__pstl/backends/ |
| H A D | libdispatch.h | 58 __dispatch_apply(size_t __chunk_count, void* __context, void (*__func)(void* __context, size_t __ch… 61 _LIBCPP_HIDE_FROM_ABI void __dispatch_apply(size_t __chunk_count, _Func __func) noexcept { in __dispatch_apply() argument 62 __libdispatch::__dispatch_apply(__chunk_count, &__func, [](void* __context, size_t __chunk) { in __dispatch_apply() 77 …tch_parallel_for(__chunk_partitions __partitions, _RandomAccessIterator __first, _Functor __func) { in __dispatch_parallel_for() argument 85 __func(__first + __index, __first + __index + __this_chunk_size); in __dispatch_parallel_for() 96 __for_each(_RandomAccessIterator __first, _RandomAccessIterator __last, _Functor __func) { 98 __libdispatch::__partition_chunks(__last - __first), std::move(__first), std::move(__func));
|
| H A D | serial.h | 62 …operator()(_Policy&&, _ForwardIterator __first, _ForwardIterator __last, _Function&& __func) const… 63 std::for_each(std::move(__first), std::move(__last), std::forward<_Function>(__func));
|
| H A D | default.h | 188 …operator()(_Policy&& __policy, _ForwardIterator __first, _Size __size, _Function __func) const noe… 192 return _ForEach()(__policy, std::move(__first), std::move(__last), std::move(__func)); 195 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 | 101 _LIBCPP_EXPORTED_FROM_ABI int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*)…
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__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 | 101 _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 | 254 #define __FOR_EACH_VDEV(__zhp, __nv, __func) { \ argument 259 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
|