Home
last modified time | relevance | path

Searched refs:__func (Results 1 – 16 of 16) sorted by relevance

/openbsd-src/gnu/llvm/libcxx/include/__algorithm/
H A Dranges_for_each.h41 …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 Dranges_for_each_n.h45 _Func __func, in operator()
48 std::invoke(__func, std::invoke(__proj, *__first));
51 return {std::move(__first), std::move(__func)};
/openbsd-src/gnu/llvm/libcxx/include/__functional/
H A Dfunction.h279 template<class _FD, class _Alloc, class _FB> class __func;
282 class __func<_Fp, _Alloc, _Rp(_ArgTypes...)>
288 explicit __func(_Fp&& __f)
292 explicit __func(const _Fp& __f, const _Alloc& __a)
296 explicit __func(const _Fp& __f, _Alloc&& __a)
300 explicit __func(_Fp&& __f, _Alloc&& __a)
316 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone() const
319 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
322 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
323 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a));
[all …]
/openbsd-src/gnu/llvm/libcxx/src/support/win32/
H A Dthread_win32.cpp177 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()
/openbsd-src/gnu/llvm/libcxx/src/
H A Dlegacy_debug_handler.cpp49 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()
/openbsd-src/gnu/llvm/clang/lib/Headers/
H A D__clang_hip_cmath.h190 #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); \
/openbsd-src/gnu/usr.bin/gcc/gcc/fixinc/tests/base/
H A Dstdlib.h64 int atexit( void (*__func)( void ) );
/openbsd-src/gnu/llvm/libcxx/include/
H A Dmutex663 call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args)
668 _Gp __f(_VSTD::forward<_Callable>(__func), _VSTD::forward<_Args>(__args)...);
679 call_once(once_flag& __flag, _Callable& __func)
683 __call_once_param<_Callable> __p(__func);
691 call_once(once_flag& __flag, const _Callable& __func)
695 __call_once_param<const _Callable> __p(__func);
H A D__threading_support221 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *),
375 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *),
378 return pthread_create(__t, nullptr, __func, __arg);
536 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *),
539 int __ec = thrd_create(__t, reinterpret_cast<thrd_start_t>(__func), __arg);
/openbsd-src/gnu/gcc/fixincludes/tests/base/
H A Dstdlib.h56 int atexit( void (*__func)( void ) );
/openbsd-src/gnu/llvm/libcxx/include/__utility/
H A Dinteger_sequence.h144 …DE_FROM_ABI constexpr void __for_each_index_sequence(index_sequence<_Index...>, _Function __func) {
145 (__func.template operator()<_Index>(), ...);
/openbsd-src/gnu/lib/libstdc++/libstdc++/config/locale/ieee_1003.1-2001/
H A Dcodecvt_specializations.h250 __iconv_adaptor(size_t(*__func)(iconv_t, _T, size_t*, char**, size_t*), in __iconv_adaptor()
253 { return __func(__cd, (_T)__inbuf, __inbytes, __outbuf, __outbytes); } in __iconv_adaptor()
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/
H A Dcodecvt_specializations.h306 __iconv_adaptor(size_t(*__func)(iconv_t, _Tp, size_t*, char**, size_t*), in __iconv_adaptor()
309 { return __func(__cd, (_Tp)__inbuf, __inbytes, __outbuf, __outbytes); } in __iconv_adaptor()
/openbsd-src/gnu/llvm/libcxx/include/__ranges/
H A Dtransform_view.h75 constexpr transform_view(_View __base, _Fn __func) in transform_view() argument
76 : __func_(std::in_place, std::move(__func)), __base_(std::move(__base)) {} in transform_view()
/openbsd-src/gnu/usr.bin/gcc/gcc/fixinc/
H A Dinclhack.def3378 c_fix_arg = "atexit( void (*__func)( void )";
3380 test_text = "int atexit( void (*__func)() );\n";
/openbsd-src/gnu/gcc/fixincludes/
H A Dinclhack.def4208 c_fix_arg = "atexit( void (*__func)( void )";
4210 test_text = "int atexit( void (*__func)() );\n";