Home
last modified time | relevance | path

Searched refs:_Tp (Results 1 – 25 of 273) sorted by relevance

1234567891011

/external/llvm-project/clang/lib/Headers/openmp_wrappers/
Dcomplex_cmath.h34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) { in abs()
40 template <class _Tp> __DEVICE__ _Tp arg(const std::complex<_Tp> &__c) { in arg()
44 template <class _Tp>
45 typename enable_if<is_integral<_Tp>::value || is_same<_Tp, double>::value,
47 arg(_Tp __re) { in arg()
51 template <class _Tp>
52 typename enable_if<is_same<_Tp, float>::value, float>::type arg(_Tp __re) { in arg()
58 template <class _Tp> __DEVICE__ _Tp norm(const std::complex<_Tp> &__c) { in norm()
68 template <class _Tp> std::complex<_Tp> conj(const std::complex<_Tp> &__c) { in conj()
69 return std::complex<_Tp>(__c.real(), -__c.imag()); in conj()
[all …]
/external/llvm-project/clang/test/Headers/Inputs/include/
Dcomplex11 template <class _Tp>
14 typedef _Tp value_type;
87 template <class _Tp>
88 inline complex<_Tp>
89 operator+(const complex<_Tp> &__x, const complex<_Tp> &__y) {
90 complex<_Tp> __t(__x);
95 template <class _Tp>
96 inline complex<_Tp>
97 operator+(const complex<_Tp> &__x, const _Tp &__y) {
98 complex<_Tp> __t(__x);
[all …]
/external/libcxx/include/
Dcomplex256 template<class _Tp> class _LIBCPP_TEMPLATE_VIS complex;
258 template<class _Tp> complex<_Tp> operator*(const complex<_Tp>& __z, const complex<_Tp>& __w);
259 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y);
261 template<class _Tp>
265 typedef _Tp value_type;
529 template<class _Tp>
531 complex<_Tp>
532 operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
534 complex<_Tp> __t(__x);
539 template<class _Tp>
[all …]
Dtype_traits416 template <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;
417 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;
422 template <class _Tp>
423 struct __identity { typedef _Tp type; };
425 template <class _Tp, bool>
426 struct _LIBCPP_TEMPLATE_VIS __dependent_type : public _Tp {};
437 template <bool, class _Tp> struct _LIBCPP_TEMPLATE_VIS __lazy_enable_if {};
438 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS __lazy_enable_if<true, _Tp> {typedef typename _Tp:…
440 template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
441 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS enable_if<true, _Tp> {typedef _Tp type;};
[all …]
Datomic589 template <typename _Tp>
593 static_assert(is_trivially_copyable<_Tp>::value,
603 _LIBCPP_CONSTEXPR explicit __gcc_atomic_t(_Tp value) _NOEXCEPT
605 _Tp __a_value;
609 template <typename _Tp> _Tp __create();
611 template <typename _Tp, typename _Td>
612 typename enable_if<sizeof(_Tp()->__a_value = __create<_Td>()), char>::type
614 template <typename _Tp, typename _Up>
617 template <typename _Tp, typename _Td>
620 sizeof(__test_atomic_assignable<_Tp, _Td>(1)) == sizeof(char);
[all …]
D__tuple25 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_size;
28 template <class _Tp, class...>
29 using __enable_if_tuple_size_imp = _Tp;
31 template <class _Tp>
33 const _Tp,
34 typename enable_if<!is_volatile<_Tp>::value>::type,
35 integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
36 : public integral_constant<size_t, tuple_size<_Tp>::value> {};
38 template <class _Tp>
40 volatile _Tp,
[all …]
Dlimits143 template <class _Tp, bool = is_arithmetic<_Tp>::value>
147 typedef _Tp type;
188 template <class _Tp, int __digits, bool _IsSigned>
191 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << __digits);
194 template <class _Tp, int __digits>
195 struct __libcpp_compute_min<_Tp, __digits, false>
197 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(0);
200 template <class _Tp>
201 class __libcpp_numeric_limits<_Tp, true>
204 typedef _Tp type;
[all …]
Dmemory574 template <class _Tp, class _Up>
575 bool operator()( shared_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const noexcept;
576 template <class _Tp, class _Up>
577 bool operator()( shared_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const noexcept;
578 template <class _Tp, class _Up>
579 bool operator()( weak_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const noexcept;
580 template <class _Tp, class _Up>
581 bool operator()( weak_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const noexcept;
708 template <class _Tp> class allocator;
734 template <class _Tp, class = void>
[all …]
Doptional206 template <class _Tp, bool = is_trivially_destructible<_Tp>::value>
209 template <class _Tp>
210 struct __optional_destruct_base<_Tp, false>
212 typedef _Tp value_type;
251 template <class _Tp>
252 struct __optional_destruct_base<_Tp, true>
254 typedef _Tp value_type;
285 template <class _Tp, bool = is_reference<_Tp>::value>
286 struct __optional_storage_base : __optional_destruct_base<_Tp>
288 using __base = __optional_destruct_base<_Tp>;
[all …]
Dtuple175 template <class _Tp>
178 return !__reference_binds_to_temporary(_Hp, _Tp);
212 template <class _Tp,
215 __lazy_not<is_same<typename __uncvref<_Tp>::type, __tuple_leaf>>
216 , is_constructible<_Hp, _Tp>
221 explicit __tuple_leaf(_Tp&& __t) _NOEXCEPT_((is_nothrow_constructible<_Hp, _Tp>::value))
222 : __value_(_VSTD::forward<_Tp>(__t))
223 {static_assert(__can_bind_reference<_Tp&&>(),
226 template <class _Tp, class _Alloc>
228 explicit __tuple_leaf(integral_constant<int, 0>, const _Alloc&, _Tp&& __t)
[all …]
Dcharconv158 template <typename _Tp, typename = void>
164 static _LIBCPP_INLINE_VISIBILITY int __width(_Tp __v)
171 static _LIBCPP_INLINE_VISIBILITY char* __convert(_Tp __v, char* __p)
179 template <typename _Tp>
181 __traits_base<_Tp, decltype(void(uint32_t{declval<_Tp>()}))>
186 static _LIBCPP_INLINE_VISIBILITY int __width(_Tp __v)
193 static _LIBCPP_INLINE_VISIBILITY char* __convert(_Tp __v, char* __p)
201 template <typename _Tp>
203 __mul_overflowed(unsigned char __a, _Tp __b, unsigned char& __r)
210 template <typename _Tp>
[all …]
/external/llvm-project/libcxx/include/
Dcomplex251 template<class _Tp> class _LIBCPP_TEMPLATE_VIS complex;
253 template<class _Tp> complex<_Tp> operator*(const complex<_Tp>& __z, const complex<_Tp>& __w);
254 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y);
256 template<class _Tp>
260 typedef _Tp value_type;
524 template<class _Tp>
526 complex<_Tp>
527 operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
529 complex<_Tp> __t(__x);
534 template<class _Tp>
[all …]
Datomic663 template <typename _Tp> _LIBCPP_INLINE_VISIBILITY
664 bool __cxx_nonatomic_compare_equal(_Tp const& __lhs, _Tp const& __rhs) {
665 return memcmp(&__lhs, &__rhs, sizeof(_Tp)) == 0;
674 // [atomics.types.generic]p1 guarantees _Tp is trivially copyable. Because
677 template <typename _Tp, typename _Tv> _LIBCPP_INLINE_VISIBILITY
678 typename enable_if<is_assignable<_Tp&, _Tv>::value>::type
679 __cxx_atomic_assign_volatile(_Tp& __a_value, _Tv const& __val) {
682 template <typename _Tp, typename _Tv> _LIBCPP_INLINE_VISIBILITY
683 typename enable_if<is_assignable<_Tp&, _Tv>::value>::type
684 __cxx_atomic_assign_volatile(_Tp volatile& __a_value, _Tv volatile const& __val) {
[all …]
Dtype_traits427 template <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;
428 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;
430 template <class _Tp, _Tp __v>
433 static _LIBCPP_CONSTEXPR const _Tp value = __v;
434 typedef _Tp value_type;
444 template <class _Tp, _Tp __v>
445 _LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
464 template <class _Tp, class _Up>
465 using _SelectImpl _LIBCPP_NODEBUG_TYPE = _Tp;
472 template <class _Tp = void>
[all …]
D__tuple24 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_size;
27 template <class _Tp, class...>
28 using __enable_if_tuple_size_imp = _Tp;
30 template <class _Tp>
32 const _Tp,
33 typename enable_if<!is_volatile<_Tp>::value>::type,
34 integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
35 : public integral_constant<size_t, tuple_size<_Tp>::value> {};
37 template <class _Tp>
39 volatile _Tp,
[all …]
Dbit196 template <class _Tp>
198 is_integral<_Tp>::value &&
199 is_unsigned<_Tp>::value &&
200 _IsNotSame<typename remove_cv<_Tp>::type, bool>::value &&
201 _IsNotSame<typename remove_cv<_Tp>::type, signed char>::value &&
202 _IsNotSame<typename remove_cv<_Tp>::type, wchar_t>::value &&
203 _IsNotSame<typename remove_cv<_Tp>::type, char16_t>::value &&
204 _IsNotSame<typename remove_cv<_Tp>::type, char32_t>::value
208 template<class _Tp>
210 _Tp __rotl(_Tp __t, unsigned int __cnt) _NOEXCEPT
[all …]
Dlimits142 template <class _Tp, bool = is_arithmetic<_Tp>::value>
146 typedef _Tp type;
187 template <class _Tp, int __digits, bool _IsSigned>
190 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << __digits);
193 template <class _Tp, int __digits>
194 struct __libcpp_compute_min<_Tp, __digits, false>
196 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(0);
199 template <class _Tp>
200 class __libcpp_numeric_limits<_Tp, true>
203 typedef _Tp type;
[all …]
Doptional206 template <class _Tp, bool = is_trivially_destructible<_Tp>::value>
209 template <class _Tp>
210 struct __optional_destruct_base<_Tp, false>
212 typedef _Tp value_type;
251 template <class _Tp>
252 struct __optional_destruct_base<_Tp, true>
254 typedef _Tp value_type;
285 template <class _Tp, bool = is_reference<_Tp>::value>
286 struct __optional_storage_base : __optional_destruct_base<_Tp>
288 using __base = __optional_destruct_base<_Tp>;
[all …]
Dcharconv159 template <typename _Tp, typename = void>
165 static _LIBCPP_INLINE_VISIBILITY int __width(_Tp __v)
173 static _LIBCPP_INLINE_VISIBILITY char* __convert(_Tp __v, char* __p)
181 template <typename _Tp>
183 __traits_base<_Tp, decltype(void(uint32_t{declval<_Tp>()}))>
188 static _LIBCPP_INLINE_VISIBILITY int __width(_Tp __v)
196 static _LIBCPP_INLINE_VISIBILITY char* __convert(_Tp __v, char* __p)
204 template <typename _Tp>
206 __mul_overflowed(unsigned char __a, _Tp __b, unsigned char& __r)
213 template <typename _Tp>
[all …]
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h110 template <bool, class _Tp = void> struct enable_if {};
111 template <class _Tp> struct enable_if<true, _Tp> {typedef _Tp type;};
113 template <class _Tp, _Tp __v>
116 static const _Tp value = __v;
117 typedef _Tp value_type;
125 template <class _Tp, _Tp __v>
126 const _Tp integral_constant<_Tp, __v>::value;
128 template <class _Tp, class _Arg>
130 : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)>
137 template <class _Tp> struct is_const : public false_type {};
[all …]
/external/llvm-project/pstl/include/pstl/internal/
Dnumeric_fwd.h29 template <class _ForwardIterator1, class _ForwardIterator2, class _Tp, class _BinaryOperation1, cla…
30 _Tp __brick_transform_reduce(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _Tp, _BinaryO…
34 template <class _ForwardIterator1, class _ForwardIterator2, class _Tp, class _BinaryOperation1, cla…
35 _Tp __brick_transform_reduce(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _Tp, _BinaryO…
39 template <class _ExecutionPolicy, class _ForwardIterator1, class _ForwardIterator2, class _Tp, clas…
41 _Tp
42 …_transform_reduce(_ExecutionPolicy&&, _ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _Tp,
46 …ate <class _ExecutionPolicy, class _RandomAccessIterator1, class _RandomAccessIterator2, class _Tp,
48 _Tp
50 _Tp, _BinaryOperation1, _BinaryOperation2, _IsVector __is_vector,
[all …]
/external/llvm-project/libcxx/include/experimental/
Dpropagate_const21 constexpr const _Tp& _VSTD_LFTS_V2::get_underlying(const propagate_const<T>& pt) noexcept;
41 …template <class T, class U> constexpr bool operator==(const _Tp& t, const propagate_const<_Up>& pu…
42 …template <class T, class U> constexpr bool operator!=(const _Tp& t, const propagate_const<_Up>& pu…
43 …template <class T, class U> constexpr bool operator<(const _Tp& t, const propagate_const<_Up>& pu);
44 …template <class T, class U> constexpr bool operator>(const _Tp& t, const propagate_const<_Up>& pu);
45 …template <class T, class U> constexpr bool operator<=(const _Tp& t, const propagate_const<_Up>& pu…
46 …template <class T, class U> constexpr bool operator>=(const _Tp& t, const propagate_const<_Up>& pu…
123 template <class _Tp>
134 template <class _Tp>
138 typedef remove_reference_t<decltype(*_VSTD::declval<_Tp&>())> element_type;
[all …]
D__memory21 class _Tp, class _Alloc
22 , bool = uses_allocator<_Tp, _Alloc>::value
23 , bool = __has_allocator_type<_Tp>::value
27 template <class _Tp, class _Alloc>
28 struct __lfts_uses_allocator<_Tp, _Alloc, false, false> : public false_type {};
30 template <class _Tp, class _Alloc, bool HasAlloc>
31 struct __lfts_uses_allocator<_Tp, _Alloc, true, HasAlloc> : public true_type {};
33 template <class _Tp, class _Alloc>
34 struct __lfts_uses_allocator<_Tp, _Alloc, false, true>
36 , is_convertible<_Alloc, typename _Tp::allocator_type>::value
[all …]
/external/libcxx/include/experimental/
Dpropagate_const22 constexpr const _Tp& _VSTD_LFTS_V2::get_underlying(const propagate_const<T>& pt) noexcept;
42 …template <class T, class U> constexpr bool operator==(const _Tp& t, const propagate_const<_Up>& pu…
43 …template <class T, class U> constexpr bool operator!=(const _Tp& t, const propagate_const<_Up>& pu…
44 …template <class T, class U> constexpr bool operator<(const _Tp& t, const propagate_const<_Up>& pu);
45 …template <class T, class U> constexpr bool operator>(const _Tp& t, const propagate_const<_Up>& pu);
46 …template <class T, class U> constexpr bool operator<=(const _Tp& t, const propagate_const<_Up>& pu…
47 …template <class T, class U> constexpr bool operator>=(const _Tp& t, const propagate_const<_Up>& pu…
124 template <class _Tp>
135 template <class _Tp>
139 typedef remove_reference_t<decltype(*_VSTD::declval<_Tp&>())> element_type;
[all …]
/external/libabigail/tests/data/test-diff-dwarf/
Dtest42-PR21296-clanggcc.cc34 template<typename _Tp>
36 { typedef _Tp type; };
38 template<typename _Tp>
39 struct remove_reference<_Tp&>
40 { typedef _Tp type; };
42 template<typename _Tp>
43 struct remove_reference<_Tp&&>
44 { typedef _Tp type; };
53 template<typename _Tp>
54 constexpr _Tp&&
[all …]

1234567891011