Home
last modified time | relevance | path

Searched refs:const_iterator (Results 1 – 25 of 65) sorted by relevance

123

/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_tree.h106 typedef _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_ConstIteTraits> > const_iterator; typedef
118 typedef typename _Base::const_iterator _Base_const_iterator;
157 const_iterator begin() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin()
159 const_iterator end() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end()
181 const_iterator find(const _KT& __k) const in find()
182 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.find(__k)); } in find()
188 const_iterator lower_bound(const _KT& __x) const in lower_bound()
189 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.lower_bound(__x)); } in lower_bound()
195 const_iterator upper_bound(const _KT& __x) const in upper_bound()
196 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.upper_bound(__x)); } in upper_bound()
[all …]
D_hashtable.h111 typedef _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_ConstTraits> > const_iterator; typedef
115 typedef const_iterator const_local_iterator;
118 typedef typename _Base::const_iterator _Base_const_iterator;
124 void _Invalidate_iterator(const const_iterator& __it) in _Invalidate_iterator()
126 void _Invalidate_iterators(const const_iterator& __first, const const_iterator& __last) in _Invalidate_iterators()
196 const_iterator begin() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin()
197 const_iterator end() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end()
249 void insert_unique(const_iterator __f, const_iterator __l) { in insert_unique()
254 void insert_equal(const_iterator __f, const_iterator __l) { in insert_equal()
264 const_iterator find(const _KT& __key) const in find()
[all …]
D_slist.h92 …P_PRIV _DBG_iter<_Base, _STLP_PRIV _SlistDbgTraits<_Const_traits<value_type> > > const_iterator; typedef
158 slist(const_iterator __first, const_iterator __last,
186 const_iterator before_begin() const in before_begin()
187 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.before_begin()); } in before_begin()
191 const_iterator begin() const in begin()
192 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin());} in begin()
196 const_iterator end() const in end()
197 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end()
224 iterator previous(const_iterator __pos) { in previous()
229 const_iterator previous(const_iterator __pos) const { in previous()
[all …]
D_deque.h70 … _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_Const_traits<value_type> > > const_iterator; typedef
91 const_iterator begin() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin()
92 const_iterator end() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end()
183 deque(const_iterator __first, const_iterator __last,
225 void assign(const_iterator __first, const_iterator __last) { in assign()
334 const_iterator __first, const_iterator __last) { in insert()
D_vector.h121 …DbgTraits<_STLP_PRIV _Vector_const_traits<value_type, typename _Base::iterator> > > const_iterator;
147 const_iterator begin() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin()); }
149 const_iterator end() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); }
227 vector(const_iterator __first, const_iterator __last ,
314 const_iterator __first, const_iterator __last) {
395 void assign(const_iterator __first, const_iterator __last) {
D_string.h63 …def _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_Const_traits<value_type> > > const_iterator; typedef
138 basic_string(const_iterator __f, const_iterator __l,
184 const_iterator begin() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin()
186 const_iterator end() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end()
264 _Self& append(const_iterator __f, const_iterator __l) { in append()
380 _Self& assign(const_iterator __f, const_iterator __l) { in assign()
468 void insert(iterator __p, const_iterator __f, const_iterator __l) { in insert()
621 const_iterator __f, const_iterator __l) { in replace()
676 static int _STLP_CALL _M_compare(const_iterator __f1, const_iterator __l1, in _M_compare()
680 const_iterator __f2, const_iterator __l2) in _M_compare()
[all …]
D_list.h75 … _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_Const_traits<value_type> > > const_iterator; typedef
140 list(const_iterator __first, const_iterator __last,
164 const_iterator begin() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin()
167 const_iterator end() const { return const_iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end()
238 const_iterator __first, const_iterator __last) { in insert()
327 void assign(const_iterator __first, const_iterator __last) { in assign()
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_set.h97 typedef typename _Rep_type::const_iterator const_base_iterator;
105 typedef typename _Priv_Rep_type::const_iterator const_iterator;
119 static base_iterator _S_to_storage_ite(const_iterator __ite)
124 static base_iterator _S_to_storage_ite(const_iterator __ite)
183 set(const_iterator __first, const_iterator __last)
187 set(const_iterator __first, const_iterator __last,
213 const_iterator begin() const { return _S_to_value_ite(_M_t.begin()); }
214 const_iterator end() const { return _S_to_value_ite(_M_t.end()); }
246 void insert(const_iterator __first, const_iterator __last)
263 const_iterator find(const _KT& __x) const
[all …]
D_slist.h62 typedef typename _Base::const_iterator _BaseConstIte;
78 typedef _STLP_PRIV _Slist_iterator<value_type, _Const_traits<value_type> > const_iterator; typedef
126 slist(const_iterator __first, const_iterator __last,
180 void assign(const_iterator __first, const_iterator __last) { in assign()
187const_iterator before_begin() const { return const_iterator(const_cast<_Node_base*>(_M_impl.before… in before_begin()
190const_iterator begin() const { return const_iterator(const_cast<_Node_base*>(_M_impl.begin(… in begin()
193 const_iterator end() const { return iterator(_M_impl.end()._M_node); } in end()
220 iterator previous(const_iterator __pos) in previous()
222 const_iterator previous(const_iterator __pos) const in previous()
223 …{ return const_iterator(const_cast<_Node_base*>(_M_impl.previous(_BaseConstIte(__pos._M_node))._M_… in previous()
[all …]
D_vector.h65 typedef const value_type* const_iterator; typedef
80 const_iterator begin() const { return cast_traits::to_value_type_cptr(_M_impl.begin()); } in begin()
82 const_iterator end() const { return cast_traits::to_value_type_cptr(_M_impl.end()); } in end()
145 vector(const_iterator __first, const_iterator __last,
162 void assign(const_iterator __first, const_iterator __last) { in assign()
199 void insert(iterator __pos, const_iterator __first, const_iterator __last) { in insert()
D_deque.h36 typedef _Deque_iterator<_ValueT, _Const_traits<_ValueT> > const_iterator; typedef
58 static const_iterator to_value_type_cite (const_storage_iterator const& __ite) { in to_value_type_cite()
59 const_iterator tmp; in to_value_type_cite()
67 static const_storage_iterator to_storage_type_cite (const_iterator const& __ite) { in to_storage_type_cite()
122 typedef _STLP_PRIV _Deque_iterator<value_type, _Const_traits<value_type> > const_iterator;
129 const_iterator begin() const { return ite_cast_traits::to_value_type_cite(_M_impl.begin()); }
130 const_iterator end() const { return ite_cast_traits::to_value_type_cite(_M_impl.end()); }
208 deque(const_iterator __first, const_iterator __last,
261 void assign(const_iterator __first, const_iterator __last)
343 const_iterator __first, const_iterator __last) {
D_list.h68 typedef typename _Base::const_iterator _BaseConstIte;
85 typedef _STLP_PRIV _List_iterator<value_type, _Const_traits<value_type> > const_iterator; typedef
138 list(const_iterator __first, const_iterator __last,
153 const_iterator begin() const { return const_iterator(_M_impl.begin()._M_node); } in begin()
156 const_iterator end() const { return const_iterator(_M_impl.end()._M_node); } in end()
221 void insert(iterator __pos, const_iterator __first, const_iterator __last) in insert()
289 void assign(const_iterator __first, const_iterator __last) in assign()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_unordered_set.h62 typedef typename _Ht::const_iterator const_iterator; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
103 unordered_set(const_iterator __f, const_iterator __l, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
124 const_iterator begin() const { return _M_ht.begin(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
125 const_iterator end() const { return _M_ht.end(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
129 iterator insert(const_iterator /*__hint*/, const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
135 void insert(const_iterator __f, const_iterator __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
144 const_iterator find(const _KT& __key) const { return _M_ht.find(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
153 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
157 void erase(const_iterator __it) { _M_ht.erase(__it); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
158 void erase(const_iterator __f, const_iterator __l) { _M_ht.erase(__f, __l); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_set.h74 typedef typename _Rep_type::const_iterator const_iterator; in _STLP_CREATE_ITERATOR_TRAITS() typedef
125 set(const_iterator __first, const_iterator __last) in _STLP_CREATE_ITERATOR_TRAITS()
129 set(const_iterator __first, const_iterator __last, const _Compare& __comp, in _STLP_CREATE_ITERATOR_TRAITS()
153 const_iterator begin() const { return _M_t.begin(); } in _STLP_CREATE_ITERATOR_TRAITS()
154 const_iterator end() const { return _M_t.end(); } in _STLP_CREATE_ITERATOR_TRAITS()
177 void insert(const_iterator __first, const_iterator __last) in _STLP_CREATE_ITERATOR_TRAITS()
189 const_iterator find(const _KT& __x) const { return _M_t.find(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
198 const_iterator lower_bound(const _KT& __x) const { return _M_t.lower_bound(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
202 const_iterator upper_bound(const _KT& __x) const { return _M_t.upper_bound(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
207 pair<const_iterator, const_iterator> equal_range(const _KT& __x) const in _STLP_CREATE_ITERATOR_TRAITS()
[all …]
D_map.h86 typedef typename _Rep_type::const_iterator const_iterator; in _STLP_CREATE_ITERATOR_TRAITS() typedef
137 map(const_iterator __first, const_iterator __last) in _STLP_CREATE_ITERATOR_TRAITS()
141 map(const_iterator __first, const_iterator __last, const _Compare& __comp, in _STLP_CREATE_ITERATOR_TRAITS()
164 const_iterator begin() const { return _M_t.begin(); } in _STLP_CREATE_ITERATOR_TRAITS()
166 const_iterator end() const { return _M_t.end(); } in _STLP_CREATE_ITERATOR_TRAITS()
199 void insert(const_iterator __first, const_iterator __last) in _STLP_CREATE_ITERATOR_TRAITS()
212 const_iterator find(const _KT& __x) const { return _M_t.find(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
218 const_iterator lower_bound(const _KT& __x) const { return _M_t.lower_bound(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
222 const_iterator upper_bound(const _KT& __x) const { return _M_t.upper_bound(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
228 pair<const_iterator,const_iterator> equal_range(const _KT& __x) const in _STLP_CREATE_ITERATOR_TRAITS()
[all …]
D_unordered_map.h68 typedef typename _Ht::const_iterator const_iterator; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
109 unordered_map(const_iterator __f, const_iterator __l, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
130 const_iterator begin() const { return _M_ht.begin(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
131 const_iterator end() const { return _M_ht.end(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
135 iterator insert(const_iterator /*__hint*/, const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
143 void insert(const_iterator __f, const_iterator __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
150 const_iterator find(const _KT& __key) const { return _M_ht.find(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
167 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
171 void erase(const_iterator __it) { _M_ht.erase(__it); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
172 void erase(const_iterator __f, const_iterator __l) { _M_ht.erase(__f, __l); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_hash_map.h76 typedef typename _Ht::const_iterator const_iterator; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
148 hash_map(const_iterator __f, const_iterator __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
151 hash_map(const_iterator __f, const_iterator __l, size_type __n) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
154 hash_map(const_iterator __f, const_iterator __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
158 hash_map(const_iterator __f, const_iterator __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
175 const_iterator begin() const { return _M_ht.begin(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
176 const_iterator end() const { return _M_ht.end(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
188 void insert(const_iterator __f, const_iterator __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
197 const_iterator find(const _KT& __key) const { return _M_ht.find(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
214 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_hash_set.h70 typedef typename _Ht::const_iterator const_iterator; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
149 hash_set(const_iterator __f, const_iterator __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
152 hash_set(const_iterator __f, const_iterator __l, size_type __n) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
155 hash_set(const_iterator __f, const_iterator __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
159 hash_set(const_iterator __f, const_iterator __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
177 const_iterator begin() const { return _M_ht.begin(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
178 const_iterator end() const { return _M_ht.end(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
187 void insert(const_iterator __f, const_iterator __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
199 const_iterator find(const _KT& __key) const { return _M_ht.find(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
208 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_tree.h157 typedef _Rb_tree_iterator<_Value, _ConstTraits> const_iterator; typedef
196 bool operator == (const_iterator __rhs) const {
199 bool operator != (const_iterator __rhs) const {
372 typedef _Rb_tree_iterator<value_type, _ConstTraits> const_iterator;
422 const_iterator begin() const { return const_iterator(_M_leftmost()); }
424const_iterator end() const { return const_iterator(__CONST_CAST(_Base_ptr, &this->_M_header._M_dat…
474 void insert_unique(const_iterator __first, const_iterator __last) {
482 void insert_equal(const_iterator __first, const_iterator __last) {
545 const_iterator find(const _KT& __k) const { return const_iterator(_M_find(__k)); }
597 pair<const_iterator, const_iterator> __p = equal_range(__x);
[all …]
D_slist.h93 typedef _Slist_iterator<_Tp, _ConstTraits> const_iterator; typedef
116 bool operator==(const_iterator __y ) const {
119 bool operator!=(const_iterator __y ) const {
240 typedef _STLP_PRIV _Slist_iterator<_Tp, _Const_traits<_Tp> > const_iterator;
319 slist(const_iterator __first, const_iterator __last,
387 void assign(const_iterator __first, const_iterator __last) {
413 const_iterator before_begin() const
414 { return const_iterator(__CONST_CAST(_Node_base*, &this->_M_head._M_data)); }
417 const_iterator begin() const
418 { return const_iterator(this->_M_head._M_data._M_next);}
[all …]
D_hashtable.h122 typedef _Ht_iterator<_BaseIte, _ConstTraits> const_iterator; typedef
144 bool operator == (const_iterator __rhs) const {
147 bool operator != (const_iterator __rhs) const {
257 typedef typename _ElemsCont::const_iterator _ElemsConstIte;
288 typedef _STLP_PRIV _Ht_iterator<_ElemsIte, _ConstTraits> const_iterator;
296 typedef const_iterator const_local_iterator;
381 const_iterator begin() const { return __CONST_CAST(_ElemsCont&, _M_elems).begin(); }
382 const_iterator end() const { return __CONST_CAST(_ElemsCont&, _M_elems).end(); }
479 void insert_unique(const_iterator __f, const_iterator __l) {
486 void insert_equal(const_iterator __f, const_iterator __l) {
[all …]
D_list.h106 typedef _List_iterator<_Tp, _ConstTraits> const_iterator; typedef
140 bool operator==(const_iterator __y ) const {
143 bool operator!=(const_iterator __y ) const {
276 typedef _STLP_PRIV _List_iterator<_Tp, _Const_traits<_Tp> > const_iterator;
340 list(const_iterator __first, const_iterator __last,
368 const_iterator begin() const { return const_iterator(this->_M_node._M_data._M_next); }
371const_iterator end() const { return const_iterator(__CONST_CAST(_Node_base*, &this->_M_…
458 void _M_insert(iterator __pos, const_iterator __first, const_iterator __last) {
490 void insert(iterator __pos, const_iterator __first, const_iterator __last) {
586 void assign(const_iterator __first2, const_iterator __last2) {
[all …]
D_deque.h176 typedef _Deque_iterator<_Tp, _ConstTraits> const_iterator; typedef
192 difference_type operator-(const const_iterator& __x) const { return this->_M_subtract(__x); }
352 typedef _Deque_iterator<_Tp, _Const_traits<_Tp> > const_iterator;
421 typedef typename _Base::const_iterator const_iterator;
434 const_iterator begin() const { return const_iterator(this->_M_start); }
435 const_iterator end() const { return const_iterator(this->_M_finish); }
466 const_iterator __tmp = this->_M_finish;
554 deque(const_iterator __first, const_iterator __last,
649 void assign(const_iterator __first, const_iterator __last) {
650 typedef const_iterator _ForwardIterator;
[all …]
/ndk/tests/device/test-stlport/unit/
Dmultiset_test.cpp77 mset::const_iterator ci; in mset3()
82 pair<mset::const_iterator, mset::const_iterator> cp; in mset3()
109 fn_mset::const_iterator i = s1.begin(); in mset5()
/ndk/tests/device/test-gnustl-full/unit/
Dmultiset_test.cpp77 mset::const_iterator ci; in mset3()
82 pair<mset::const_iterator, mset::const_iterator> cp; in mset3()
109 fn_mset::const_iterator i = s1.begin(); in mset5()

123