/frameworks/base/libs/androidfw/include/androidfw/ |
D | TypeWrappers.h | 28 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 …]
|
D | LoadedArsc.h | 89 class iterator { 91 iterator& operator=(const iterator& rhs) { 98 bool operator==(const iterator& rhs) const { 104 bool operator!=(const iterator& rhs) const { 108 iterator operator++(int) { 112 return iterator(loadedPackage_, prevTypeIndex_, prevEntryIndex_); 115 iterator& operator++(); 122 iterator(const LoadedPackage* lp, size_t ti, size_t ei); 130 iterator begin() const { in begin() 131 return iterator(this, 0, 0); in begin() [all …]
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SymbolCategory.h | 26 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/ |
D | RingBuffer.h | 47 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/ |
D | RingBuffer.h | 47 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/ |
D | RecurrenceProcessor.java | 195 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/minikin/libs/minikin/ |
D | BidiUtils.h | 51 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()
|
D | LayoutSplitter.h | 60 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/av/drm/common/ |
D | DrmSupportInfo.cpp | 114 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 …]
|
D | DrmInfoRequest.cpp | 57 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 =()
|
D | DrmMetadata.cpp | 92 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 =()
|
D | DrmInfo.cpp | 64 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 =()
|
D | DrmConstraints.cpp | 88 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/ |
D | RpnExpr.h | 31 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/ |
D | rsMap.h | 79 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 …]
|
D | rsList.h | 28 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/ |
D | ilist_sort.h | 24 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/ |
D | ELFSegmentFactory.h | 29 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/ |
D | SymbolCategory.cpp | 285 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/layoutlib/bridge/src/android/graphics/ |
D | PathMeasure_Delegate.java | 132 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/ |
D | SectionMap.h | 35 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/services/core/java/com/android/server/display/color/ |
D | AppSaturationController.java | 179 final Iterator<WeakReference<ColorTransformController>> iterator = mControllerRefs in updateState() local 180 .iterator(); in updateState() 181 while (iterator.hasNext()) { in updateState() 182 WeakReference<ColorTransformController> controllerRef = iterator.next(); in updateState() 189 iterator.remove(); in updateState() 197 final Iterator<WeakReference<ColorTransformController>> iterator = mControllerRefs in clearExpiredReferences() local 198 .iterator(); in clearExpiredReferences() 199 while (iterator.hasNext()) { in clearExpiredReferences() 200 WeakReference<ColorTransformController> controllerRef = iterator.next(); in clearExpiredReferences() 203 iterator.remove(); in clearExpiredReferences()
|
/frameworks/base/tools/aapt2/util/ |
D | Util.h | 224 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/ |
D | ELFSegmentFactory.cpp | 18 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/ |
D | Module.h | 37 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()
|