Searched defs:const_iterator (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dubitset.h41 typedef const_pointer const_iterator; typedef in class:ustl::bitset
64 inline const_iterator begin (void) const { return (m_Bits); }
66 inline const_iterator end (void) const { return (m_Bits + s_nWords); }
107 inline bool any (void) const { value_type sum = 0; foreach (const_iterator, i, *this) sum |= *i; return (sum); }
109 inline size_t count (void) const { size_t sum = 0; foreach (const_iterator, i, *this) sum += popcount(*i); return (sum); }
H A Dcmemlink.h52 typedef const_pointer const_iterator; typedef in class:ustl::cmemlink
53 typedef const_iterator iterator;
H A Dmemlink.h43 typedef cmemlink::const_iterator const_iterator; typedef in class:ustl::memlink
56 inline const_iterator begin (void) const { return (cmemlink::begin()); }
57 inline const_iterator end (void) const { return (cmemlink::end()); }
58 inline const_iterator iat (size_type i) const { return (cmemlink::iat (i)); }
H A Dulist.h27 typedef typename vector<T>::const_iterator const_iterator; typedef in class:ustl::list
35 inline list (const_iterator i1, const_iterator i2) : vector<T> (i1, i2) {}
38 inline const_iterator begin (void) const { return (vector<T>::begin()); }
40 inline const_iterator end (void) const { return (vector<T>::end()); }
H A Dumatrix.h34 typedef typename tuple_type::const_iterator const_iterator; typedef in class:ustl::matrix
43 inline const_iterator at (size_type i) const { return (matrix::begin() + i * NX); }
45 inline const_iterator operator[] (size_type i) const { return (at (i)); }
70 const_iterator src (matrix::begin() + c);
H A Dumultiset.h35 typedef typename base_class::const_iterator const_iterator; typedef in class:ustl::multiset
43 inline multiset (const_iterator i1, const_iterator i2) : vector<T> () { insert (i1, i2); }
47 inline const_iterator begin (void) const { return (base_class::begin()); }
49 inline const_iterator end (void) const { return (base_class::end()); }
50 inline void assign (const_iterator i1, const_iterator i2);
54 void insert (const_iterator i1, const_iterator i
[all...]
H A Duset.h35 typedef typename base_class::const_iterator const_iterator; typedef in class:ustl::set
43 inline set (const_iterator i1, const_iterator i2) : vector<T> () { insert (i1, i2); }
47 inline const_iterator begin (void) const { return (base_class::begin()); }
49 inline const_iterator end (void) const { return (base_class::end()); }
50 inline void assign (const_iterator i1, const_iterator i2) { clear(); insert (i1, i2); }
52 inline const_iterator find (const_reference v) const { return (binary_search (begin(), end(), v)); }
55 inline void insert (const_iterator i
[all...]
H A Duvector.h37 typedef const_pointer const_iterator; typedef in class:ustl::vector
42 typedef ::ustl::reverse_iterator<const_iterator> const_reverse_iterator;
48 vector (const_iterator i1, const_iterator i2);
62 inline const_iterator begin (void) const { return (const_iterator (m_Data.begin())); }
64 inline const_iterator end (void) const { return (const_iterator (m_Data.end())); }
70 inline const_iterator iat (size_type i) const { assert (i <= size()); return (begin() + i); }
83 inline void assign (const_iterator i
[all...]
H A Dumap.h38 typedef typename base_class::const_iterator const_iterator; typedef in class:ustl::map
42 typedef pair<const_iterator,const_iterator> const_range_t;
48 inline map (const_iterator i1, const_iterator i2) : vector<pair<K,V> >() { insert (i1, i2); }
54 inline const_iterator begin (void) const { return (base_class::begin()); }
56 inline const_iterator end (void) const { return (base_class::end()); }
57 inline void assign (const_iterator i1, const_iterator i
[all...]
H A Dumultimap.h38 typedef typename base_class::const_iterator const_iterator; typedef in class:ustl::multimap
42 typedef pair<const_iterator,const_iterator> const_range_t;
48 inline multimap (const_iterator i1, const_iterator i2) : vector<pair<K,V> > () { insert (i1, i2); }
52 inline const_iterator begin (void) const { return (base_class::begin()); }
54 inline const_iterator end (void) const { return (base_class::end()); }
55 inline void assign (const_iterator i1, const_iterator i
[all...]
H A Dutuple.h35 typedef const_pointer const_iterator; typedef in class:ustl::tuple
37 typedef ::ustl::reverse_iterator<const_iterator> const_reverse_iterator;
39 typedef pair<const_iterator,const_iterator> const_range_t;
48 inline const_iterator begin (void) const { return (m_v); }
50 inline const_iterator end (void) const { return (begin() + N); }
H A Dustring.h46 typedef const_pointer const_iterator; typedef in class:ustl::string
50 typedef ::ustl::reverse_iterator<const_iterator> const_reverse_iterator;
51 typedef utf8in_iterator<const_iterator> utf8_iterator;
72 inline const_iterator begin (void) const { return (const_iterator (memblock::begin())); }
74 inline const_iterator end (void) const { return (const_iterator (memblock::end())); }
84 inline const_iterator iat (uoff_t pos) const { return (begin() + min (pos, size())); }
87 inline void append (const_iterator i1, const_iterator i
[all...]
/frameworks/base/include/utils/
H A DList.h132 typedef _ListIterator<T, const T&> const_iterator; typedef in class:android::List
150 const_iterator begin() const { return mpMiddle->getNext(); }
152 const_iterator end() const { return mpMiddle; }
169 void insert(iterator posn, const_iterator first, const_iterator last) {
223 unsigned int distance(const_iterator first, const_iterator last) const {
267 const_iterator firstSrc = right.begin();
268 const_iterator lastSrc = right.end();

Completed in 68 milliseconds