Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/frameworks/base/include/androidfw/
DTypeWrappers.h28 class iterator {
30 iterator& operator=(const iterator& rhs) {
35 bool operator==(const iterator& rhs) const {
39 bool operator!=(const iterator& rhs) const {
43 iterator operator++(int) {
46 return iterator(mTypeVariant, prevIndex);
57 iterator& operator++();
62 iterator(const TypeVariant* tv, uint32_t index) in iterator() function
68 iterator beginEntries() const { in beginEntries()
69 return iterator(this, 0); in beginEntries()
[all …]
/frameworks/compile/mclinker/include/mcld/MC/
DSymbolCategory.h26 typedef OutputSymbols::iterator iterator; typedef
88 iterator begin();
89 iterator end();
93 iterator fileBegin();
94 iterator fileEnd();
98 iterator localBegin();
99 iterator localEnd();
103 iterator localDynBegin();
104 iterator localDynEnd();
108 iterator commonBegin();
[all …]
/frameworks/base/tools/aapt2/util/
DUtil.h228 class iterator {
230 iterator(const iterator&) = default;
231 iterator& operator=(const iterator&) = default;
233 iterator& operator++();
235 bool operator==(const iterator& rhs) const;
236 bool operator!=(const iterator& rhs) const;
241 iterator(BasicStringPiece<Char> s, Char sep, BasicStringPiece<Char> tok, bool end);
250 iterator begin();
251 iterator end();
254 const iterator mBegin;
[all …]
/frameworks/native/services/sensorservice/
DRingBuffer.h47 class iterator : public std::iterator<std::forward_iterator_tag, T> {
49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
51 iterator& operator++();
53 iterator operator++(int);
55 bool operator==(const iterator& rhs);
57 bool operator!=(const iterator& rhs);
73 class const_iterator : public std::iterator<std::forward_iterator_tag, T> {
127 iterator begin();
132 iterator end();
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : in iterator() function
[all …]
/frameworks/av/include/media/
DRingBuffer.h47 class iterator : public std::iterator<std::forward_iterator_tag, T> {
49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
51 iterator& operator++();
53 iterator operator++(int);
55 bool operator==(const iterator& rhs);
57 bool operator!=(const iterator& rhs);
73 class const_iterator : public std::iterator<std::forward_iterator_tag, T> {
127 iterator begin();
132 iterator end();
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : in iterator() function
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java195 private static int filter(EventRecurrence r, Time iterator) in filter() argument
204 iterator.month + 1); in filter()
215 iterator.getWeekNumber(), in filter()
216 iterator.getActualMaximum(Time.WEEK_NUM)); in filter()
226 iterator.yearDay, iterator.getActualMaximum(Time.YEAR_DAY)); in filter()
234 iterator.monthDay, in filter()
235 iterator.getActualMaximum(Time.MONTH_DAY)); in filter()
246 int v = EventRecurrence.timeDay2Day(iterator.weekDay); in filter()
258 iterator.hour, in filter()
259 iterator.getActualMaximum(Time.HOUR)); in filter()
[all …]
/frameworks/av/drm/common/
DDrmSupportInfo.cpp114 const DrmSupportInfo::FileSuffixIterator& iterator) : in FileSuffixIterator() argument
115 mDrmSupportInfo(iterator.mDrmSupportInfo), in FileSuffixIterator()
116 mIndex(iterator.mIndex) { in FileSuffixIterator()
121 const DrmSupportInfo::FileSuffixIterator& iterator) { in operator =() argument
122 mDrmSupportInfo = iterator.mDrmSupportInfo; in operator =()
123 mIndex = iterator.mIndex; in operator =()
138 const DrmSupportInfo::MimeTypeIterator& iterator) : in MimeTypeIterator() argument
139 mDrmSupportInfo(iterator.mDrmSupportInfo), in MimeTypeIterator()
140 mIndex(iterator.mIndex) { in MimeTypeIterator()
145 const DrmSupportInfo::MimeTypeIterator& iterator) { in operator =() argument
[all …]
DDrmInfoRequest.cpp57 DrmInfoRequest::Iterator DrmInfoRequest::iterator() const { in iterator() function in DrmInfoRequest
86 DrmInfoRequest::Iterator::Iterator(const DrmInfoRequest::Iterator& iterator) : in Iterator() argument
87 mDrmInfoRequest(iterator.mDrmInfoRequest), mIndex(iterator.mIndex) { in Iterator()
91 const DrmInfoRequest::Iterator& iterator) { in operator =() argument
92 mDrmInfoRequest = iterator.mDrmInfoRequest; in operator =()
93 mIndex = iterator.mIndex; in operator =()
DDrmMetadata.cpp92 DrmMetadata::Iterator DrmMetadata::iterator() { in iterator() function in DrmMetadata
96 DrmMetadata::Iterator::Iterator(const DrmMetadata::Iterator& iterator) : in Iterator() argument
97 mDrmMetadata(iterator.mDrmMetadata), in Iterator()
98 mIndex(iterator.mIndex) { in Iterator()
102 DrmMetadata::Iterator& DrmMetadata::Iterator::operator=(const DrmMetadata::Iterator& iterator) { in operator =() argument
104 mDrmMetadata = iterator.mDrmMetadata; in operator =()
105 mIndex = iterator.mIndex; in operator =()
DDrmInfo.cpp64 DrmInfo::Iterator DrmInfo::iterator() const { in iterator() function in DrmInfo
91 DrmInfo::Iterator::Iterator(const DrmInfo::Iterator& iterator) in Iterator() argument
92 : mDrmInfo(iterator.mDrmInfo), mIndex(iterator.mIndex) { in Iterator()
96 DrmInfo::Iterator& DrmInfo::Iterator::operator=(const DrmInfo::Iterator& iterator) { in operator =() argument
97 mDrmInfo = iterator.mDrmInfo; in operator =()
98 mIndex = iterator.mIndex; in operator =()
DDrmConstraints.cpp88 DrmConstraints::Iterator DrmConstraints::iterator() { in iterator() function in DrmConstraints
92 DrmConstraints::Iterator::Iterator(const DrmConstraints::Iterator& iterator) : in Iterator() argument
93 mDrmConstraints(iterator.mDrmConstraints), in Iterator()
94 mIndex(iterator.mIndex) { in Iterator()
98 const DrmConstraints::Iterator& iterator) { in operator =() argument
99 mDrmConstraints = iterator.mDrmConstraints; in operator =()
100 mIndex = iterator.mIndex; in operator =()
/frameworks/compile/mclinker/include/mcld/Script/
DRpnExpr.h31 typedef TokenQueue::iterator iterator; typedef
41 iterator begin() { return m_TokenQueue.begin(); } in begin()
43 iterator end() { return m_TokenQueue.end(); } in end()
55 iterator insert(iterator pPosition, ExprToken* pToken);
57 void erase(iterator pPosition);
66 static RpnExpr* buildHelperExpr(SectionMap::iterator pIter);
/frameworks/rs/
DrsMap.h79 class iterator {
82 iterator& operator++() {
103 bool operator==(const iterator& other) const {
108 bool operator!=(const iterator& other) const {
118 iterator(size_t index, LinkNode* n, const Map* m) : bucket_index(index), node(n), map(m) {} in iterator() function
126 iterator begin() const { in begin()
130 return iterator(i, node, this); in begin()
137 const iterator& end() const { return endIterator; } in end()
139 iterator begin() { return ((const Map*)this)->begin(); } in begin()
141 const iterator& end() { return endIterator; } in end()
[all …]
DrsList.h28 class iterator;
66 class iterator {
69 iterator& operator++() {
82 bool operator==(const iterator& other) const {
86 bool operator!=(const iterator& other) const {
95 iterator(const List* list_) : list(list_) {} in iterator() function
96 iterator(const List* list_, LinkedBuffer* buffer_, T* p_) : in iterator() function
105 const iterator& begin() const { return beginIterator; } in begin()
107 iterator end() const { return iterator(this, currentBuffer, current); } in end()
123 const iterator beginIterator;
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DBaseMenuWrapper.java99 Iterator<SupportMenuItem> iterator = mMenuItems.keySet().iterator(); in internalRemoveGroup() local
102 while (iterator.hasNext()) { in internalRemoveGroup()
103 menuItem = iterator.next(); in internalRemoveGroup()
105 iterator.remove(); in internalRemoveGroup()
115 Iterator<SupportMenuItem> iterator = mMenuItems.keySet().iterator(); in internalRemoveItem() local
118 while (iterator.hasNext()) { in internalRemoveItem()
119 menuItem = iterator.next(); in internalRemoveItem()
121 iterator.remove(); in internalRemoveItem()
/frameworks/compile/mclinker/include/mcld/ADT/
Dilist_sort.h24 typedef typename iplist::iterator iterator; in sort() typedef
35 iterator first = xs.begin(); in sort()
36 iterator second = xs.begin(); in sort()
47 iterator mid_iter(xs.begin()); in sort()
58 iterator xs_it = xs.begin(); in sort()
59 iterator xs_end = xs.end(); in sort()
60 iterator ys_it = ys.begin(); in sort()
61 iterator ys_end = ys.end(); in sort()
/frameworks/compile/mclinker/include/mcld/LD/
DELFSegmentFactory.h29 typedef Segments::iterator iterator; typedef
32 iterator begin() { return m_Segments.begin(); } in begin()
34 iterator end() { return m_Segments.end(); } in end()
45 iterator find(uint32_t pType, uint32_t pFlagSet, uint32_t pFlagClear);
51 iterator find(uint32_t pType, const LDSection* pSection);
60 ELFSegment* insert(iterator pPosition,
64 void erase(iterator pSegment);
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp285 SymbolCategory::iterator SymbolCategory::begin() { in begin()
289 SymbolCategory::iterator SymbolCategory::end() { in end()
301 SymbolCategory::iterator SymbolCategory::fileBegin() { in fileBegin()
305 SymbolCategory::iterator SymbolCategory::fileEnd() { in fileEnd()
306 iterator iter = fileBegin(); in fileEnd()
321 SymbolCategory::iterator SymbolCategory::localBegin() { in localBegin()
325 SymbolCategory::iterator SymbolCategory::localEnd() { in localEnd()
326 iterator iter = localBegin(); in localEnd()
341 SymbolCategory::iterator SymbolCategory::localDynBegin() { in localDynBegin()
345 SymbolCategory::iterator SymbolCategory::localDynEnd() { in localDynEnd()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java132 return pathMeasure.mOriginalPathIterator.iterator().getTotalLength(); in native_getLength()
169 CachedPathIterator iterator = pathMeasure.mOriginalPathIterator.iterator(); in native_getSegment() local
174 iterator.jumpToSegment(accLength); in native_getSegment()
175 while (!iterator.isDone() && (stopD - accLength > 0.1f)) { in native_getSegment()
176 int type = iterator.currentSegment(points, stopD - accLength); in native_getSegment()
178 if (accLength - iterator.getCurrentSegmentLength() <= stopD) { in native_getSegment()
186 iterator.getCurrentSegmentEnd(lastPoint); in native_getSegment()
191 isZeroLength = isZeroLength && iterator.getCurrentSegmentLength() > 0; in native_getSegment()
217 accLength += iterator.getCurrentSegmentLength(); in native_getSegment()
218 iterator.next(); in native_getSegment()
/frameworks/compile/mclinker/include/mcld/Object/
DSectionMap.h35 typedef DotAssignments::iterator dot_iterator;
66 typedef InputList::iterator iterator; typedef
72 typedef DotAssignments::iterator dot_iterator;
97 iterator begin() { return m_InputList.begin(); } in begin()
99 iterator end() { return m_InputList.end(); } in end()
150 typedef OutputDescList::iterator iterator; typedef
165 iterator find(const std::string& pOutputSection);
178 iterator begin() { return m_OutputDescList.begin(); } in begin()
180 iterator end() { return m_OutputDescList.end(); } in end()
192 iterator insert(iterator pPosition, LDSection* pSection);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMultiValueMap.java62 Iterator<T> valueIterator = values.iterator(); in remove()
78 Iterator<Map.Entry<String, ArrayList<T>>> iterator = mMap.entrySet().iterator(); in remove() local
79 while (iterator.hasNext()) { in remove()
80 ArrayList<T> values = iterator.next().getValue(); in remove()
81 Iterator<T> valueIterator = values.iterator(); in remove()
91 iterator.remove(); in remove()
113 List<T> values = mMap.values().iterator().next(); in getSingletonValue()
117 return values.iterator().next(); in getSingletonValue()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMultiValueMap.java60 Iterator<T> valueIterator = values.iterator(); in remove()
76 Iterator<Map.Entry<String, ArrayList<T>>> iterator = mMap.entrySet().iterator(); in remove() local
77 while (iterator.hasNext()) { in remove()
78 ArrayList<T> values = iterator.next().getValue(); in remove()
79 Iterator<T> valueIterator = values.iterator(); in remove()
89 iterator.remove(); in remove()
111 List<T> values = mMap.values().iterator().next(); in getSingletonValue()
115 return values.iterator().next(); in getSingletonValue()
/frameworks/compile/mclinker/lib/LD/
DELFSegmentFactory.cpp18 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, in find()
21 iterator segment, segEnd = end(); in find()
47 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, in find()
49 iterator segment, segEnd = end(); in find()
52 ELFSegment::iterator sect, sectEnd = (*segment)->end(); in find()
83 ELFSegment* ELFSegmentFactory::insert(iterator pPosition, in insert()
89 void ELFSegmentFactory::erase(iterator pSegment) { in erase()
/frameworks/compile/mclinker/include/mcld/
DModule.h37 typedef ObjectList::iterator obj_iterator;
41 typedef LibraryList::iterator lib_iterator;
44 typedef InputTree::iterator input_iterator;
48 typedef SectionTable::iterator iterator; typedef
52 typedef SymbolTable::iterator sym_iterator;
56 typedef AliasList::iterator alias_iterator;
109 iterator begin() { return m_SectionTable.begin(); } in begin()
111 iterator end() { return m_SectionTable.end(); } in end()
/frameworks/compile/mclinker/unittests/
DBinTreeTest.cpp43 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
53 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F()
66 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
84 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
94 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F()
103 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
106 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F()
117 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
145 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
173 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
[all …]

12345678910>>...18