/ndk/tests/build/issue41387-uniform-initialized-rvalue/jni/ |
H A D | issue41387-uniform-initialized-rvalue.cpp | 1 struct pair { struct 7 (pair { 0, 0 }).method();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/ |
H A D | minmax_init_list.pass.cpp | 13 // pair<T, T> 22 assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3))); 23 assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3))); 24 assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3))); 25 assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3))); 26 assert((std::minmax({3, 1, 2}) == std::pair<int, int>(1, 3))); 27 assert((std::minmax({3, 2, 1}) == std::pair<int, int>(1, 3))); 30 static_assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)), ""); 31 static_assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)), ""); 32 static_assert((std::minmax({2, 1, 3}) == std::pair<in [all...] |
H A D | minmax_init_list_comp.pass.cpp | 13 // pair<T, T> 23 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); 24 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); 25 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); 26 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); 27 assert((std::minmax({3, 1, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); 28 assert((std::minmax({3, 2, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); 31 static_assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); 32 static_assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); 33 static_assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<in [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pair.astuple/ |
H A D | tuple_size.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // tuple_size<pair<T1, T2> >::value 21 typedef std::pair<int, short> P1;
|
H A D | get_const.pass.cpp | 12 // template <class T1, class T2> struct pair 15 // const typename tuple_element<I, std::pair<T1, T2> >::type& 16 // get(const pair<T1, T2>&); 24 typedef std::pair<int, short> P; 32 typedef std::pair<int, short> P;
|
H A D | get_const.fail.cpp | 12 // template <class T1, class T2> struct pair 15 // const typename tuple_element<I, std::pair<T1, T2> >::type& 16 // get(const pair<T1, T2>&); 24 typedef std::pair<int, short> P;
|
H A D | pairs.by.type3.fail.cpp | 19 std::pair<upint, int> t(upint(new int(4)), 23);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/ |
H A D | const_pair_U_V.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // template <class U, class V> pair(const pair<U, V>& p); 22 typedef std::pair<int, short> P1; 23 typedef std::pair<double, long> P2; 32 typedef std::pair<int, short> P1; 33 typedef std::pair<double, long> P2;
|
H A D | copy_ctor.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // pair(const pair&) = default; 22 typedef std::pair<int, short> P1; 29 static_assert((std::is_trivially_copy_constructible<std::pair<int, int> >::value), ""); 33 typedef std::pair<int, short> P1;
|
H A D | piecewise.pass.cpp | 12 // template <class T1, class T2> struct pair 15 // pair(piecewise_construct_t, tuple<Args1...> first_args, 26 typedef std::pair<int, int*> P1; 27 typedef std::pair<int*, int> P2; 28 typedef std::pair<P1, P2> P3;
|
H A D | assign_const_pair_U_V.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // template<class U, class V> pair& operator=(const pair<U, V>& p); 22 typedef std::pair<int, short> P1; 23 typedef std::pair<double, long> P2;
|
H A D | default.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // constexpr pair(); 22 typedef std::pair<float, short*> P; 30 typedef std::pair<float, short*> P;
|
H A D | types.pass.cpp | 13 // struct pair 23 typedef std::pair<float, short*> P;
|
/ndk/sources/cxx-stl/gabi++/include/ |
H A D | stl_pair.h | 72 struct pair { struct 78 pair() : first(), second() {} function in struct:pair 79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:pair 82 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument 86 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 92 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 99 inline bool operator!=(const pair<_T argument 104 operator >(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 109 operator <=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 114 operator >=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument [all...] |
/ndk/sources/cxx-stl/system/include/ |
H A D | stl_pair.h | 72 struct pair { struct 78 pair() : first(), second() {} function in struct:pair 79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:pair 82 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument 86 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 92 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 99 inline bool operator!=(const pair<_T argument 104 operator >(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 109 operator <=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 114 operator >=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/ |
H A D | types.pass.cpp | 13 // class Allocator = allocator<pair<const Key, T>>> 20 // typedef pair<const key_type, mapped_type> value_type; 42 static_assert((std::is_same<std::map<int, double>::value_type, std::pair<const int, double> >::value), ""); 44 static_assert((std::is_same<std::map<int, double>::allocator_type, std::allocator<std::pair<const int, double> > >::value), ""); 45 static_assert((std::is_same<std::map<int, double>::reference, std::pair<const int, double>&>::value), ""); 46 static_assert((std::is_same<std::map<int, double>::const_reference, const std::pair<const int, double>&>::value), ""); 47 static_assert((std::is_same<std::map<int, double>::pointer, std::pair<const int, double>*>::value), ""); 48 static_assert((std::is_same<std::map<int, double>::const_pointer, const std::pair<const int, double>*>::value), ""); 54 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), ""); 55 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<cons [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/ |
H A D | types.pass.cpp | 13 // class Allocator = allocator<pair<const Key, T>>> 20 // typedef pair<const key_type, mapped_type> value_type; 42 static_assert((std::is_same<std::multimap<int, double>::value_type, std::pair<const int, double> >::value), ""); 44 static_assert((std::is_same<std::multimap<int, double>::allocator_type, std::allocator<std::pair<const int, double> > >::value), ""); 45 static_assert((std::is_same<std::multimap<int, double>::reference, std::pair<const int, double>&>::value), ""); 46 static_assert((std::is_same<std::multimap<int, double>::const_reference, const std::pair<const int, double>&>::value), ""); 47 static_assert((std::is_same<std::multimap<int, double>::pointer, std::pair<const int, double>*>::value), ""); 48 static_assert((std::is_same<std::multimap<int, double>::const_pointer, const std::pair<const int, double>*>::value), ""); 54 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), ""); 55 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<cons [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
H A D | _pair.h | 51 struct pair { struct 58 pair() {} function in struct:pair 60 pair() : first(_T1()), second(_T2()) {} function in struct:pair 62 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:pair 66 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument 68 pair(const pair<_T1,_T2>& __o) : first(__o.first), second(__o.second) {} argument 72 pair(__move_source<pair<_T function in struct:pair 81 operator ==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 85 operator <(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 92 operator !=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 96 operator >(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 100 operator <=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument 104 operator >=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument [all...] |
H A D | _tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
H A D | arrow.pass.cpp | 22 const std::shared_ptr<std::pair<int, int> > p(new std::pair<int, int>(3, 4));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
H A D | max_bucket_count.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 29 typedef std::pair<int, std::string> P; 36 min_allocator<std::pair<const int, std::string>>> C; 38 typedef std::pair<int, std::string> P;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
H A D | max_bucket_count.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 29 typedef std::pair<int, std::string> P; 36 min_allocator<std::pair<const int, std::string>>> C; 38 typedef std::pair<int, std::string> P;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
H A D | deallocate.pass.cpp | 30 assert((A1<int>::deallocate_called == std::pair<int*, std::size_t>((int*)10, 20))); 36 assert((A1<int>::deallocate_called == std::pair<int*, std::size_t>((int*)10, 20))); 42 assert((A1<int>::deallocate_called == std::pair<int*, std::size_t>((int*)10, 20)));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/temporary.buffer/ |
H A D | temporary_buffer.pass.cpp | 13 // pair<T*, ptrdiff_t> 25 std::pair<int*, std::ptrdiff_t> ip = std::get_temporary_buffer<int>(5);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.spec/ |
H A D | make_pair.pass.cpp | 12 // template <class T1, class T2> pair<V1, V2> make_pair(T1&&, T2&&); 21 typedef std::pair<int, short> P1; 29 typedef std::pair<std::unique_ptr<int>, short> P1; 35 typedef std::pair<std::unique_ptr<int>, short> P1; 44 typedef std::pair<int, short> P1;
|