Home
last modified time | relevance | path

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

12345678910>>...21

/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; variable
62 friend iterator; variable
65 class iterator {
67 iterator(const iterator& other) : iterator(other.tree_, other.iter_) { in iterator() function
70 inline iterator& operator=(const iterator& rhs) {
75 inline bool operator==(const iterator& rhs) const {
79 inline bool operator!=(const iterator& rhs) const {
83 inline iterator operator++() {
89 iterator begin() const { in begin()
90 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.h105 class iterator {
107 iterator& operator=(const iterator& rhs) {
114 bool operator==(const iterator& rhs) const {
120 bool operator!=(const iterator& rhs) const {
124 iterator operator++(int) {
128 return iterator(loadedPackage_, prevTypeIndex_, prevEntryIndex_);
131 iterator& operator++();
138 iterator(const LoadedPackage* lp, size_t ti, size_t ei);
146 iterator begin() const { in begin()
147 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/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/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/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/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 =()
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 =()
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 =()
/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 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/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/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/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/base/tools/aapt2/util/
DUtil.h224 class iterator {
232 iterator(const iterator&) = default;
233 iterator& operator=(const iterator&) = default;
235 iterator& operator++();
238 bool operator==(const iterator& rhs) const;
239 bool operator!=(const iterator& rhs) const;
244 iterator(const android::StringPiece& s, char sep, const android::StringPiece& tok, bool end);
254 iterator begin() const { in begin()
258 iterator end() const { in end()
263 const iterator begin_;
[all …]
/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()

12345678910>>...21