| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | ranges_for_each.h | 41 …for_each_result<_Iter, _Func> __for_each_impl(_Iter __first, _Sent __last, _Func& __func, _Proj& _… in __for_each_impl() 43 std::invoke(__func, std::invoke(__proj, *__first)); in __for_each_impl() 44 return {std::move(__first), std::move(__func)}; in __for_each_impl() 52 …for_each_result<_Iter, _Func> operator()(_Iter __first, _Sent __last, _Func __func, _Proj __proj =… in operator() 53 return __for_each_impl(std::move(__first), std::move(__last), __func, __proj); 61 _Func __func, in operator() 63 return __for_each_impl(ranges::begin(__range), ranges::end(__range), __func, __proj);
|
| H A D | ranges_for_each_n.h | 45 _Func __func, in operator() 48 std::invoke(__func, std::invoke(__proj, *__first)); 51 return {std::move(__first), std::move(__func)};
|
| /llvm-project-15.0.7/libcxx/include/__functional/ |
| H A D | function.h | 291 explicit __func(_Fp&& __f) 391 __func* __f_; 498 __func* __f = __f_; 928 ::new ((void*)__p) __func(__f_); 978 __func __f_; 1338 class __func<_Fp, _Alloc, _Rp()> 1378 __func<_Fp, _Alloc, _Rp()>::destroy() 1396 __func<_Fp, _Alloc, _Rp()>::operator()() 1423 class __func<_Fp, _Alloc, _Rp(_A0)> 1464 __func<_Fp, _Alloc, _Rp(_A0)>::destroy() [all …]
|
| /llvm-project-15.0.7/libcxx/src/support/win32/ |
| H A D | thread_win32.cpp | 177 void *(*__func)(void *); member 186 auto *__func = __data->__func; in __libcpp_beginthreadex_thunk() local 189 return static_cast<unsigned>(reinterpret_cast<uintptr_t>(__func(__arg))); in __libcpp_beginthreadex_thunk() 196 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *), in __libcpp_thread_create() 200 __data->__func = __func; in __libcpp_thread_create()
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | legacy_debug_handler.cpp | 49 bool __libcpp_set_debug_function(__libcpp_debug_function_type __func) { in __libcpp_set_debug_function() argument 50 __libcpp_debug_function = __func; in __libcpp_set_debug_function()
|
| /llvm-project-15.0.7/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); \
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | mutex | 666 call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args) 671 _Gp __f(_VSTD::forward<_Callable>(__func), _VSTD::forward<_Args>(__args)...); 682 call_once(once_flag& __flag, _Callable& __func) 686 __call_once_param<_Callable> __p(__func); 694 call_once(once_flag& __flag, const _Callable& __func) 698 __call_once_param<const _Callable> __p(__func);
|
| H A D | __threading_support | 219 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *), 373 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *), 376 return pthread_create(__t, nullptr, __func, __arg); 534 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *), 537 int __ec = thrd_create(__t, reinterpret_cast<thrd_start_t>(__func), __arg);
|
| /llvm-project-15.0.7/libcxx/include/__ranges/ |
| H A D | transform_view.h | 73 constexpr transform_view(_View __base, _Fn __func) in transform_view() argument 74 : __func_(std::in_place, std::move(__func)), __base_(std::move(__base)) {} in transform_view()
|