Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 25 of 28) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
57 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
60 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
57 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
60 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
56 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
56 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ext/
Dhash_set27 typedef Value key_type;
28 typedef key_type value_type;
70 size_type erase(const key_type& k);
79 iterator find(const key_type& k);
80 const_iterator find(const key_type& k) const;
81 size_type count(const key_type& k) const;
82 pair<iterator, iterator> equal_range(const key_type& k);
83 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
113 typedef Value key_type;
114 typedef key_type value_type;
[all …]
Dhash_map27 typedef Key key_type;
32 typedef pair<const key_type, mapped_type> value_type;
71 size_type erase(const key_type& k);
80 iterator find(const key_type& k);
81 const_iterator find(const key_type& k) const;
82 size_type count(const key_type& k) const;
83 pair<iterator, iterator> equal_range(const key_type& k);
84 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
86 mapped_type& operator[](const key_type& k);
116 typedef Key key_type;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dset27 typedef Key key_type;
28 typedef key_type value_type;
119 size_type erase(const key_type& k);
135 iterator find(const key_type& k);
136 const_iterator find(const key_type& k) const;
144 size_type count(const key_type& k) const;
145 iterator lower_bound(const key_type& k);
146 const_iterator lower_bound(const key_type& k) const;
152 iterator upper_bound(const key_type& k);
153 const_iterator upper_bound(const key_type& k) const;
[all …]
Dmap27 typedef Key key_type;
29 typedef pair<const key_type, mapped_type> value_type;
117 mapped_type& operator[](const key_type& k);
118 mapped_type& operator[](key_type&& k);
120 mapped_type& at(const key_type& k);
121 const mapped_type& at(const key_type& k) const;
139 size_type erase(const key_type& k);
155 iterator find(const key_type& k);
156 const_iterator find(const key_type& k) const;
164 size_type count(const key_type& k) const;
[all …]
Dunordered_map29 typedef Key key_type;
34 typedef pair<const key_type, mapped_type> value_type;
126 size_type erase(const key_type& k);
140 iterator find(const key_type& k);
141 const_iterator find(const key_type& k) const;
142 size_type count(const key_type& k) const;
143 pair<iterator, iterator> equal_range(const key_type& k);
144 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
146 mapped_type& operator[](const key_type& k);
147 mapped_type& operator[](key_type&& k);
[all …]
Dunordered_set29 typedef Value key_type;
30 typedef key_type value_type;
117 size_type erase(const key_type& k);
131 iterator find(const key_type& k);
132 const_iterator find(const key_type& k) const;
133 size_type count(const key_type& k) const;
134 pair<iterator, iterator> equal_range(const key_type& k);
135 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
141 size_type bucket(const key_type& k) const;
178 typedef Value key_type;
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_tree.h101 typedef typename _Base::key_type key_type; typedef
111 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_KEY_TYPE_FOR_CONT_EXT() argument
275 size_type erase(const key_type& __x) { in erase()
282 size_type erase_unique(const key_type& __x) { in erase_unique()
297 void erase(const key_type* __first, const key_type* __last) { in erase()
D_hashtable.h104 typedef _Key key_type; typedef
129 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_KEY_TYPE_FOR_CONT_EXT() argument
284 size_type erase(const key_type& __key) { in erase()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_unordered_map.h45 typedef _Key key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
48 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS()
54 typedef hashtable<value_type, key_type, _HashFcn, _UnorderedMapTraits, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
80 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
170 size_type erase(const key_type& __key) {return _M_ht.erase(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
213 typedef _Key key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
216 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS()
222 typedef hashtable<value_type, key_type, _HashFcn, _UnorderedMultimapTraits, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
248 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
330 size_type erase(const key_type& __key) {return _M_ht.erase(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_set.h54 typedef _Key key_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
65 typedef _STLP_PRIV _Rb_tree<key_type, key_compare, in _STLP_CREATE_ITERATOR_TRAITS()
83 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_ITERATOR_TRAITS()
183 size_type erase(const key_type& __x) { return _M_t.erase_unique(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
225 typedef _Key key_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
236 typedef _STLP_PRIV _Rb_tree<key_type, key_compare, in _STLP_CREATE_ITERATOR_TRAITS()
254 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_ITERATOR_TRAITS()
355 size_type erase(const key_type& __x) { return _M_t.erase(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
D_map.h54 typedef _Key key_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
77 typedef _STLP_PRIV _Rb_tree<key_type, key_compare, in _STLP_CREATE_ITERATOR_TRAITS()
95 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_ITERATOR_TRAITS()
204 size_type erase(const key_type& __x) { return _M_t.erase_unique(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
247 typedef _Key key_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
270 typedef _STLP_PRIV _Rb_tree<key_type, key_compare, in _STLP_CREATE_ITERATOR_TRAITS()
288 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_ITERATOR_TRAITS()
379 size_type erase(const key_type& __x) { return _M_t.erase(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
D_unordered_set.h49 typedef typename _Ht::key_type key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
74 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
156 size_type erase(const key_type& __key) {return _M_ht.erase(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
199 typedef typename _Ht::key_type key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
224 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
306 size_type erase(const key_type& __key) {return _M_ht.erase(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_hash_map.h53 typedef _Key key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
56 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS()
62 typedef hashtable<value_type, key_type, _HashFcn, _HashMapTraits, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
86 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
244 typedef _Key key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
247 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS()
253 typedef hashtable<value_type, key_type, _HashFcn, _HashMultimapTraits, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
277 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_tree.h301 typedef _Key key_type;
314 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type)
502 size_type erase(const key_type& __x) {
509 size_type erase_unique(const key_type& __x) {
526 void erase(const key_type* __first, const key_type* __last) {
D_hash_set.h57 typedef typename _Ht::key_type key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
80 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
243 typedef typename _Ht::key_type key_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
266 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dconcept_check.hpp892 typedef typename C::key_type key_type;
905 BOOST_CONCEPT_ASSERT((BinaryPredicate<key_compare,key_type,key_type>));
926 typename C::key_type k;
972 typedef typename C::key_type key_type;
974 BOOST_MPL_ASSERT((boost::is_same<key_type,value_type>));
983 typedef typename C::key_type key_type;
986 typedef std::pair<const key_type, mapped_type> required_value_type;
1028 typename C::key_type k;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dtypes.pass.cpp40 static_assert((std::is_same<std::set<int>::key_type, int>::value), ""); in main()
54 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::key_type, int>::val… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dtypes.pass.cpp40 static_assert((std::is_same<std::multiset<int>::key_type, int>::value), ""); in main()
54 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::key_type, int>… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/
Dtypes.pass.cpp40 static_assert((std::is_same<std::map<int, double>::key_type, int>::value), ""); in main()
54 …, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), ""… in main()
/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()
54 …, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), ""… in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_set.h75 typedef _Key key_type;
83 typedef _STLP_PRIV _Rb_tree<key_type, key_compare,
114 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type)
255 size_type erase(const key_type& __x)
323 typedef _Key key_type;
331 typedef _STLP_PRIV _Rb_tree<key_type, key_compare,
361 _STLP_KEY_TYPE_FOR_CONT_EXT(key_type)
509 size_type erase(const key_type& __x)

12