Home
last modified time | relevance | path

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

1234567

/NextBSD/contrib/libstdc++/include/std/
Dstd_complex.h55 template<typename _Tp> class complex;
61 template<typename _Tp> _Tp abs(const complex<_Tp>&);
63 template<typename _Tp> _Tp arg(const complex<_Tp>&);
65 template<typename _Tp> _Tp norm(const complex<_Tp>&);
68 template<typename _Tp> complex<_Tp> conj(const complex<_Tp>&);
70 template<typename _Tp> complex<_Tp> polar(const _Tp&, const _Tp& = 0);
74 template<typename _Tp> complex<_Tp> cos(const complex<_Tp>&);
76 template<typename _Tp> complex<_Tp> cosh(const complex<_Tp>&);
78 template<typename _Tp> complex<_Tp> exp(const complex<_Tp>&);
80 template<typename _Tp> complex<_Tp> log(const complex<_Tp>&);
[all …]
Dstd_valarray.h52 template<class _Clos, typename _Tp>
82 template<class _Tp> class valarray; // An array of type _Tp
84 template<class _Tp> class slice_array;
86 template<class _Tp> class gslice_array;
87 template<class _Tp> class mask_array; // masked array
88 template<class _Tp> class indirect_array; // indirected array
108 template<class _Tp> in _GLIBCXX_BEGIN_NAMESPACE()
114 typedef typename __fun<_Op, _Tp>::result_type __rt; in _GLIBCXX_BEGIN_NAMESPACE()
115 typedef _Expr<_UnClos<_Op, _ValArray, _Tp>, __rt> _Rt; in _GLIBCXX_BEGIN_NAMESPACE()
118 typedef _Tp value_type; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
/NextBSD/contrib/libstdc++/include/bits/
Dvalarray_before.h69 template<typename _Tp>
70 _Tp operator()(const _Tp& __t) const in operator()
76 template<typename _Tp>
77 _Tp operator()(const _Tp& __t) const in operator()
83 template<typename _Tp>
84 _Tp operator()(const _Tp& __t) const in operator()
90 template<typename _Tp>
91 _Tp operator()(const _Tp& __t) const in operator()
97 template<typename _Tp>
98 _Tp operator()(const _Tp& __t) const in operator()
[all …]
Dvalarray_array.h60 template<typename _Tp>
61 inline _Tp*__restrict__
64 return static_cast<_Tp*__restrict__> in __valarray_get_storage()
65 (std::__valarray_get_memory(__n * sizeof(_Tp))); in __valarray_get_storage()
75 template<typename _Tp, bool>
81 _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e) in _S_do_it()
84 new(__b++) _Tp(); in _S_do_it()
88 template<typename _Tp>
89 struct _Array_default_ctor<_Tp, true>
93 _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e)
[all …]
Dstl_function.h133 template <class _Tp>
134 struct plus : public binary_function<_Tp, _Tp, _Tp>
136 _Tp
137 operator()(const _Tp& __x, const _Tp& __y) const in operator()
142 template <class _Tp>
143 struct minus : public binary_function<_Tp, _Tp, _Tp>
145 _Tp
146 operator()(const _Tp& __x, const _Tp& __y) const in operator()
151 template <class _Tp>
152 struct multiplies : public binary_function<_Tp, _Tp, _Tp>
[all …]
Dindirect_array.h60 template <class _Tp> in _GLIBCXX_BEGIN_NAMESPACE()
64 typedef _Tp value_type; in _GLIBCXX_BEGIN_NAMESPACE()
77 void operator=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
79 void operator*=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
81 void operator/=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
83 void operator%=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
85 void operator+=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
87 void operator-=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
89 void operator^=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
91 void operator&=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dgslice_array.h58 template<typename _Tp> in _GLIBCXX_BEGIN_NAMESPACE()
62 typedef _Tp value_type; in _GLIBCXX_BEGIN_NAMESPACE()
75 void operator=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
77 void operator*=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
79 void operator/=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
81 void operator%=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
83 void operator+=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
85 void operator-=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
87 void operator^=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
89 void operator&=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dmask_array.h60 template <class _Tp> in _GLIBCXX_BEGIN_NAMESPACE()
64 typedef _Tp value_type; in _GLIBCXX_BEGIN_NAMESPACE()
76 void operator=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
78 void operator*=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
80 void operator/=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
82 void operator%=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
84 void operator+=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
86 void operator-=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
88 void operator^=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
90 void operator&=(const valarray<_Tp>&) const; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dvalarray_after.h70 template<typename _Tp>
71 class _GBase<_Array<_Tp> >
74 typedef _Tp value_type;
76 _GBase (_Array<_Tp> __a, const valarray<size_t>& __i) in _GBase()
88 const _Array<_Tp> _M_array;
103 template<typename _Tp>
104 struct _GClos<_ValArray, _Tp>
105 : _GBase<_Array<_Tp> >
107 typedef _GBase<_Array<_Tp> > _Base;
110 _GClos (_Array<_Tp> __a, const valarray<size_t>& __i)
[all …]
Dslice_array.h120 template<typename _Tp>
124 typedef _Tp value_type;
137 void operator=(const valarray<_Tp>&) const;
139 void operator*=(const valarray<_Tp>&) const;
141 void operator/=(const valarray<_Tp>&) const;
143 void operator%=(const valarray<_Tp>&) const;
145 void operator+=(const valarray<_Tp>&) const;
147 void operator-=(const valarray<_Tp>&) const;
149 void operator^=(const valarray<_Tp>&) const;
151 void operator&=(const valarray<_Tp>&) const;
[all …]
Dvalarray_array.tcc42 template<typename _Tp> in _GLIBCXX_BEGIN_NAMESPACE()
44 __valarray_fill(_Array<_Tp> __a, size_t __n, _Array<bool> __m, in _GLIBCXX_BEGIN_NAMESPACE()
45 const _Tp& __t) in _GLIBCXX_BEGIN_NAMESPACE()
47 _Tp* __p = __a._M_data; in _GLIBCXX_BEGIN_NAMESPACE()
66 template<typename _Tp>
68 __valarray_copy(_Array<_Tp> __a, _Array<bool> __m, _Array<_Tp> __b, in __valarray_copy()
71 _Tp* __p (__a._M_data); in __valarray_copy()
73 for (_Tp* __q = __b._M_data; __q < __b._M_data + __n; in __valarray_copy()
91 template<typename _Tp>
93 __valarray_copy(_Array<_Tp> __a, size_t __n, _Array<_Tp> __b, in __valarray_copy()
[all …]
Dstl_deque.h101 template<typename _Tp, typename _Ref, typename _Ptr>
104 typedef _Deque_iterator<_Tp, _Tp&, _Tp*> iterator;
105 typedef _Deque_iterator<_Tp, const _Tp&, const _Tp*> const_iterator;
108 { return __deque_buf_size(sizeof(_Tp)); } in _S_buffer_size()
111 typedef _Tp value_type;
116 typedef _Tp** _Map_pointer;
119 _Tp* _M_cur;
120 _Tp* _M_first;
121 _Tp* _M_last;
124 _Deque_iterator(_Tp* __x, _Map_pointer __y) in _Deque_iterator()
[all …]
/NextBSD/contrib/libstdc++/include/tr1/
Dtype_traits_fwd.h46 template<typename _Tp, _Tp __v>
52 template<typename _Tp>
55 template<typename _Tp>
58 template<typename _Tp>
61 template<typename _Tp>
64 template<typename _Tp>
67 template<typename _Tp>
70 template<typename _Tp>
73 template<typename _Tp>
76 template<typename _Tp>
[all …]
Dcomplex46 template<typename _Tp> std::complex<_Tp> acos(const std::complex<_Tp>&);
47 template<typename _Tp> std::complex<_Tp> asin(const std::complex<_Tp>&);
48 template<typename _Tp> std::complex<_Tp> atan(const std::complex<_Tp>&);
50 template<typename _Tp> std::complex<_Tp> acosh(const std::complex<_Tp>&);
51 template<typename _Tp> std::complex<_Tp> asinh(const std::complex<_Tp>&);
52 template<typename _Tp> std::complex<_Tp> atanh(const std::complex<_Tp>&);
53 template<typename _Tp> std::complex<_Tp> fabs(const std::complex<_Tp>&);
58 template<typename _Tp>
59 inline std::complex<_Tp>
60 __complex_acos(const std::complex<_Tp>& __z)
[all …]
Dtype_traits52 template<typename _Tp>
63 static const bool __value = sizeof(__test<_Tp>(0)) == 1;
75 template<typename _Tp> \
80 template<typename _Tp, typename _Cp> \
91 template<typename _Tp, _Tp __v>
94 static const _Tp value = __v;
95 typedef _Tp value_type;
96 typedef integral_constant<_Tp, __v> type;
101 template<typename _Tp, _Tp __v>
102 const _Tp integral_constant<_Tp, __v>::value;
[all …]
Dcmath342 template<typename _Tp>
343 inline typename __promote<_Tp>::__type
344 acosh(_Tp __x)
346 typedef typename __promote<_Tp>::__type __type;
360 template<typename _Tp>
361 inline typename __promote<_Tp>::__type
362 asinh(_Tp __x)
364 typedef typename __promote<_Tp>::__type __type;
373 template<typename _Tp, typename _Up>
375 __gnu_cxx::__enable_if<std::__is_floating<_Tp>::__value
[all …]
/NextBSD/contrib/libstdc++/include/c_std/
Dstd_cmath.h86 template<typename _Tp> _Tp __cmath_power(_Tp, unsigned int);
110 template<typename _Tp>
111 inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
113 acos(_Tp __x) in acos()
126 template<typename _Tp>
127 inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
129 asin(_Tp __x) in asin()
142 template<typename _Tp>
143 inline typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
145 atan(_Tp __x) in atan()
[all …]
/NextBSD/contrib/libc++/include/
Datomic554 template <typename _Tp>
557 _LIBCPP_CONSTEXPR explicit __gcc_atomic_t(_Tp value) _NOEXCEPT
559 _Tp __a_value;
563 template <typename _Tp> _Tp __create();
565 template <typename _Tp, typename _Td>
566 typename enable_if<sizeof(_Tp()->__a_value = __create<_Td>()), char>::type
568 template <typename _Tp, typename _Up>
571 template <typename _Tp, typename _Td>
574 sizeof(__test_atomic_assignable<_Tp, _Td>(1)) == sizeof(char);
599 template <typename _Tp>
[all …]
D__tuple25 template <class _Tp> class _LIBCPP_TYPE_VIS_ONLY tuple_size;
27 template <class _Tp>
28 class _LIBCPP_TYPE_VIS_ONLY tuple_size<const _Tp>
29 : public tuple_size<_Tp> {};
31 template <class _Tp>
32 class _LIBCPP_TYPE_VIS_ONLY tuple_size<volatile _Tp>
33 : public tuple_size<_Tp> {};
35 template <class _Tp>
36 class _LIBCPP_TYPE_VIS_ONLY tuple_size<const volatile _Tp>
37 : public tuple_size<_Tp> {};
[all …]
Dcomplex258 template<class _Tp> class _LIBCPP_TYPE_VIS_ONLY complex;
260 template<class _Tp> complex<_Tp> operator*(const complex<_Tp>& __z, const complex<_Tp>& __w);
261 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y);
263 template<class _Tp>
267 typedef _Tp value_type;
525 template<class _Tp>
527 complex<_Tp>
528 operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
530 complex<_Tp> __t(__x);
535 template<class _Tp>
[all …]
Dtype_traits222 template <class _Tp>
223 struct __identity { typedef _Tp type; };
225 template <class _Tp, bool>
226 struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {};
237 template <bool, class _Tp> struct _LIBCPP_TYPE_VIS_ONLY __lazy_enable_if {};
238 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY __lazy_enable_if<true, _Tp> {typedef typename _Tp
240 template <bool, class _Tp = void> struct _LIBCPP_TYPE_VIS_ONLY enable_if {};
241 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY enable_if<true, _Tp> {typedef _Tp type;};
244 template <bool _Bp, class _Tp = void> using enable_if_t = typename enable_if<_Bp, _Tp>::type;
252 template <class _Tp, _Tp __v>
[all …]
D__functional_base_0318 template <class _Tp>
28 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
29 typedef decltype(__test((_Tp*)0)) type;
32 template <class _Tp>
42 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value;
43 typedef decltype(__test((_Tp*)0)) type;
46 template <class _Tp, bool = __derives_from_unary_function<_Tp>::value>
48 : public __derives_from_unary_function<_Tp>::type
52 template <class _Tp>
53 struct __maybe_derive_from_unary_function<_Tp, false>
[all …]
D__functional_base41 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY hash;
43 template <class _Tp>
51 static const bool value = sizeof(__test<_Tp>(0)) == 1;
55 template <class _Tp = void>
57 template <class _Tp>
59 struct _LIBCPP_TYPE_VIS_ONLY less : binary_function<_Tp, _Tp, bool>
62 bool operator()(const _Tp& __x, const _Tp& __y) const
82 template <class _Tp>
84 _Tp*
85 addressof(_Tp& __x) _NOEXCEPT
[all …]
Dlimits140 template <class _Tp, bool = is_arithmetic<_Tp>::value>
144 typedef _Tp type;
185 template <class _Tp, int digits, bool is_signed>
188 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << digits);
191 template <class _Tp, int digits>
192 struct __libcpp_compute_min<_Tp, digits, false>
194 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(0);
197 template <class _Tp>
198 class __libcpp_numeric_limits<_Tp, true>
201 typedef _Tp type;
[all …]
/NextBSD/contrib/libc++/include/experimental/
Dtype_traits197 template <class _Tp> _LIBCPP_CONSTEXPR bool is_void_v
198 = is_void<_Tp>::value;
200 template <class _Tp> _LIBCPP_CONSTEXPR bool is_null_pointer_v
201 = is_null_pointer<_Tp>::value;
203 template <class _Tp> _LIBCPP_CONSTEXPR bool is_integral_v
204 = is_integral<_Tp>::value;
206 template <class _Tp> _LIBCPP_CONSTEXPR bool is_floating_point_v
207 = is_floating_point<_Tp>::value;
209 template <class _Tp> _LIBCPP_CONSTEXPR bool is_array_v
210 = is_array<_Tp>::value;
[all …]

1234567