Home
last modified time | relevance | path

Searched refs:__f (Results 1 – 25 of 73) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dfunction.h121 return !!__f;
375 else if ((void*)__f.__f_ == &__f.__buf_) {
385 else if ((void*)__f.__f_ == &__f.__buf_) {
405 else if ((void*)__f.__f_ == &__f.__buf_) {
448 __f.__f_ = __as_base(&__f.__buf_);
453 __f.__f_ = __as_base(&__f.__buf_);
454 } else if ((void*)__f.__f_ == &__f.__buf_) {
676 : __buf_(__f.__buf_), __invoker_(__f.__invoker_), __policy_(__f.__policy_) {
682 : __buf_(__f.__buf_), __invoker_(__f.__invoker_), __policy_(__f.__policy_) {
1007 return !__f;
[all …]
H A Dmem_fun_ref.h45 return mem_fun_t<_Sp, _Tp>(__f); in mem_fun()
50 return mem_fun1_t<_Sp, _Tp, _Ap>(__f); in mem_fun()
73 return mem_fun_ref_t<_Sp, _Tp>(__f); in mem_fun_ref()
78 mem_fun_ref(_Sp (_Tp::*__f)(_Ap)) { in mem_fun_ref()
79 return mem_fun1_ref_t<_Sp, _Tp, _Ap>(__f); in mem_fun_ref()
103 return const_mem_fun_t<_Sp, _Tp>(__f); in mem_fun()
108 mem_fun(_Sp (_Tp::*__f)(_Ap) const) { in mem_fun()
109 return const_mem_fun1_t<_Sp, _Tp, _Ap>(__f); in mem_fun()
132 mem_fun_ref(_Sp (_Tp::*__f)() const) { in mem_fun_ref()
133 return const_mem_fun_ref_t<_Sp, _Tp>(__f); in mem_fun_ref()
[all …]
H A Dbind_back.h35 …_LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Fn&& __f, _BoundArgs&& __bound_args, _Args&&... _…
36 noexcept(noexcept(std::invoke(std::forward<_Fn>(__f),
39 -> decltype(std::invoke(std::forward<_Fn>(__f),
42 return std::invoke(std::forward<_Fn>(__f),
56 _LIBCPP_HIDE_FROM_ABI constexpr auto __bind_back(_Fn&& __f, _Args&&... __args) noexcept(
58 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...))))
60 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...))) {
62 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...));
H A Dinvoke.h27 invoke(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_v<_Fn, _Args...>) { in invoke() argument
28 return std::__invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke()
37 invoke_r(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_r_v<_Result, _Fn, _Args...>) { in invoke_r() argument
39 static_cast<void>(std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...)); in invoke_r()
47 return std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke_r()
H A Dpointer_to_unary_function.h30 _LIBCPP_HIDE_FROM_ABI explicit pointer_to_unary_function(_Result (*__f)(_Arg)) : __f_(__f) {} in pointer_to_unary_function()
36 ptr_fun(_Result (*__f)(_Arg)) { in ptr_fun()
37 return pointer_to_unary_function<_Arg, _Result>(__f); in ptr_fun()
H A Ddefault_searcher.h33 …default_searcher(_ForwardIterator __f, _ForwardIterator __l, _BinaryPredicate __p = _BinaryPredica…
34 : __first_(__f), __last_(__l), __pred_(__p) {} in __first_() argument
38 operator()(_ForwardIterator2 __f, _ForwardIterator2 __l) const { in operator()
40 return std::__search_impl(__f, __l, __first_, __last_, __pred_, __proj, __proj); in operator()
H A Dpointer_to_binary_function.h30 …BCPP_HIDE_FROM_ABI explicit pointer_to_binary_function(_Result (*__f)(_Arg1, _Arg2)) : __f_(__f) {} in pointer_to_binary_function()
36 ptr_fun(_Result (*__f)(_Arg1, _Arg2)) { in ptr_fun()
37 return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__f); in ptr_fun()
H A Dbind.h194 __apply_functor(_Fp& __f, _BoundArgs& __bound_args, __tuple_indices<_Indx...>, _Args&& __args) {
195 return std::__invoke(__f, std::__mu(std::get<_Indx>(__bound_args), __args)...);
216 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit __bind(_Gp&& __f, _BA&&... __bound_ar…
217 : __f_(std::forward<_Gp>(__f)), __bound_args_(std::forward<_BA>(__bound_args)...) {}
250 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit __bind_r(_Gp&& __f, _BA&&... __bound_…
251 : base(std::forward<_Gp>(__f), std::forward<_BA>(__bound_args)...) {}
279 bind(_Fp&& __f, _BoundArgs&&... __bound_args) {
281 return type(std::forward<_Fp>(__f), std::forward<_BoundArgs>(__bound_args)...);
286 bind(_Fp&& __f, _BoundArgs&&... __bound_args) {
288 return type(std::forward<_Fp>(__f), std::forward<_BoundArgs>(__bound_args)...);
/freebsd-14.2/include/xlocale/
H A D_ctype.h71 __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
73 __istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
76 __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __maskrune_l() argument
81 runes->__runetype[__c]) & __f; in __maskrune_l()
85 __istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __istype_l() argument
87 return (!!__maskrune_l(__c, __f, __loc)); in __istype_l()
98 __sbistype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
101 __sbmaskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __sbmaskrune_l() argument
106 runes->__runetype[__c] & __f; in __sbmaskrune_l()
110 __sbistype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) in __sbistype_l() argument
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__random/
H A Dmersenne_twister_engine.h43 _UIntType __f>
135 _UIntType __f>
325 _UIntType __f>
342 _UIntType __f>
359 _UIntType __f>
408 __f>::result_type
456 __f>::result_type
504 __f>::result_type
552 __f>::result_type
600 __f>::result_type
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h983 return std::invoke(std::forward<_Func>(__f), error());
996 return std::invoke(std::forward<_Func>(__f), error());
1654 return std::invoke(std::forward<_Func>(__f));
1667 return std::invoke(std::forward<_Func>(__f));
1680 return std::invoke(std::forward<_Func>(__f));
1693 return std::invoke(std::forward<_Func>(__f));
1707 return std::invoke(std::forward<_Func>(__f), error());
1758 std::invoke(std::forward<_Func>(__f));
1773 std::invoke(std::forward<_Func>(__f));
1788 std::invoke(std::forward<_Func>(__f));
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h36 _LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_WITH_CHAR8_T path u8path(_InputIt __f, _InputIt __l) { in u8path() argument
45 string __tmp(__f, __l); in u8path()
52 return path(__f, __l); in u8path()
58 _LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_WITH_CHAR8_T path u8path(_InputIt __f, _NullSentinel) { in u8path() argument
68 for (; *__f != __sentinel; ++__f) in u8path()
69 __tmp.push_back(*__f); in u8path()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfold.h82 operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator()
89 _Up __result = std::invoke(__f, std::move(__init), *__first); in operator()
91 __result = std::invoke(__f, std::move(__result), *__first); in operator()
98 …ISCARD_EXT _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __f) { in operator()
99 …auto __result = operator()(ranges::begin(__r), ranges::end(__r), std::move(__init), std::ref(__f)); in operator()
111 operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator()
112 …fold_left_with_iter(std::move(__first), std::move(__last), std::move(__init), std::ref(__f)).value; in operator()
116 …ISCARD_EXT _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __f) { in operator()
117 … fold_left_with_iter(ranges::begin(__r), ranges::end(__r), std::move(__init), std::ref(__f)).value; in operator()
H A Dfor_each.h32 for_each(_InputIterator __first, _InputIterator __last, _Function __f) { in for_each() argument
34 __f(*__first); in for_each()
35 return __f; in for_each()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dfuture1486 else if (__f.__f_ == __f.__get_buf()) {
1491 __f.__f_ = nullptr;
1542 else if (__f.__f_ == __f.__get_buf()) {
1562 if (__f_ == (__base*)&__buf_ && __f.__f_ == (__base*)&__f.__buf_) {
1576 __f.__f_ = (__base*)&__f.__buf_;
1581 __f.__f_ = (__base*)&__f.__buf_;
1582 } else if (__f.__f_ == (__base*)&__f.__buf_) {
1585 __f.__f_ = __f_;
1889 …_LIBCPP_HIDE_FROM_ABI shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f.__…
1945 …_LIBCPP_HIDE_FROM_ABI shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f._…
[all …]
H A Dlist634 __f = __f->__next_;
993 __f->__prev_->__next_ = __f;
1029 for (; __f != __l; ++__f)
1040 for (; __f != __l; ++__f)
1135 for (; __f != __l && __i != __e; ++__f, (void)++__i)
1224 for (++__f; __f != __l; ++__f, (void)++__e, ++__ds) {
1373 ++__f;
1470 base::__unlink_nodes(__f, __f);
1471 __link_nodes(__p.__ptr_, __f, __f);
1606 base::__unlink_nodes(__f, __f);
[all …]
H A Ddeque1396 for (; __f != __l && __i != __e; ++__f, (void)++__i)
1397 *__i = *__f;
1407 __assign_with_size_random_access(__f, __l - __f);
1944 for (; __f != __l; ++__f)
1955 __append_with_size(__f, std::distance(__f, __l));
2282 // move assign [__f, __l) to [__r, __r + (__l-__f)).
2288 // for (; __f != __l; ++__f, ++__r)
2303 __f += __bs;
2308 // move assign [__f, __l) to [__r - (__l-__f), __r) backwards.
2335 // move construct [__f, __l) to [__r, __r + (__l-__f)).
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Dinvoke.h296 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
303 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
310 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
319 __invoke(_Fp&& __f, _A0&& __a0)
320 _NOEXCEPT_(noexcept(static_cast<_A0&&>(__a0).*__f))
321 { return static_cast<_A0&&>(__a0).*__f; }
326 __invoke(_Fp&& __f, _A0&& __a0)
327 _NOEXCEPT_(noexcept(__a0.get().*__f))
328 { return __a0.get().*__f; }
333 __invoke(_Fp&& __f, _A0&& __a0)
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_base.h71 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak()
72 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_weak()
73 … std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s, __f); in compare_exchange_weak()
75 …ROM_ABI bool compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) _NOEXCEPT in compare_exchange_weak()
76 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_weak()
77 … std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s, __f); in compare_exchange_weak()
80 compare_exchange_strong(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_strong()
81 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_strong()
82 …td::__cxx_atomic_compare_exchange_strong(std::addressof(__a_), std::addressof(__e), __d, __s, __f); in compare_exchange_strong()
85 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_strong()
[all …]
H A Dcheck_memory_order.h26 #define _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__m, __f) … argument
27 …_LIBCPP_DIAGNOSE_WARNING(__f == memory_order_release || __f == memory_order_acq_rel, …
/freebsd-14.2/contrib/llvm-project/libcxx/include/__mutex/
H A Donce_flag.h87 _LIBCPP_HIDE_FROM_ABI explicit __call_once_param(_Fp& __f) : __f_(__f) {} in __call_once_param() argument
108 _LIBCPP_HIDE_FROM_ABI explicit __call_once_param(_Fp& __f) : __f_(__f) {} in __call_once_param() argument
129 _Gp __f(std::forward<_Callable>(__func), std::forward<_Args>(__args)...); in call_once()
130 __call_once_param<_Gp> __p(__f); in call_once()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/pstl_backends/cpu_backends/
H A Dtransform_reduce.h44 __simd_transform_reduce(_DifferenceType __n, _Tp __init, _BinaryOperation, _UnaryOperation __f) noe… in __simd_transform_reduce() argument
47 __init += __f(__i); in __simd_transform_reduce()
60 __simd_transform_reduce(_Size __n, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __f) n… in __simd_transform_reduce() argument
69 ::new (__lane + __i) _Tp(__binary_op(__f(__i), __f(__block_size + __i))); in __simd_transform_reduce()
77 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__i + __j)); in __simd_transform_reduce()
83 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__last_iteration + __j)); in __simd_transform_reduce()
96 __init = __binary_op(std::move(__init), __f(__i)); in __simd_transform_reduce()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h161 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp&& __f, _Args&&... __args);
164 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp __f);
207 thread::thread(_Fp&& __f, _Args&&... __args) {
211 …unique_ptr<_Gp> __p(new _Gp(std::move(__tsp), std::forward<_Fp>(__f), std::forward<_Args>(__args).…
226 _LIBCPP_HIDE_FROM_ABI __thread_invoke_pair(_Fp& __f) : __tsp_(new __thread_struct), __fn_(__f) {}
240 thread::thread(_Fp __f) {
243 _PairPtr __pp(new _InvokePair(__f));
/freebsd-14.2/contrib/llvm-project/libcxx/include/__numeric/
H A Dmidpoint.h62 _LIBCPP_HIDE_FROM_ABI constexpr _Fp __fp_abs(_Fp __f) { in __fp_abs() argument
63 return __f >= 0 ? __f : -__f; in __fp_abs()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Dnon_propagating_cache.h50 _LIBCPP_HIDE_FROM_ABI constexpr explicit __wrapper(__from_tag, _Fn const& __f) : __t_(__f()) {} in __wrapper()
86 _LIBCPP_HIDE_FROM_ABI constexpr _Tp& __emplace_from(_Fn const& __f) { in __emplace_from() argument
87 return __value_.emplace(__from_tag{}, __f).__t_; in __emplace_from()

123