/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/ |
D | minmax_init_list.pass.cpp | 22 assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3))); in main() 23 assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3))); in main() 24 assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3))); in main() 25 assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3))); in main() 26 assert((std::minmax({3, 1, 2}) == std::pair<int, int>(1, 3))); in main() 27 assert((std::minmax({3, 2, 1}) == std::pair<int, int>(1, 3))); in main() 30 static_assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)), ""); in main() 31 static_assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)), ""); in main() 32 static_assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3)), ""); in main() 33 static_assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3)), ""); in main() [all …]
|
D | minmax_init_list_comp.pass.cpp | 23 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 24 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 25 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 26 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 27 assert((std::minmax({3, 1, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 28 assert((std::minmax({3, 2, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 31 static_assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main() 32 static_assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main() 33 static_assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main() 34 static_assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main() [all …]
|
/ndk/sources/cxx-stl/gabi++/include/ |
D | stl_pair.h | 72 struct pair { struct 78 pair() : first(), second() {} in pair() argument 79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair() argument 82 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() argument 86 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) 92 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) 99 inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { 104 inline bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { 109 inline bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { 114 inline bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { [all …]
|
/ndk/sources/cxx-stl/system/include/ |
D | stl_pair.h | 72 struct pair { struct 78 pair() : first(), second() {} in pair() argument 79 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair() argument 82 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() function 86 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) 92 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) 99 inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { 104 inline bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { 109 inline bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { 114 inline bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/ |
D | types.pass.cpp | 42 …static_assert((std::is_same<std::map<int, double>::value_type, std::pair<const int, double> >::val… in main() 44 …static_assert((std::is_same<std::map<int, double>::allocator_type, std::allocator<std::pair<const … in main() 45 …static_assert((std::is_same<std::map<int, double>::reference, std::pair<const int, double>&>::valu… in main() 46 …static_assert((std::is_same<std::map<int, double>::const_reference, const std::pair<const int, dou… in main() 47 …static_assert((std::is_same<std::map<int, double>::pointer, std::pair<const int, double>*>::value)… in main() 48 …static_assert((std::is_same<std::map<int, double>::const_pointer, const std::pair<const int, doubl… in main() 54 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main() 55 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main() 56 …map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::value_type, std::pa… in main() 57 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/ |
D | types.pass.cpp | 42 …static_assert((std::is_same<std::multimap<int, double>::value_type, std::pair<const int, double> >… in main() 44 …::is_same<std::multimap<int, double>::allocator_type, std::allocator<std::pair<const int, double> … in main() 45 …static_assert((std::is_same<std::multimap<int, double>::reference, std::pair<const int, double>&>:… in main() 46 …static_assert((std::is_same<std::multimap<int, double>::const_reference, const std::pair<const int… in main() 47 …static_assert((std::is_same<std::multimap<int, double>::pointer, std::pair<const int, double>*>::v… in main() 48 …static_assert((std::is_same<std::multimap<int, double>::const_pointer, const std::pair<const int, … in main() 54 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main() 55 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main() 56 …map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::value_type, std::pa… in main() 57 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main() [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _pair.h | 51 struct pair { struct 58 pair() {} in pair() argument 60 pair() : first(_T1()), second(_T2()) {} in pair() argument 62 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair() argument 66 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() argument 68 pair(const pair<_T1,_T2>& __o) : first(__o.first), second(__o.second) {} in pair() argument 72 pair(__move_source<pair<_T1, _T2> > src) : first(_STLP_PRIV _AsMoveSource(src.get().first)), in pair() argument 77 __TRIVIAL_DESTRUCTOR(pair) 81 inline bool _STLP_CALL operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) 85 inline bool _STLP_CALL operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | utility | 58 struct pair 66 pair(const pair&) = default; 67 pair(pair&&) = default; 68 constexpr pair(); 69 pair(const T1& x, const T2& y); // constexpr in C++14 70 template <class U, class V> pair(U&& x, V&& y); // constexpr in C++14 71 template <class U, class V> pair(const pair<U, V>& p); // constexpr in C++14 72 template <class U, class V> pair(pair<U, V>&& p); // constexpr in C++14 74 pair(piecewise_construct_t, tuple<Args1...> first_args, 77 template <class U, class V> pair& operator=(const pair<U, V>& p); [all …]
|
/ndk/sources/cxx-stl/stlport/src/ |
D | locale_catalog.cpp | 99 typedef hash_map<string, pair<void*, size_t>, hash<string>, equal_to<string> > Category_Map; 146 pair<Category_iterator, bool> result; in __acquire_category() 149 …pair<_Ht_iterator<_Slist_iterator<pair<const string,pair<void *,unsigned int> >,_Nonconst_traits<p… in __acquire_category() 151 …pair<_DBG_iter<_NonDbg_hashtable<pair<const string,pair<void *,unsigned int> >,string,hash<string>… in __acquire_category() 171 Category_Map::value_type __e(name, pair<void*,size_t>((void*)0,size_t(0))); in __acquire_category()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
D | move.pass.cpp | 35 test_allocator<std::pair<const int, std::string> > in main() 37 typedef std::pair<int, std::string> P; in main() 50 test_allocator<std::pair<const int, std::string> >(10) in main() 58 (test_allocator<std::pair<const int, std::string> >(10))); in main() 71 test_allocator<std::pair<const int, std::string> > in main() 73 typedef std::pair<int, std::string> P; in main() 87 test_allocator<std::pair<const int, std::string> >(10) in main() 99 (test_allocator<std::pair<const int, std::string> >(10))); in main() 113 min_allocator<std::pair<const int, std::string> > in main() 115 typedef std::pair<int, std::string> P; in main() [all …]
|
D | copy_alloc.pass.cpp | 34 test_allocator<std::pair<const int, std::string> > in main() 36 typedef std::pair<int, std::string> P; in main() 50 test_allocator<std::pair<const int, std::string> >(10) in main() 52 C c(c0, test_allocator<std::pair<const int, std::string> >(5)); in main() 62 (test_allocator<std::pair<const int, std::string> >(5))); in main() 74 min_allocator<std::pair<const int, std::string> > in main() 76 typedef std::pair<int, std::string> P; in main() 90 min_allocator<std::pair<const int, std::string> >() in main() 92 C c(c0, min_allocator<std::pair<const int, std::string> >()); in main() 102 (min_allocator<std::pair<const int, std::string> >())); in main()
|
D | copy.pass.cpp | 34 test_allocator<std::pair<const int, std::string> > in main() 36 typedef std::pair<int, std::string> P; in main() 50 test_allocator<std::pair<const int, std::string> >(10) in main() 62 (test_allocator<std::pair<const int, std::string> >(10))); in main() 74 other_allocator<std::pair<const int, std::string> > in main() 76 typedef std::pair<int, std::string> P; in main() 90 other_allocator<std::pair<const int, std::string> >(10) in main() 102 (other_allocator<std::pair<const int, std::string> >(-2))); in main() 115 min_allocator<std::pair<const int, std::string> > in main() 117 typedef std::pair<int, std::string> P; in main() [all …]
|
D | init_size_hash_equal_allocator.pass.cpp | 36 test_allocator<std::pair<const int, std::string> > in main() 38 typedef std::pair<int, std::string> P; in main() 50 test_allocator<std::pair<const int, std::string> >(10) in main() 61 (test_allocator<std::pair<const int, std::string> >(10))); in main() 73 min_allocator<std::pair<const int, std::string> > in main() 75 typedef std::pair<int, std::string> P; in main() 87 min_allocator<std::pair<const int, std::string> >() in main() 98 (min_allocator<std::pair<const int, std::string> >())); in main()
|
D | range_size_hash_equal_allocator.pass.cpp | 39 test_allocator<std::pair<const int, std::string> > in main() 41 typedef std::pair<int, std::string> P; in main() 55 test_allocator<std::pair<const int, std::string> >(10) in main() 66 (test_allocator<std::pair<const int, std::string> >(10))); in main() 78 min_allocator<std::pair<const int, std::string> > in main() 80 typedef std::pair<int, std::string> P; in main() 94 min_allocator<std::pair<const int, std::string> >() in main() 105 (min_allocator<std::pair<const int, std::string> >())); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
D | max_load_factor.pass.cpp | 33 typedef std::pair<int, std::string> P; in main() 39 typedef std::pair<int, std::string> P; in main() 48 min_allocator<std::pair<const int, std::string>>> C; in main() 49 typedef std::pair<int, std::string> P; in main() 55 min_allocator<std::pair<const int, std::string>>> C; in main() 56 typedef std::pair<int, std::string> P; in main()
|
D | load_factor.pass.cpp | 29 typedef std::pair<int, std::string> P; in main() 46 typedef std::pair<int, std::string> P; in main() 53 min_allocator<std::pair<const int, std::string>>> C; in main() 54 typedef std::pair<int, std::string> P; in main() 71 min_allocator<std::pair<const int, std::string>>> C; in main() 72 typedef std::pair<int, std::string> P; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
D | max_load_factor.pass.cpp | 33 typedef std::pair<int, std::string> P; in main() 39 typedef std::pair<int, std::string> P; in main() 48 min_allocator<std::pair<const int, std::string>>> C; in main() 49 typedef std::pair<int, std::string> P; in main() 55 min_allocator<std::pair<const int, std::string>>> C; in main() 56 typedef std::pair<int, std::string> P; in main()
|
D | bucket_count.pass.cpp | 29 typedef std::pair<int, std::string> P; in main() 36 typedef std::pair<int, std::string> P; in main() 54 min_allocator<std::pair<const int, std::string>>> C; in main() 56 typedef std::pair<int, std::string> P; in main() 62 min_allocator<std::pair<const int, std::string>>> C; in main() 64 typedef std::pair<int, std::string> P; in main()
|
D | load_factor.pass.cpp | 29 typedef std::pair<int, std::string> P; in main() 46 typedef std::pair<int, std::string> P; in main() 53 min_allocator<std::pair<const int, std::string>>> C; in main() 54 typedef std::pair<int, std::string> P; in main() 71 min_allocator<std::pair<const int, std::string>>> C; in main() 72 typedef std::pair<int, std::string> P; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/ |
D | const_pair_U_V.pass.cpp | 22 typedef std::pair<int, short> P1; in main() 23 typedef std::pair<double, long> P2; in main() 32 typedef std::pair<int, short> P1; in main() 33 typedef std::pair<double, long> P2; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
D | move.pass.cpp | 35 test_allocator<std::pair<const int, std::string> > in main() 37 typedef std::pair<int, std::string> P; in main() 50 test_allocator<std::pair<const int, std::string> >(10) in main() 58 (test_allocator<std::pair<const int, std::string> >(10))); in main() 71 test_allocator<std::pair<const int, std::string> > in main() 73 typedef std::pair<int, std::string> P; in main() 87 test_allocator<std::pair<const int, std::string> >(10) in main() 92 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() 126 assert((c.get_allocator() == test_allocator<std::pair<const int, std::string> >(10))); in main() 135 min_allocator<std::pair<const int, std::string> > in main() [all …]
|
D | copy_alloc.pass.cpp | 34 test_allocator<std::pair<const int, std::string> > in main() 36 typedef std::pair<int, std::string> P; in main() 50 test_allocator<std::pair<const int, std::string> >(10) in main() 52 C c(c0, test_allocator<std::pair<const int, std::string> >(5)); in main() 76 (test_allocator<std::pair<const int, std::string> >(5))); in main() 88 min_allocator<std::pair<const int, std::string> > in main() 90 typedef std::pair<int, std::string> P; in main() 104 min_allocator<std::pair<const int, std::string> >() in main() 106 C c(c0, min_allocator<std::pair<const int, std::string> >()); in main() 130 (min_allocator<std::pair<const int, std::string> >())); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/mismatch/ |
D | mismatch_pred.pass.cpp | 38 (std::pair<input_iterator<const int*>, in main() 48 (std::pair<input_iterator<const int*>, in main() 55 (std::pair<int*,int*>(ia+3,ib+3))); in main() 58 (std::pair<int*,int*>(ia+3,ib+3))); in main() 60 (std::pair<int*,int*>(ia+2,ib+2))); in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/ |
D | pair.hpp | 28 struct pair struct 30 typedef pair type; argument 34 BOOST_MPL_AUX_LAMBDA_SUPPORT(2,pair,(T1,T2)) 64 BOOST_MPL_AUX_NA_SPEC_NO_ETI(2, pair)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.spec/ |
D | make_pair.pass.cpp | 21 typedef std::pair<int, short> P1; in main() 29 typedef std::pair<std::unique_ptr<int>, short> P1; in main() 35 typedef std::pair<std::unique_ptr<int>, short> P1; in main() 44 typedef std::pair<int, short> P1; in main()
|