/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | function.h | 122 _LIBCPP_HIDE_FROM_ABI bool __not_null(function<_Fp> const& __f) { 123 return !!__f; 157 _LIBCPP_HIDE_FROM_ABI explicit __alloc_func(_Target&& __f) 158 : __f_(piecewise_construct, std::forward_as_tuple(std::move(__f)), std::forward_as_tuple()) {} 160 _LIBCPP_HIDE_FROM_ABI explicit __alloc_func(const _Target& __f, const _Alloc& __a) 161 : __f_(piecewise_construct, std::forward_as_tuple(__f), std::forward_as_tuple(__a)) {} 163 _LIBCPP_HIDE_FROM_ABI explicit __alloc_func(const _Target& __f, _Alloc&& __a) 164 … : __f_(piecewise_construct, std::forward_as_tuple(__f), std::forward_as_tuple(std::move(__a))) {} 166 _LIBCPP_HIDE_FROM_ABI explicit __alloc_func(_Target&& __f, _Alloc&& __a) 167 …: __f_(piecewise_construct, std::forward_as_tuple(std::move(__f)), std::forward_as_tuple(std::move… [all …]
|
H A D | mem_fun_ref.h | 44 _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() 102 …_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI const_mem_fun_t<_Sp, _Tp> mem_fun(_Sp (_Tp::*__f)() const) { in mem_fun() 103 return const_mem_fun_t<_Sp, _Tp>(__f); in mem_fun() [all …]
|
H A D | bind_back.h | 35 …_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 D | invoke.h | 27 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...>) { 39 static_cast<void>(std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...)); in invoke_r() argument 47 return std::invoke(std::forward<_Fn>(__f), std::forward<_Args>(__args)...); in invoke_r()
|
H A D | pointer_to_unary_function.h | 30 _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 D | default_searcher.h | 33 default_searcher(_ForwardIterator __f, _ForwardIterator __l, _BinaryPredicate __p = _BinaryPredicate()) 34 : __first_(__f), __last_(__l), __pred_(__p) {} 38 operator()(_ForwardIterator2 __f, _ForwardIterator2 __l) const { 40 return std::__search_impl(__f, __l, __first_, __last_, __pred_, __proj, __proj); in operator() 35 __first_(__f) __first_() argument
|
H A D | pointer_to_binary_function.h | 30 …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()
|
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
H A D | invoke.h | 102 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args) 103 _NOEXCEPT_(noexcept((static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...))) 104 { return (static_cast<_A0&&>(__a0).*__f)(static_cast<_Args&&>(__args)...); } 109 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args) 110 _NOEXCEPT_(noexcept((__a0.get().*__f)(static_cast<_Args&&>(__args)...))) 111 { return (__a0.get().*__f)(static_cast<_Args&&>(__args)...); } 116 __invoke(_Fp&& __f, _A0&& __a0, _Args&&... __args) 117 _NOEXCEPT_(noexcept(((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...))) 118 { return ((*static_cast<_A0&&>(__a0)).*__f)(static_cast<_Args&&>(__args)...); } 125 __invoke(_Fp&& __f, _A0&& __a0) [all …]
|
/freebsd/include/xlocale/ |
H A D | _ctype.h | 71 __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/__random/ |
H A D | mersenne_twister_engine.h | 43 _UIntType __f> 135 _UIntType __f> 165 static_assert(__f <= _Max, "mersenne_twister_engine invalid parameters"); 180 static _LIBCPP_CONSTEXPR const result_type initialization_multiplier = __f; 325 _UIntType __f> 327 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::word_size; 342 _UIntType __f> in seed() 344 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::state_size; 359 _UIntType __f> in __seed() 361 mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f> in __seed() [all...] |
/freebsd/contrib/llvm-project/libcxx/include/__expected/ |
H A D | expected.h | 111 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args) 112 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {} 125 __conditional_no_unique_address_invoke_tag, _Func&& __f, _Args&&... __args) 126 : __v(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {} 239 std::__expected_construct_in_place_from_invoke_tag, _Func&& __f, _Args&&... __args) 240 : __val_(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {} 244 std::__expected_construct_unexpected_from_invoke_tag, _Func&& __f, _Args&&... __args) 245 : __unex_(std::invoke(std::forward<_Func>(__f), std::forward<_Args>(__args)...)) {} 528 std::__expected_construct_in_place_from_invoke_tag __tag, _Func&& __f, _Args&&... __args) 529 : __base(__tag, std::forward<_Func>(__f), std::forward<_Args>(__args)...) {} [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | u8path.h | 35 _LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_WITH_CHAR8_T path u8path(_InputIt __f, _InputIt __l) { in u8path() argument 44 string __tmp(__f, __l); in u8path() 51 return path(__f, __l); in u8path() 57 _LIBCPP_HIDE_FROM_ABI _LIBCPP_DEPRECATED_WITH_CHAR8_T path u8path(_InputIt __f, _NullSentinel) { in u8path() argument 67 for (; *__f != __sentinel; ++__f) in u8path() 68 __tmp.push_back(*__f); in u8path()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | future | 764 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f); 770 …ferred_assoc_state<_Rp, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) { 794 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f); 800 …erred_assoc_state<void, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) { 827 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f); 833 … __async_assoc_state<_Rp, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {} 863 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f); 869 …__async_assoc_state<void, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {} 902 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f); 905 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f); [all …]
|
H A D | list | 514 …_LIBCPP_HIDE_FROM_ABI static void __unlink_nodes(__link_pointer __f, __link_pointer __l) _NOEXCEPT; 594 // Unlink nodes [__f, __l] 596 inline void __list_imp<_Tp, _Alloc>::__unlink_nodes(__link_pointer __f, __link_pointer __l) _NOEXCE… 597 __f->__prev_->__next_ = __l->__next_; 598 __l->__next_->__prev_ = __f->__prev_; 624 __link_pointer __f = __end_.__next_; 626 __unlink_nodes(__f, __l->__prev_); 628 while (__f != __l) { 629 __node_pointer __np = __f->__as_node(); 630 __f = __f->__next_; [all …]
|
H A D | deque | 625 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l); 627 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l, const allocator_type& __a); 671 _LIBCPP_HIDE_FROM_ABI void assign(_InputIter __f, _InputIter __l); 673 _LIBCPP_HIDE_FROM_ABI void assign(_RAIter __f, _RAIter __l); 798 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _InputIter __f, _InputIter __l); 801 …_LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _ForwardIterator __f, _ForwardIterator _… 803 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _BiIter __f, _BiIter __l); 825 _LIBCPP_HIDE_FROM_ABI iterator erase(const_iterator __f, const_iterator __l); 1167 _LIBCPP_HIDE_FROM_ABI void __assign_with_sentinel(_Iterator __f, _Sentinel __l); 1170 …_LIBCPP_HIDE_FROM_ABI void __assign_with_size_random_access(_RandomAccessIterator __f, difference_… [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | fold.h | 81 …BCPP_HIDE_FROM_ABI static constexpr auto operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator() 88 _Up __result = std::invoke(__f, std::move(__init), *__first); in operator() 90 __result = std::invoke(__f, std::move(__result), *__first); in operator() 97 …odiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __f) { in operator() 98 …auto __result = operator()(ranges::begin(__r), ranges::end(__r), std::move(__init), std::ref(__f)); in operator() 109 …BCPP_HIDE_FROM_ABI static constexpr auto operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) { in operator() 110 …fold_left_with_iter(std::move(__first), std::move(__last), std::move(__init), std::ref(__f)).value; in operator() 114 …odiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Rp&& __r, _Tp __init, _Fp __f) { in operator() 115 … fold_left_with_iter(ranges::begin(__r), ranges::end(__r), std::move(__init), std::ref(__f)).value; in operator()
|
H A D | for_each.h | 32 for_each(_InputIterator __first, _InputIterator __last, _Function __f) { 34 __f(*__first); 35 return __f; 24 for_each(_InputIterator __first,_InputIterator __last,_Function __f) for_each() argument
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/omp/ |
H A D | parallel_for.h |
|
H A D | parallel_for_each.h |
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/ |
H A D | utils.h |
|
/freebsd/contrib/llvm-project/libcxx/include/__ostream/ |
H A D | basic_ostream.h | 97 basic_ostream& operator<<(float __f); 98 basic_ostream& operator<<(double __f); 99 basic_ostream& operator<<(long double __f); 231 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable 232 if (__f.put(*this, *this, this->fill(), __n).failed()) 252 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable 253 if (__f.put(*this, 278 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable 279 if (__f.put(*this, *this, this->fill(), static_cast<unsigned long>(__n)).failed()) 299 const _Fp& __f = std::use_facet<_Fp>(this->getloc()); variable [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__atomic/ |
H A D | atomic_base.h | 70 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak() 71 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_weak() 72 … std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s, __f); in compare_exchange_weak() 74 …ROM_ABI bool compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) _NOEXCEPT in compare_exchange_weak() 75 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_weak() 76 … std::__cxx_atomic_compare_exchange_weak(std::addressof(__a_), std::addressof(__e), __d, __s, __f); in compare_exchange_weak() 79 compare_exchange_strong(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_strong() 80 _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__s, __f) { in compare_exchange_strong() 81 …td::__cxx_atomic_compare_exchange_strong(std::addressof(__a_), std::addressof(__e), __d, __s, __f); in compare_exchange_strong() 83 …M_ABI bool compare_exchange_strong(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) _NOEXCEPT in compare_exchange_strong() [all …]
|
H A D | check_memory_order.h | 26 #define _LIBCPP_CHECK_EXCHANGE_MEMORY_ORDER(__m, __f) … argument 27 …_LIBCPP_DIAGNOSE_WARNING(__f == memory_order_release || __f == memory_order_acq_rel, …
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | thread.h | 160 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp&& __f, _Args&&... __args); 163 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp __f); 206 thread::thread(_Fp&& __f, _Args&&... __args) { 210 …unique_ptr<_Gp> __p(new _Gp(std::move(__tsp), std::forward<_Fp>(__f), std::forward<_Args>(__args).… 225 _LIBCPP_HIDE_FROM_ABI __thread_invoke_pair(_Fp& __f) : __tsp_(new __thread_struct), __fn_(__f) {} 239 thread::thread(_Fp __f) { 242 _PairPtr __pp(new _InvokePair(__f));
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/ |
H A D | transform_reduce.h | 47 __simd_transform_reduce(_DifferenceType __n, _Tp __init, _BinaryOperation, _UnaryOperation __f) noe… in __simd_transform_reduce() argument 50 __init += __f(__i); in __simd_transform_reduce() 64 __simd_transform_reduce(_Size __n, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __f) n… in __simd_transform_reduce() argument 74 ::new (__lane + __i) _Tp(__binary_op(__f(__i), __f(__block_size + __i))); in __simd_transform_reduce() 82 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__i + __j)); in __simd_transform_reduce() 88 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__last_iteration + __j)); in __simd_transform_reduce() 101 __init = __binary_op(std::move(__init), __f(__i)); in __simd_transform_reduce()
|