Home
last modified time | relevance | path

Searched refs:multimap (Results 1 – 25 of 62) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/
Dtypes.pass.cpp40 static_assert((std::is_same<std::multimap<int, double>::key_type, int>::value), ""); in main()
41 static_assert((std::is_same<std::multimap<int, double>::mapped_type, double>::value), ""); in main()
42 …static_assert((std::is_same<std::multimap<int, double>::value_type, std::pair<const int, double> >… in main()
43 …static_assert((std::is_same<std::multimap<int, double>::key_compare, std::less<int> >::value), ""); in main()
44 …static_assert((std::is_same<std::multimap<int, double>::allocator_type, std::allocator<std::pair<c… 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()
49 static_assert((std::is_same<std::multimap<int, double>::size_type, std::size_t>::value), ""); in main()
[all …]
Diterator.pass.cpp65 std::multimap<int, double> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
68 std::multimap<int, double>::iterator i; in main()
70 std::multimap<int, double>::const_iterator k = i; in main()
110 const std::multimap<int, double> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
115 std::multimap<int, double>::const_iterator i; in main()
154 … std::multimap<int, double, std::less<int>, min_allocator<V>> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
157 std::multimap<int, double, std::less<int>, min_allocator<V>>::iterator i; in main()
159 std::multimap<int, double, std::less<int>, min_allocator<V>>::const_iterator k = i; in main()
199 …const std::multimap<int, double, std::less<int>, min_allocator<V>> m(ar, ar+sizeof(ar)/sizeof(ar[0… in main()
204 std::multimap<int, double, std::less<int>, min_allocator<V>>::const_iterator i; in main()
[all …]
Dmax_size.pass.cpp24 typedef std::multimap<int, double> M; in main()
30 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M; in main()
Dempty.pass.cpp24 typedef std::multimap<int, double> M; in main()
34 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.cons/
Ddtor_noexcept.pass.cpp35 typedef std::multimap<MoveOnly, MoveOnly> C; in main()
39 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; in main()
43 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; in main()
47 typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C; in main()
Dmove_noexcept.pass.cpp35 typedef std::multimap<MoveOnly, MoveOnly> C; in main()
39 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; in main()
43 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; in main()
47 typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C; in main()
Ddefault_noexcept.pass.cpp37 typedef std::multimap<MoveOnly, MoveOnly> C; in main()
41 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; in main()
45 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; in main()
49 typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C; in main()
Dmove_assign_noexcept.pass.cpp37 typedef std::multimap<MoveOnly, MoveOnly> C; in main()
41 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; in main()
45 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; in main()
49 typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C; in main()
Dcopy_assign.pass.cpp41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main()
42 std::multimap<int, double, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A(7)); in main()
65 std::multimap<int, double> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
66 std::multimap<int, double> *p = &m; in main()
87 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main()
88 std::multimap<int, double, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A(7)); in main()
114 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A()); in main()
115 std::multimap<int, double, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A()); in main()
Dcopy.pass.cpp41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main()
42 std::multimap<int, double, C, A> m = mo; in main()
67 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main()
68 std::multimap<int, double, C, A> m = mo; in main()
94 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A()); in main()
95 std::multimap<int, double, C, A> m = mo; in main()
Ddefault.pass.cpp24 std::multimap<int, double> m; in main()
30 std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> m; in main()
35 std::multimap<int, double> m = {}; in main()
Dcopy_alloc.pass.cpp41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main()
42 std::multimap<int, double, C, A> m(mo, A(3)); in main()
67 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A()); in main()
68 std::multimap<int, double, C, A> m(mo, A()); in main()
Dmove.pass.cpp30 std::multimap<int, double, C, A> mo(C(5), A(7)); in main()
31 std::multimap<int, double, C, A> m = std::move(mo); in main()
57 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main()
58 std::multimap<int, double, C, A> m = std::move(mo); in main()
82 std::multimap<int, double, C, A> mo(C(5), A()); in main()
83 std::multimap<int, double, C, A> m = std::move(mo); in main()
109 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A()); in main()
110 std::multimap<int, double, C, A> m = std::move(mo); in main()
Dcompare.pass.cpp26 std::multimap<int, double, C> m(C(3)); in main()
34 std::multimap<int, double, C, min_allocator<std::pair<const int, double>>> m(C(3)); in main()
Dalloc.pass.cpp27 std::multimap<int, double, C, A> m(A(5)); in main()
36 std::multimap<int, double, C, A> m(A{}); in main()
Dcompare_alloc.pass.cpp28 std::multimap<int, double, C, A> m(C(4), A(5)); in main()
38 std::multimap<int, double, C, A> m(C(4), A()); in main()
Dinitializer_list_compare_alloc.pass.cpp28 typedef std::multimap<int, double, Cmp, A> C; in main()
64 typedef std::multimap<int, double, Cmp, A> C; in main()
100 typedef std::multimap<int, double, C, A> M; in main()
Dassign_initializer_list.pass.cpp25 typedef std::multimap<int, double> C; in main()
55 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> C; in main()
Dinitializer_list.pass.cpp25 typedef std::multimap<int, double> C; in main()
54 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> C; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.special/
Dswap_noexcept.pass.cpp40 typedef std::multimap<MoveOnly, MoveOnly> C; in main()
45 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; in main()
50 typedef std::multimap<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; in main()
55 typedef std::multimap<MoveOnly, MoveOnly, some_comp<MoveOnly>> C; in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_map.h237 class multimap in _STLP_CREATE_ITERATOR_TRAITS()
239 : public __stlport_class<multimap<_Key, _Tp, _Compare, _Alloc> > in _STLP_CREATE_ITERATOR_TRAITS()
242 typedef multimap<_Key, _Tp, _Compare, _Alloc> _Self; in _STLP_CREATE_ITERATOR_TRAITS()
254 friend class multimap<_Key,_Tp,_Compare,_Alloc>; in _STLP_CREATE_ITERATOR_TRAITS() local
292 multimap() : _M_t(_Compare(), allocator_type()) { } in _STLP_CREATE_ITERATOR_TRAITS()
293 explicit multimap(const _Compare& __comp, in _STLP_CREATE_ITERATOR_TRAITS()
299 multimap(_InputIterator __first, _InputIterator __last) in _STLP_CREATE_ITERATOR_TRAITS()
304 multimap(_InputIterator __first, _InputIterator __last, in _STLP_CREATE_ITERATOR_TRAITS()
309 multimap(_InputIterator __first, _InputIterator __last, in _STLP_CREATE_ITERATOR_TRAITS()
314 multimap(const value_type* __first, const value_type* __last) in _STLP_CREATE_ITERATOR_TRAITS()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dmap225 class multimap
249 friend class multimap;
258 multimap()
263 explicit multimap(const key_compare& comp);
264 multimap(const key_compare& comp, const allocator_type& a);
266 multimap(InputIterator first, InputIterator last, const key_compare& comp);
268 multimap(InputIterator first, InputIterator last, const key_compare& comp,
270 multimap(const multimap& m);
271 multimap(multimap&& m)
275 explicit multimap(const allocator_type& a);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.modifiers/
Dclear.pass.cpp24 typedef std::multimap<int, double> M; in main()
44 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M; in main()
Demplace.pass.cpp28 typedef std::multimap<int, DefaultOnly> M; in main()
55 typedef std::multimap<int, Emplaceable> M; in main()
78 typedef std::multimap<int, double> M; in main()
89 …typedef std::multimap<int, DefaultOnly, std::less<int>, min_allocator<std::pair<const int, Default… in main()
116 …typedef std::multimap<int, Emplaceable, std::less<int>, min_allocator<std::pair<const int, Emplace… in main()
139 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M; in main()
Demplace_hint.pass.cpp28 typedef std::multimap<int, DefaultOnly> M; in main()
57 typedef std::multimap<int, Emplaceable> M; in main()
83 typedef std::multimap<int, double> M; in main()
94 …typedef std::multimap<int, DefaultOnly, std::less<int>, min_allocator<std::pair<const int, Default… in main()
123 …typedef std::multimap<int, Emplaceable, std::less<int>, min_allocator<std::pair<const int, Emplace… in main()
149 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M; in main()

123