Home
last modified time | relevance | path

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

12345678910>>...24

/frameworks/base/libs/hwui/apex/
Dandroid_region.cpp23 static inline SkRegion::Iterator* ARegionIter_to_SkRegionIter(ARegionIterator* iterator) { in ARegionIter_to_SkRegionIter() argument
24 return reinterpret_cast<SkRegion::Iterator*>(iterator); in ARegionIter_to_SkRegionIter()
27 static inline ARegionIterator* SkRegionIter_to_ARegionIter(SkRegion::Iterator* iterator) { in SkRegionIter_to_ARegionIter() argument
28 return reinterpret_cast<ARegionIterator*>(iterator); in SkRegionIter_to_ARegionIter()
36 void ARegionIterator_releaseIterator(ARegionIterator* iterator) { in ARegionIterator_releaseIterator() argument
37 delete ARegionIter_to_SkRegionIter(iterator); in ARegionIterator_releaseIterator()
40 bool ARegionIterator_isComplex(ARegionIterator* iterator) { in ARegionIterator_isComplex() argument
41 return ARegionIter_to_SkRegionIter(iterator)->rgn()->isComplex(); in ARegionIterator_isComplex()
44 bool ARegionIterator_isDone(ARegionIterator* iterator) { in ARegionIterator_isDone() argument
45 return ARegionIter_to_SkRegionIter(iterator)->done(); in ARegionIterator_isDone()
[all …]
/frameworks/base/cmds/idmap2/include/idmap2/
DXmlParser.h35 class iterator; member
65 friend iterator; member
68 class iterator {
70 iterator(const iterator& other) : iterator(other.tree_, other.iter_) { in iterator() function
73 inline iterator& operator=(const iterator& rhs) {
78 inline bool operator==(const iterator& rhs) const {
82 inline bool operator!=(const iterator& rhs) const {
86 inline iterator operator++() {
92 iterator begin() const { in begin()
93 iterator child_it(*this); in begin()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DTypeWrappers.h28 class iterator {
30 iterator& operator=(const iterator& rhs) {
36 bool operator==(const iterator& rhs) const {
40 bool operator!=(const iterator& rhs) const {
44 iterator operator++(int) {
47 return iterator(mTypeVariant, prevIndex);
58 iterator& operator++();
63 iterator(const TypeVariant* tv, uint32_t index) in iterator() function
69 iterator beginEntries() const { in beginEntries()
70 return iterator(this, 0); in beginEntries()
[all …]
DLoadedArsc.h109 class iterator {
111 iterator& operator=(const iterator& rhs) {
118 bool operator==(const iterator& rhs) const {
124 bool operator!=(const iterator& rhs) const {
128 iterator operator++(int) {
132 return iterator(loadedPackage_, prevTypeIndex_, prevEntryIndex_);
135 iterator& operator++();
142 iterator(const LoadedPackage* lp, size_t ti, size_t ei);
150 iterator begin() const { in begin()
151 return iterator(this, 0, 0); in begin()
[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/av/media/libmedia/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/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/minikin/libs/minikin/
DBidiUtils.h51 class iterator {
53 inline bool operator==(const iterator& o) const {
57 inline bool operator!=(const iterator& o) const { return !(*this == o); }
61 inline iterator& operator++() {
69 iterator(const BidiText* parent, uint32_t runOffset) in iterator() function
76 inline iterator begin() const { return iterator(this, 0); } in begin()
77 inline iterator end() const { return iterator(this, mRunCount); } in end()
DLayoutSplitter.h60 class iterator {
62 bool operator==(const iterator& o) const { return mPos == o.mPos && mParent == o.mParent; }
64 bool operator!=(const iterator& o) const { return !(*this == o); }
70 iterator& operator++() {
92 iterator(const LayoutSplitter* parent, uint32_t pos) : mParent(parent), mPos(pos) { in iterator() function
115 iterator begin() const { return iterator(this, mIsRtl ? mRange.getEnd() : mRange.getStart()); } in begin()
116 iterator end() const { return iterator(this, mIsRtl ? mRange.getStart() : mRange.getEnd()); } in end()
/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/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 =()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
DBatteryStatsHistoryIteratorTest.java86 final BatteryStatsHistoryIterator iterator = mBatteryStats.iterateBatteryStatsHistory(); in testIterator() local
90 assertThat(item = iterator.next()).isNotNull(); in testIterator()
93 assertThat(item = iterator.next()).isNotNull(); in testIterator()
98 assertThat(item = iterator.next()).isNotNull(); in testIterator()
103 assertThat(item = iterator.next()).isNotNull(); in testIterator()
109 assertThat(item = iterator.next()).isNotNull(); in testIterator()
115 assertThat(iterator.hasNext()).isFalse(); in testIterator()
116 assertThat(iterator.next()).isNull(); in testIterator()
135 final BatteryStatsHistoryIterator iterator = mBatteryStats.iterateBatteryStatsHistory(); in tagsLongHistory() local
138 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory()
[all …]
/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/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 explicit 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/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/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java193 private static int filter(EventRecurrence r, Time iterator) in filter() argument
202 iterator.getMonth() + 1); in filter()
213 iterator.getWeekNumber(), in filter()
214 iterator.getActualMaximum(Time.WEEK_NUM)); in filter()
224 iterator.getYearDay(), iterator.getActualMaximum(Time.YEAR_DAY)); in filter()
232 iterator.getDay(), in filter()
233 iterator.getActualMaximum(Time.MONTH_DAY)); in filter()
244 int v = EventRecurrence.timeDay2Day(iterator.getWeekDay()); in filter()
256 iterator.getHour(), in filter()
257 iterator.getActualMaximum(Time.HOUR)); in filter()
[all …]
/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/libs/hwui/apex/include/android/graphics/
Dregion.h41 ANDROID_API void ARegionIterator_releaseIterator(ARegionIterator* iterator);
43 ANDROID_API bool ARegionIterator_isComplex(ARegionIterator* iterator);
45 ANDROID_API bool ARegionIterator_isDone(ARegionIterator* iterator);
47 ANDROID_API void ARegionIterator_next(ARegionIterator* iterator);
49 ANDROID_API ARect ARegionIterator_getRect(ARegionIterator* iterator);
51 ANDROID_API ARect ARegionIterator_getTotalBounds(ARegionIterator* iterator);
/frameworks/base/tools/aapt2/util/
DUtil.h211 class iterator {
219 iterator(const iterator&) = default;
220 iterator& operator=(const iterator&) = default;
222 iterator& operator++();
225 bool operator==(const iterator& rhs) const;
226 bool operator!=(const iterator& rhs) const;
231 iterator(android::StringPiece s, char sep, android::StringPiece tok, bool end);
241 iterator begin() const { in begin()
245 iterator end() const { in end()
250 const iterator begin_;
[all …]
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DParameters.kt61 fun parseArgsFromIter(iterator: Iterator<String>) in parseArgsFromIter()
125 override fun parseArgsFromIter(iterator: Iterator<String>) { in parseArgsFromIter()
126 wrapped.parseArgsFromIter(iterator) in parseArgsFromIter()
152 override fun parseArgsFromIter(iterator: Iterator<String>) { in getValue()
153 wrapped.parseArgsFromIter(iterator) in getValue()
183 override fun parseArgsFromIter(iterator: Iterator<String>) { in getValue()
184 if (!iterator.hasNext()) { in getValue()
189 .parseValue(iterator.next()) in getValue()

12345678910>>...24