Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dfunction.h113 _LIBCPP_HIDE_FROM_ABI bool __not_null(function<_Fp> const& __f) {
114 return !!__f;
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) {}
206 _LIBCPP_HIDE_FROM_ABI explicit __value_func(_Fp&& __f) : __f_(nullptr) {
209 if (__function::__not_null(__f)) {
211 __f_ = ::new (std::addressof(__buf_)) _Fun(std::move(__f));
213 __f_ = new _Fun(std::move(__f));
218 _LIBCPP_HIDE_FROM_ABI __value_func(const __value_func& __f) {
219 if (__f.__f_ == nullptr)
[all …]
H A Dmem_fun_ref.h44 _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun_t<_Sp, _Tp> mem_fun(_Sp (_Tp::*__f in mem_fun() argument
45 return mem_fun_t<_Sp, _Tp>(__f); in mem_fun()
49 …TED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) { in mem_fun()
50 return mem_fun1_t<_Sp, _Tp, _Ap>(__f); in mem_fun()
72 …ATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun_ref_t<_Sp, _Tp> mem_fun_ref(_Sp (_Tp::*__f)()) { in mem_fun_ref() argument
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()
101 …_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI const_mem_fun_t<_Sp, _Tp> mem_fun(_Sp (_Tp::*__f)() const) { in mem_fun()
102 return const_mem_fun_t<_Sp, _Tp>(__f); in mem_fun()
[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)...));
67 _LIBCPP_HIDE_FROM_ABI constexpr auto bind_back(_Fn&& __f, _Args&&... __args) {
75 std::forward<_Fn>(__f), std::forward_as_tuple(std::forward<_Args>(__args)...));
H A Dinvoke.h28 invoke(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_v<_Fn, _Args...>) { in invoke() argument
29 return std::__invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke()
38 invoke_r(_Fn&& __f, _Args&&... __args) noexcept(is_nothrow_invocable_r_v<_Result, _Fn, _Args...>) { in invoke_r() argument
40 static_cast<void>(std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...)); in invoke_r()
48 return std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke_r()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__functional/
H A Dmem_fun_ref.h42 inline _LIBCPP_HIDE_FROM_ABI mem_fun_t<_Sp, _Tp> mem_fun(_Sp (_Tp::*__f)()) { in mem_fun() argument
43 return mem_fun_t<_Sp, _Tp>(__f); in mem_fun()
47 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) { in mem_fun()
48 return mem_fun1_t<_Sp, _Tp, _Ap>(__f); in mem_fun()
70 inline _LIBCPP_HIDE_FROM_ABI mem_fun_ref_t<_Sp, _Tp> mem_fun_ref(_Sp (_Tp::*__f)()) { in mem_fun_ref() argument
71 return mem_fun_ref_t<_Sp, _Tp>(__f); in mem_fun_ref()
75 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_ref_t<_Sp, _Tp, _Ap> mem_fun_ref(_Sp (_Tp::*__f)(_Ap)) { in mem_fun_ref()
76 return mem_fun1_ref_t<_Sp, _Tp, _Ap>(__f); in mem_fun_ref()
98 inline _LIBCPP_HIDE_FROM_ABI const_mem_fun_t<_Sp, _Tp> mem_fun(_Sp (_Tp::*__f)() const) { in mem_fun()
99 return const_mem_fun_t<_Sp, _Tp>(__f); in mem_fun()
[all …]
H A Dpointer_to_unary_function.h27 _LIBCPP_HIDE_FROM_ABI explicit pointer_to_unary_function(_Result (*__f)(_Arg)) : __f_(__f) {} in pointer_to_unary_function()
32 inline _LIBCPP_HIDE_FROM_ABI pointer_to_unary_function<_Arg, _Result> ptr_fun(_Result (*__f)(_Arg))… in ptr_fun()
33 return pointer_to_unary_function<_Arg, _Result>(__f); in ptr_fun()
/freebsd/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()
96 __sbmaskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
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()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/
H A Dmersenne_twister_engine.h43 _UIntType __f>
135 _UIntType __f>
164 static_assert(__f <= _Max, "mersenne_twister_engine invalid parameters");
179 static const result_type initialization_multiplier = __f;
319 _UIntType __f>
321 …ster_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::word_size;
336 _UIntType __f>
338 …ter_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::state_size;
353 _UIntType __f>
355 …ter_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::shift_size;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfor_each_n.h44 __for_each_n(_InputIterator __first, _Size __orig_n, _Func& __f, _Proj& __proj) { in __for_each_n() argument
48 std::__invoke(__f, std::__invoke(__proj, *__first)); in __for_each_n()
61 __for_each_n(_RandIter __first, _Size __orig_n, _Func& __f, _Proj& __proj) { in __for_each_n() argument
64 std::__for_each(__first, __last, __f, __proj); in __for_each_n()
79 __for_each_n(_SegmentedIterator __first, _Size __orig_n, _Func& __f, _Proj& __proj) { in __for_each_n() argument
82 std::__for_each(__lfirst, __llast, __f, __proj); in __for_each_n()
91 for_each_n(_InputIterator __first, _Size __orig_n, _Func __f) { in for_each_n() argument
93 return std::__for_each_n(__first, __orig_n, __f, __proj); in for_each_n()
H A Dranges_fold.h82 …BCPP_HIDE_FROM_ABI static constexpr auto 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 …odiscard]] _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()
110 …BCPP_HIDE_FROM_ABI static constexpr auto operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator()
111 …fold_left_with_iter(std::move(__first), std::move(__last), std::move(__init), std::ref(__f)).value; in operator()
115 …odiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __f) { in operator()
116 … 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, _Sent __last, _Func& __f, _Proj& __proj) { in __for_each() argument
34 std::__invoke(__f, std::__invoke(__proj, *__first)); in __for_each()
55 for_each(_InputIterator __first, _InputIterator __last, _Func __f) { in for_each() argument
57 std::__for_each(__first, __last, __f, __proj); in for_each()
58 return __f; in for_each()
/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h115 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args)
116 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {}
129 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args)
130 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {}
243 std::__expected_construct_in_place_from_invoke_tag, _Func&& __f, _Args&&... __args)
244 : __val_(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {}
248 std::__expected_construct_unexpected_from_invoke_tag, _Func&& __f, _Args&&... __args)
249 : __unex_(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {}
533 std::__expected_construct_in_place_from_invoke_tag __tag, _Func&& __f, _Args&&... __args)
534 : __base(__tag, std::forward<_Func>(__f), std::forward<_Args>(__args)...) {}
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dlist488 …_LIBCPP_HIDE_FROM_ABI static void __unlink_nodes(__link_pointer __f, __link_pointer __l) _NOEXCEPT;
557 // Unlink nodes [__f, __l]
559 inline void __list_imp<_Tp, _Alloc>::__unlink_nodes(__link_pointer __f, __link_pointer __l) _NOEXCE…
560 __f->__prev_->__next_ = __l->__next_;
561 __l->__next_->__prev_ = __f->__prev_;
581 __link_pointer __f = __end_.__next_;
583 __unlink_nodes(__f, __l->__prev_);
585 while (__f != __l) {
586 __node_pointer __np = __f->__as_node();
587 __f = __f->__next_;
[all …]
H A Ddeque572 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l);
574 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l, const allocator_type& __a);
585 _LIBCPP_HIDE_FROM_ABI void assign(_InputIter __f, _InputIter __l);
587 _LIBCPP_HIDE_FROM_ABI void assign(_RAIter __f, _RAIter __l);
660 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _InputIter __f, _InputIter __l);
663 …_LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _ForwardIterator __f, _ForwardIterator _…
665 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _BiIter __f, _BiIter __l);
670 _LIBCPP_HIDE_FROM_ABI iterator erase(const_iterator __f, const_iterator __l);
999 _LIBCPP_HIDE_FROM_ABI void __assign_with_sentinel(_Iterator __f, _Sentinel __l);
1002 …_LIBCPP_HIDE_FROM_ABI void __assign_with_size_random_access(_RandomAccessIterator __f, difference_…
[all …]
H A Dfuture721 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f);
727 …ferred_assoc_state<_Rp, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {
751 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f);
757 …erred_assoc_state<void, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {
784 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f);
790 … __async_assoc_state<_Rp, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {}
820 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f);
826 …__async_assoc_state<void, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {}
859 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f);
862 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h30 _LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_WITH_CHAR8_T path u8path(_InputIt __f, _InputIt __l) { in u8path() argument
39 string __tmp(__f, __l); in u8path()
46 return path(__f, __l); in u8path()
52 _LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_WITH_CHAR8_T path u8path(_InputIt __f, _NullSentinel) { in u8path() argument
62 for (; *__f != __sentinel; ++__f) in u8path()
63 __tmp.push_back(*__f); in u8path()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dinvoke.h101 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
102 { return (static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...); }
107 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
108 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); }
113 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
114 { return ((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...); }
121 __invoke(_Fp&& __f, _A0&& __a0)
122 { return static_cast<_A0&&>(__a0).*__f; }
127 __invoke(_Fp&& __f, _A0&& __a0)
128 { return __a0.get().*__f; }
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dinvoke.h201 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
202 _NOEXCEPT_(noexcept((static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...)))
203 { return (static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...); }
208 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
209 _NOEXCEPT_(noexcept((__a0.get().*__f)(static_cast<_Args&&>(__args)...)))
210 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); }
215 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args)
216 _NOEXCEPT_(noexcept(((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...)))
217 { return ((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...); }
224 __invoke(_Fp&& __f, _A0&& __a0)
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfuture776 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f);
782 …ferred_assoc_state<_Rp, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {
806 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f);
812 …erred_assoc_state<void, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {
839 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f);
845 … __async_assoc_state<_Rp, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {}
875 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f);
881 …__async_assoc_state<void, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {}
914 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f);
917 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f);
[all …]
H A Ddeque647 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l);
649 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l, const allocator_type& __a);
694 _LIBCPP_HIDE_FROM_ABI void assign(_InputIter __f, _InputIter __l);
696 _LIBCPP_HIDE_FROM_ABI void assign(_RAIter __f, _RAIter __l);
821 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _InputIter __f, _InputIter __l);
824 …_LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _ForwardIterator __f, _ForwardIterator _…
826 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _BiIter __f, _BiIter __l);
848 _LIBCPP_HIDE_FROM_ABI iterator erase(const_iterator __f, const_iterator __l);
1190 _LIBCPP_HIDE_FROM_ABI void __assign_with_sentinel(_Iterator __f, _Sentinel __l);
1193 …_LIBCPP_HIDE_FROM_ABI void __assign_with_size_random_access(_RandomAccessIterator __f, difference_…
[all …]
H A Dlist528 __unlink_nodes(__base_pointer __f, __base_pointer __l) _NOEXCEPT;
612 // Unlink nodes [__f, __l]
615 __list_imp<_Tp, _Alloc>::__unlink_nodes(__base_pointer __f, __base_pointer __l) _NOEXCEPT {
616 __f->__prev_->__next_ = __l->__next_;
617 __l->__next_->__prev_ = __f->__prev_;
648 __base_pointer __f = __end_.__next_;
650 __unlink_nodes(__f, __l->__prev_);
652 while (__f != __l) {
653 __node_pointer __np = __f->__as_node();
654 __f = __f->__next_;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/omp/
H A Dparallel_for.h
H A Dparallel_for_each.h
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dutils.h
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__ostream/
H A Dbasic_ostream.h97 basic_ostream& operator<<(float __f);
98 basic_ostream& operator<<(double __f);
99 basic_ostream& operator<<(long double __f);
219 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable
220 if (__f.put(*this, *this, this->fill(), __n).failed())
240 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable
241 if (__f.put(*this,
266 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable
267 if (__f.put(*this, *this, this->fill(), static_cast<unsigned long>(__n)).failed())
287 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable
[all …]

12345