Home
last modified time | relevance | path

Searched refs:_T1 (Results 1 – 17 of 17) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_pair.h50 template <class _T1, class _T2>
52 typedef _T1 first_type;
55 _T1 first;
60 pair() : first(_T1()), second(_T2()) {} in pair()
62 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair()
68 pair(const pair<_T1,_T2>& __o) : first(__o.first), second(__o.second) {} in pair()
72 pair(__move_source<pair<_T1, _T2> > src) : first(_STLP_PRIV _AsMoveSource(src.get().first)), in pair()
80 template <class _T1, class _T2>
81 inline bool _STLP_CALL operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
84 template <class _T1, class _T2>
[all …]
D_construct.h89 template <class _T1>
90 inline void _Construct_aux (_T1* __p, const __false_type&) { in _Construct_aux()
91 new(__p) _T1(); in _Construct_aux()
94 template <class _T1>
95 inline void _Construct_aux (_T1* __p, const __true_type&) { in _Construct_aux()
97 *__p = _T1(0); in _Construct_aux()
101 *__p = _T1(); in _Construct_aux()
105 template <class _T1>
106 inline void _Construct(_T1* __p) { in _Construct()
108 memset((char*)__p, _STLP_SHRED_BYTE, sizeof(_T1)); in _Construct()
[all …]
D_pthread_alloc.h204 template <class _T1, class _T2>
205 inline bool operator==(const pthread_allocator<_T1>&,
210 template <class _T1, class _T2>
211 inline bool operator!=(const pthread_allocator<_T1>&,
387 template <class _T1, class _T2>
388 inline bool operator==(const per_thread_allocator<_T1>& __a1,
393 template <class _T1, class _T2>
394 inline bool operator!=(const per_thread_allocator<_T1>& __a1,
D_alloc.h380 template <class _T1, class _T2>
381 inline bool _STLP_CALL operator==(const allocator<_T1>&, const allocator<_T2>&) _STLP_NOTHROW
383 template <class _T1, class _T2>
384 inline bool _STLP_CALL operator!=(const allocator<_T1>&, const allocator<_T2>&) _STLP_NOTHROW
D_algo.h464 template <class _T1, class _T2>
466 bool operator() (const _T1& __x, const _T2& __y) const { return __x < __y ; } in operator()
469 template <class _T1, class _T2>
470 __less_2<_T1,_T2> __less2(_T1*, _T2* ) { return __less_2<_T1, _T2>(); } in __less2() argument
/ndk/sources/cxx-stl/gabi++/include/
Dstl_pair.h71 template <class _T1, class _T2>
73 typedef _T1 first_type;
76 _T1 first;
79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair()
85 template <class _T1, class _T2>
86 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
91 template <class _T1, class _T2>
92 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
98 template <class _T1, class _T2>
99 inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
[all …]
/ndk/sources/cxx-stl/system/include/
Dstl_pair.h71 template <class _T1, class _T2>
73 typedef _T1 first_type;
76 _T1 first;
79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair()
85 template <class _T1, class _T2>
86 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
91 template <class _T1, class _T2>
92 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
98 template <class _T1, class _T2>
99 inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dutility247 template <class _T1, class _T2>
250 typedef _T1 first_type;
253 _T1 first;
262 pair(const _T1& __x, const _T2& __y)
269 ,typename enable_if<is_convertible<const _U1&, _T1>::value &&
313 typename enable_if<is_convertible<_U1, _T1>::value &&
400 template <class _T1, class _T2>
403 operator==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
408 template <class _T1, class _T2>
411 operator!=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
[all …]
D__functional_base_03416 template <class _Rp, class _Tp, class _T1>
420 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
423 __invoke(_Rp (_Tp::*__f)(), _T1& __t1)
428 template <class _Rp, class _Tp, class _T1, class _A0>
432 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
435 __invoke(_Rp (_Tp::*__f)(_A0), _T1& __t1, _A0& __a0)
440 template <class _Rp, class _Tp, class _T1, class _A0, class _A1>
444 is_base_of<_Tp, typename remove_reference<_T1>::type>::value,
447 __invoke(_Rp (_Tp::*__f)(_A0, _A1), _T1& __t1, _A0& __a0, _A1& __a1)
452 template <class _Rp, class _Tp, class _T1, class _A0, class _A1, class _A2>
[all …]
D__tuple68 template <class _T1, class _T2> struct _LIBCPP_TYPE_VIS_ONLY pair;
78 template <class _T1, class _T2> struct __tuple_like<pair<_T1, _T2> > : true_type {};
96 template <size_t _Ip, class _T1, class _T2>
98 typename tuple_element<_Ip, pair<_T1, _T2> >::type&
99 get(pair<_T1, _T2>&) _NOEXCEPT;
101 template <size_t _Ip, class _T1, class _T2>
103 const typename tuple_element<_Ip, pair<_T1, _T2> >::type&
104 get(const pair<_T1, _T2>&) _NOEXCEPT;
106 template <size_t _Ip, class _T1, class _T2>
108 typename tuple_element<_Ip, pair<_T1, _T2> >::type&&
[all …]
Dtype_traits831 template <class _T1, class _T2> struct _LIBCPP_TYPE_VIS_ONLY is_convertible
832 : public integral_constant<bool, __is_convertible_to(_T1, _T2) &&
875 template <class _T1, class _T2,
876 …unsigned _T1_is_array_function_or_void = __is_convertible_imp::__is_array_function_or_void<_T1>::v…
881 sizeof(__is_convertible_imp::__test<_T2, _T1>(1)) == 1
883 sizeof(__is_convertible_imp::__test<_T2, _T1>(1)) == 1
884 && !(!is_function<_T1>::value && !is_reference<_T1>::value && is_reference<_T2>::value
887 && (is_same<typename remove_cv<_T1>::type,
889 || is_base_of<typename remove_reference<_T2>::type, _T1>::value))
894 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 1, 0> : false_type {};
[all …]
Dmemory1905 template <class _T1, class _T2, bool = is_same<typename remove_cv<_T1>::type,
1907 bool = is_empty<_T1>::value
1909 && !__is_final(_T1)
1919 template <class _T1, class _T2, bool IsSame>
1920 struct __libcpp_compressed_pair_switch<_T1, _T2, IsSame, false, false> {enum {value = 0};};
1922 template <class _T1, class _T2, bool IsSame>
1923 struct __libcpp_compressed_pair_switch<_T1, _T2, IsSame, true, false> {enum {value = 1};};
1925 template <class _T1, class _T2, bool IsSame>
1926 struct __libcpp_compressed_pair_switch<_T1, _T2, IsSame, false, true> {enum {value = 2};};
1928 template <class _T1, class _T2>
[all …]
Dtuple738 template <typename _T1, size_t _Idx, typename... _Args>
742 template <typename _T1, size_t _Idx, typename... _Args>
746 …static_assert ( __find_exactly_one_t_helper<_T1, 0, _Args...>::value == -1, "type can only occur o…
750 template <typename _T1, size_t _Idx>
751 struct __find_exactly_one_t_helper <_T1, _Idx> {
755 template <typename _T1, size_t _Idx, typename _Head, typename... _Args>
756 struct __find_exactly_one_t_helper <_T1, _Idx, _Head, _Args...> {
759 std::is_same<_T1, _Head>::value,
760 __find_exactly_one_t_checker<_T1, _Idx, _Args...>,
761 __find_exactly_one_t_helper <_T1, _Idx+1, _Args...>
[all …]
Dfunctional504 template <class _T1, class _T2>
506 auto operator()(_T1&& __t, _T2&& __u) const
507 { return _VSTD::forward<_T1>(__t) + _VSTD::forward<_T2>(__u); }
529 template <class _T1, class _T2>
531 auto operator()(_T1&& __t, _T2&& __u) const
532 { return _VSTD::forward<_T1>(__t) - _VSTD::forward<_T2>(__u); }
554 template <class _T1, class _T2>
556 auto operator()(_T1&& __t, _T2&& __u) const
557 { return _VSTD::forward<_T1>(__t) * _VSTD::forward<_T2>(__u); }
579 template <class _T1, class _T2>
[all …]
Dalgorithm650 template <class _T1, class _T2 = _T1>
653 …_LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y…
654 …_LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T2& __y) const {return __x == __y…
655 …_LIBCPP_INLINE_VISIBILITY bool operator()(const _T2& __x, const _T1& __y) const {return __x == __y…
659 template <class _T1>
660 struct __equal_to<_T1, _T1>
663 bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;}
666 template <class _T1>
667 struct __equal_to<const _T1, _T1>
670 bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;}
[all …]
Dqueue308 template <class _T1, class _C1>
312 operator==(const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
314 template <class _T1, class _C1>
318 operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
D__functional_base70 template <class _T1, class _T2>
72 auto operator()(_T1&& __t, _T2&& __u) const
73 { return _VSTD::forward<_T1>(__t) < _VSTD::forward<_T2>(__u); }