Home
last modified time | relevance | path

Searched refs:_Fp (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm-project/libcxx/include/
D__functional_0321 template<class _Fp> class __base;
101 template<class _Fp, class _Alloc, class _Rp>
102 class __func<_Fp, _Alloc, _Rp()>
105 __compressed_pair<_Fp, _Alloc> __f_;
107 explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) {}
108 explicit __func(_Fp __f, _Alloc __a) : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
120 template<class _Fp, class _Alloc, class _Rp>
122 __func<_Fp, _Alloc, _Rp()>::__clone() const
133 template<class _Fp, class _Alloc, class _Rp>
135 __func<_Fp, _Alloc, _Rp()>::__clone(__base<_Rp()>* __p) const
[all …]
Dfuture835 template <class _Rp, class _Fp>
841 _Fp __func_;
845 explicit __deferred_assoc_state(_Fp&& __f);
850 template <class _Rp, class _Fp>
852 __deferred_assoc_state<_Rp, _Fp>::__deferred_assoc_state(_Fp&& __f)
853 : __func_(_VSTD::forward<_Fp>(__f))
858 template <class _Rp, class _Fp>
860 __deferred_assoc_state<_Rp, _Fp>::__execute()
876 template <class _Fp>
877 class _LIBCPP_AVAILABILITY_FUTURE __deferred_assoc_state<void, _Fp>
[all …]
Dthread229 template <class _Fp, class ..._Args,
232 !is_same<typename __uncvref<_Fp>::type, thread>::value
236 explicit thread(_Fp&& __f, _Args&&... __args);
238 template <class _Fp>
240 explicit thread(_Fp __f);
275 template <class _TSp, class _Fp, class ..._Args, size_t ..._Indices>
278 __thread_execute(tuple<_TSp, _Fp, _Args...>& __t, __tuple_indices<_Indices...>)
283 template <class _Fp>
287 // _Fp = tuple< unique_ptr<__thread_struct>, Functor, Args...>
288 unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp));
[all …]
D__functional_base_03143 template <class _Fp>
145 decltype(_VSTD::declval<_Fp&>()())
146 __invoke(_Fp& __f)
151 template <class _Fp, class _A0>
153 decltype(_VSTD::declval<_Fp&>()(_VSTD::declval<_A0&>()))
154 __invoke(_Fp& __f, _A0& __a0)
159 template <class _Fp, class _A0, class _A1>
161 decltype(_VSTD::declval<_Fp&>()(_VSTD::declval<_A0&>(), _VSTD::declval<_A1&>()))
162 __invoke(_Fp& __f, _A0& __a0, _A1& __a1)
167 template <class _Fp, class _A0, class _A1, class _A2>
[all …]
Dfunctional1445 template<class _Fp> class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undef…
1472 template <class _Fp>
1474 bool __not_null(_Fp const&) { return true; }
1476 template <class _Fp>
1478 bool __not_null(_Fp* __ptr) { return __ptr; }
1484 template <class _Fp>
1486 bool __not_null(function<_Fp> const& __f) { return !!__f; }
1502 template <class _Fp, class _Ap, class _FB> class __alloc_func;
1503 template <class _Fp, class _FB>
1506 template <class _Fp, class _Ap, class _Rp, class... _ArgTypes>
[all …]
Dostream381 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
382 const _Fp& __f = use_facet<_Fp>(this->getloc());
408 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
409 const _Fp& __f = use_facet<_Fp>(this->getloc());
437 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
438 const _Fp& __f = use_facet<_Fp>(this->getloc());
464 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
465 const _Fp& __f = use_facet<_Fp>(this->getloc());
493 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
494 const _Fp& __f = use_facet<_Fp>(this->getloc());
[all …]
Diomanip312 typedef money_get<_CharT, _Ip> _Fp;
314 const _Fp& __mf = use_facet<_Fp>(__is.getloc());
372 typedef money_put<_CharT, _Op> _Fp;
373 const _Fp& __mf = use_facet<_Fp>(__os.getloc());
431 typedef time_get<_CharT, _Ip> _Fp;
433 const _Fp& __tf = use_facet<_Fp>(__is.getloc());
492 typedef time_put<_CharT, _Op> _Fp;
493 const _Fp& __tf = use_facet<_Fp>(__os.getloc());
Dmutex609 template <class _Fp>
612 _Fp& __f_;
615 explicit __call_once_param(_Fp& __f) : __f_(__f) {}
620 typedef typename __make_tuple_indices<tuple_size<_Fp>::value, 1>::type _Index;
635 template <class _Fp>
638 _Fp& __f_;
641 explicit __call_once_param(_Fp& __f) : __f_(__f) {}
652 template <class _Fp>
656 __call_once_param<_Fp>* __p = static_cast<__call_once_param<_Fp>*>(__vp);
Dtype_traits3582 template <class _Fp, class _A0,
3583 class _DecayFp = typename decay<_Fp>::type,
3592 template <class _Fp, class _A0,
3593 class _DecayFp = typename decay<_Fp>::type,
3601 template <class _Fp, class _A0,
3602 class _DecayFp = typename decay<_Fp>::type,
3612 template <class _Fp, class _A0,
3613 class _DecayFp = typename decay<_Fp>::type,
3622 template <class _Fp, class _A0,
3623 class _DecayFp = typename decay<_Fp>::type,
[all …]
Dnumeric608 template <typename _Fp>
609 constexpr _Fp __fp_abs(_Fp __f) { return __f >= 0 ? __f : -__f; }
611 template <class _Fp>
613 enable_if_t<is_floating_point_v<_Fp>, _Fp>
614 midpoint(_Fp __a, _Fp __b) noexcept
616 constexpr _Fp __lo = numeric_limits<_Fp>::min()*2;
617 constexpr _Fp __hi = numeric_limits<_Fp>::max()/2;
/external/libcxx/include/
D__functional_0322 template<class _Fp> class __base;
102 template<class _Fp, class _Alloc, class _Rp>
103 class __func<_Fp, _Alloc, _Rp()>
106 __compressed_pair<_Fp, _Alloc> __f_;
108 explicit __func(_Fp __f) : __f_(_VSTD::move(__f)) {}
109 explicit __func(_Fp __f, _Alloc __a) : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
121 template<class _Fp, class _Alloc, class _Rp>
123 __func<_Fp, _Alloc, _Rp()>::__clone() const
134 template<class _Fp, class _Alloc, class _Rp>
136 __func<_Fp, _Alloc, _Rp()>::__clone(__base<_Rp()>* __p) const
[all …]
Dfuture854 template <class _Rp, class _Fp>
860 _Fp __func_;
865 explicit __deferred_assoc_state(_Fp&& __f);
873 template <class _Rp, class _Fp>
875 __deferred_assoc_state<_Rp, _Fp>::__deferred_assoc_state(_Fp&& __f)
876 : __func_(_VSTD::forward<_Fp>(__f))
883 template <class _Rp, class _Fp>
885 __deferred_assoc_state<_Rp, _Fp>::__execute()
901 template <class _Fp>
902 class _LIBCPP_AVAILABILITY_FUTURE __deferred_assoc_state<void, _Fp>
[all …]
D__functional_base_03144 template <class _Fp>
146 decltype(_VSTD::declval<_Fp&>()())
147 __invoke(_Fp& __f)
152 template <class _Fp, class _A0>
154 decltype(_VSTD::declval<_Fp&>()(_VSTD::declval<_A0&>()))
155 __invoke(_Fp& __f, _A0& __a0)
160 template <class _Fp, class _A0, class _A1>
162 decltype(_VSTD::declval<_Fp&>()(_VSTD::declval<_A0&>(), _VSTD::declval<_A1&>()))
163 __invoke(_Fp& __f, _A0& __a0, _A1& __a1)
168 template <class _Fp, class _A0, class _A1, class _A2>
[all …]
Dthread298 template <class _Fp, class ..._Args,
301 !is_same<typename __uncvref<_Fp>::type, thread>::value
305 explicit thread(_Fp&& __f, _Args&&... __args);
307 template <class _Fp>
309 explicit thread(_Fp __f);
337 template <class _TSp, class _Fp, class ..._Args, size_t ..._Indices>
340 __thread_execute(tuple<_TSp, _Fp, _Args...>& __t, __tuple_indices<_Indices...>)
345 template <class _Fp>
348 // _Fp = std::tuple< unique_ptr<__thread_struct>, Functor, Args...>
349 std::unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp));
[all …]
Dostream378 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
379 const _Fp& __f = use_facet<_Fp>(this->getloc());
405 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
406 const _Fp& __f = use_facet<_Fp>(this->getloc());
434 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
435 const _Fp& __f = use_facet<_Fp>(this->getloc());
461 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
462 const _Fp& __f = use_facet<_Fp>(this->getloc());
490 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
491 const _Fp& __f = use_facet<_Fp>(this->getloc());
[all …]
Dfunctional1427 template<class _Fp> class _LIBCPP_TEMPLATE_VIS function; // undefined
1454 template <class _Fp>
1456 bool __not_null(_Fp const&) { return true; }
1458 template <class _Fp>
1460 bool __not_null(_Fp* __ptr) { return __ptr; }
1466 template <class _Fp>
1468 bool __not_null(function<_Fp> const& __f) { return !!__f; }
1478 template <class _Fp, class _Ap, class _FB> class __alloc_func;
1480 template <class _Fp, class _Ap, class _Rp, class... _ArgTypes>
1481 class __alloc_func<_Fp, _Ap, _Rp(_ArgTypes...)>
[all …]
Diomanip313 typedef money_get<_CharT, _Ip> _Fp;
315 const _Fp& __mf = use_facet<_Fp>(__is.getloc());
373 typedef money_put<_CharT, _Op> _Fp;
374 const _Fp& __mf = use_facet<_Fp>(__os.getloc());
432 typedef time_get<_CharT, _Ip> _Fp;
434 const _Fp& __tf = use_facet<_Fp>(__is.getloc());
493 typedef time_put<_CharT, _Op> _Fp;
494 const _Fp& __tf = use_facet<_Fp>(__os.getloc());
Dmutex602 template <class _Fp>
605 _Fp& __f_;
608 explicit __call_once_param(_Fp& __f) : __f_(__f) {}
613 typedef typename __make_tuple_indices<tuple_size<_Fp>::value, 1>::type _Index;
628 template <class _Fp>
631 _Fp& __f_;
634 explicit __call_once_param(_Fp& __f) : __f_(__f) {}
645 template <class _Fp>
649 __call_once_param<_Fp>* __p = static_cast<__call_once_param<_Fp>*>(__vp);
Dtype_traits4185 template <class _Fp, class _A0,
4186 class _DecayFp = typename decay<_Fp>::type,
4195 template <class _Fp, class _A0,
4196 class _DecayFp = typename decay<_Fp>::type,
4204 template <class _Fp, class _A0,
4205 class _DecayFp = typename decay<_Fp>::type,
4215 template <class _Fp, class _A0,
4216 class _DecayFp = typename decay<_Fp>::type,
4225 template <class _Fp, class _A0,
4226 class _DecayFp = typename decay<_Fp>::type,
[all …]
/external/llvm-project/pstl/include/pstl/internal/
Dutils.h23 template <typename _Fp>
24 typename std::result_of<_Fp()>::type
25 __except_handler(_Fp __f) in __except_handler()
41 template <typename _Fp>
43 __invoke_if(std::true_type, _Fp __f) in __invoke_if()
48 template <typename _Fp>
49 void __invoke_if(std::false_type, _Fp) in __invoke_if() argument
53 template <typename _Fp>
55 __invoke_if_not(std::false_type, _Fp __f) in __invoke_if_not()
60 template <typename _Fp>
[all …]
/external/clang/test/SemaCXX/
Dcxx11-crashes.cpp54 template<class _Fp>
55 function(_Fp, typename check_complete<_Fp>::type* = 0); // expected-note {{candidate}}
Dlambda-expressions.cpp400 template <class _Fp>
401 function(_Fp) { in function()
402 static_assert(sizeof(_Fp) > 0, "Type must be complete."); in function()
/external/llvm-project/clang/test/SemaCXX/
Dcxx11-crashes.cpp54 template<class _Fp>
55 function(_Fp, typename check_complete<_Fp>::type* = 0); // expected-note {{candidate}}
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-forwarding-reference-overload.cpp134 template <class _Fp, class ..._Args> class result_of<_Fp(_Args...)> { };
/external/llvm-project/clang/test/Analysis/
Dcall_once.cpp167 template <class _Fp>
172 template <class _Fp>
173 function(_Fp) {}; in function()

12