Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/haiku/src/servers/registrar/
H A DAppInfoList.h40 class Iterator;
58 Iterator It();
74 friend class Iterator;
81 class AppInfoList::Iterator {
83 inline Iterator(const Iterator &it) in Iterator() function
90 inline ~Iterator() {} in ~Iterator()
105 inline Iterator &operator=(const Iterator &it)
113 inline Iterator &operator++()
119 inline Iterator operator++(int)
121 return Iterator(fList, fIndex + 1);
[all …]
/haiku/headers/private/userlandfs/shared/
H A DVector.h27 typedef VectorIterator<Value> Iterator; typedef
45 status_t Insert(const Value &value, const Iterator &iterator);
48 Iterator Erase(int32 index);
49 Iterator Erase(const Iterator &iterator);
55 inline Iterator Begin();
57 inline Iterator End();
59 inline Iterator Null();
61 inline Iterator IteratorForIndex(int32 index);
68 Iterator Find(const Value &value);
69 Iterator Find(const Value &value, const Iterator &start);
[all …]
/haiku/headers/private/kernel/util/
H A DVector.h28 typedef VectorIterator<Value> Iterator; typedef
49 status_t Insert(const Value &value, const Iterator &iterator);
52 Iterator Erase(int32 index);
53 Iterator Erase(const Iterator &iterator);
59 inline Iterator Begin();
61 inline Iterator End();
63 inline Iterator Null();
65 inline Iterator IteratorForIndex(int32 index);
72 Iterator Find(const Value &value);
73 Iterator Find(const Value &value, const Iterator &start);
[all …]
H A DVectorMap.h65 typedef VectorMapIterator<Entry, Class, typename ElementVector::Iterator>
66 Iterator; typedef
85 Iterator Erase(const Iterator &iterator);
91 inline Iterator Begin();
93 inline Iterator End();
95 inline Iterator Null();
98 Iterator Find(const Key &key);
100 Iterator FindClose(const Key &key, bool less);
159 typedef VectorMapIterator<Entry, Parent, EntryIterator> Iterator; typedef
169 const Iterator &other) in VectorMapIterator()
[all …]
H A DVectorSet.h42 typedef typename ElementVector::Iterator Iterator; typedef
57 Iterator Erase(const Iterator &iterator);
63 inline Iterator Begin();
65 inline Iterator End();
67 inline Iterator Null();
70 Iterator Find(const Value &value);
72 Iterator FindClose(const Value &value, bool less);
167 _VECTOR_SET_CLASS_TYPE::Iterator
168 _VECTOR_SET_CLASS_NAME::Erase(const Iterator &iterator) in Erase()
217 _VECTOR_SET_CLASS_TYPE::Iterator
[all …]
H A DMultiHashTable.h30 typedef typename HashTable::Iterator Iterator; typedef
72 Iterator GetIterator() const { return HashTable::GetIterator(); } in GetIterator()
74 class ValueIterator : protected Iterator {
79 Iterator::fTable = table; in ValueIterator()
85 if (Iterator::fNext == NULL) in HasNext()
87 if (Iterator::fNext == fOriginalValue) in HasNext()
89 return ((const MultiTable *)Iterator::fTable)->_Definition().CompareValues( in HasNext()
90 fOriginalValue, Iterator::fNext); in HasNext()
95 Iterator::fIndex = fOriginalIndex + 1; in Rewind()
96 Iterator::fNext = fOriginalValue; in Rewind()
[all …]
H A DAVLTreeMap.h54 class Iterator;
71 inline Iterator GetIterator();
74 inline Iterator GetIterator(Node* node);
77 Iterator Find(const Key& key);
78 Iterator FindClose(const Key& key, bool less);
81 Iterator* iterator);
109 friend class Iterator;
118 class Iterator : public ConstIterator {
120 inline Iterator() in Iterator() function
125 inline Iterator(const Iterator& other) in Iterator() function
[all …]
H A DAVLTree.h33 class Iterator;
55 inline Iterator GetIterator();
58 inline Iterator GetIterator(Value* value);
64 status_t Insert(Value* value, Iterator* iterator = NULL);
84 friend class Iterator;
92 class Iterator : public ConstIterator {
94 inline Iterator() in Iterator() function
100 inline Iterator(const Iterator& other) in Iterator() function
112 inline Iterator(AVLTree<Definition>* parent, in Iterator() function
302 inline typename AVLTree<Definition>::Iterator
[all …]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DLastModifiedIndex.cpp72 class LastModifiedIndex::IteratorList : public DoublyLinkedList<Iterator> {};
76 class LastModifiedIndex::Iterator class in LastModifiedIndex
77 : public NodeEntryIterator<LastModifiedIndex::NodeTree::Iterator>,
78 public DoublyLinkedListLinkImpl<Iterator>, public EntryListener,
81 Iterator();
82 virtual ~Iterator();
98 typedef NodeEntryIterator<LastModifiedIndex::NodeTree::Iterator> BaseClass;
128 for (Iterator *iterator = fIterators->First(); in ~LastModifiedIndex()
152 NodeTree::Iterator it; in Changed()
157 for (Iterator *iterator = fIterators->First(); in Changed()
[all …]
H A DSizeIndex.cpp71 class SizeIndex::IteratorList : public DoublyLinkedList<Iterator> {};
75 class SizeIndex::Iterator class in SizeIndex
76 : public NodeEntryIterator<SizeIndex::NodeTree::Iterator>,
77 public DoublyLinkedListLinkImpl<Iterator>, public EntryListener,
80 Iterator();
81 virtual ~Iterator();
96 typedef NodeEntryIterator<SizeIndex::NodeTree::Iterator> BaseClass;
126 for (Iterator *iterator = fIterators->First(); in ~SizeIndex()
150 NodeTree::Iterator it; in Changed()
155 for (Iterator *iterator = fIterators->First(); in Changed()
[all …]
H A DAttributeIndexImpl.cpp158 class AttributeIndexImpl::Iterator class in AttributeIndexImpl
160 AttributeNodeIterator<AttributeTree::Iterator> >,
161 public DoublyLinkedListLinkImpl<Iterator>, public EntryListener,
164 Iterator();
165 virtual ~Iterator();
182 AttributeNodeIterator<AttributeTree::Iterator> > BaseClass;
190 class AttributeIndexImpl::IteratorList : public DoublyLinkedList<Iterator> {};
211 for (Iterator *iterator = fIterators->First(); in ~AttributeIndexImpl()
220 AttributeTree::Iterator it; in ~AttributeIndexImpl()
245 AttributeTree::Iterator it; in Changed()
[all …]
H A DTwoKeyAVLTree.h239 typedef typename TreeMap::Iterator TreeMapIterator;
242 class Iterator; variable
253 Value *FindFirst(const PrimaryKey &key, Iterator *iterator = NULL);
254 Value *FindLast(const PrimaryKey &key, Iterator *iterator = NULL);
257 Iterator *iterator = NULL);
259 inline void GetIterator(Iterator *iterator);
261 inline status_t Insert(const Value &value, Iterator *iterator = NULL);
274 class TWO_KEY_AVL_TREE_CLASS_NAME::Iterator {
279 inline Iterator() in Iterator() function
284 inline ~Iterator() in ~Iterator()
[all …]
H A DLastModifiedIndex.h32 class Iterator;
35 friend class Iterator; variable
38 void _AddIterator(Iterator *iterator);
39 void _RemoveIterator(Iterator *iterator);
H A DSizeIndex.h32 class Iterator;
35 friend class Iterator; variable
38 void _AddIterator(Iterator *iterator);
39 void _RemoveIterator(Iterator *iterator);
/haiku/headers/private/netservices/
H A DNetworkCookieJar.h40 class Iterator;
81 Iterator GetIterator() const;
89 friend class Iterator;
97 class BNetworkCookieJar::Iterator {
99 Iterator(const Iterator& other);
100 ~Iterator();
102 Iterator& operator=(const Iterator& other);
111 Iterator(const BNetworkCookieJar* map);
H A DHttpForm.h98 class Iterator;
147 Iterator GetIterator();
163 friend class Iterator;
171 class BHttpForm::Iterator {
173 Iterator(const Iterator& other);
180 Iterator& operator=(const Iterator& other);
183 Iterator(BHttpForm* form);
/haiku/headers/private/shared/
H A DHashSet.h65 class Iterator {
69 Iterator(const Iterator& other) in Iterator() function
91 Iterator& operator=(const Iterator& other)
100 Iterator(const HashSet<Key>* set) in Iterator() function
112 typename ElementTable::Iterator fIterator;
126 bool Remove(Iterator& it);
132 Iterator GetIterator() const;
137 friend class Iterator; variable
148 typedef typename HashSet<Key>::Iterator Iterator; typedef
196 Iterator GetIterator() const in GetIterator()
[all …]
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DLastModifiedIndex.cpp101 class LastModifiedIndex::IteratorList : public SinglyLinkedList<Iterator> {};
126 class LastModifiedIndex::Iterator : public GenericIndexIterator<IteratorPolicy>, class in LastModifiedIndex
127 public SinglyLinkedListLinkImpl<Iterator> {
210 NodeTree::Iterator nodeIterator; in NodeChanged()
220 Iterator* iterator = it.Next();) { in NodeChanged()
235 Iterator* iterator = it.Next();) { in NodeChanged()
249 Iterator* iterator = new(std::nothrow) Iterator; in InternalGetIterator()
265 Iterator* iterator = new(std::nothrow) Iterator; in InternalFind()
277 LastModifiedIndex::_AddIteratorToUpdate(Iterator* iterator) in _AddIteratorToUpdate()
287 LastModifiedIndex::Iterator::NodeChanged(Node* node, uint32 statFields, in NodeChanged()
H A DSizeIndex.cpp100 class SizeIndex::IteratorList : public SinglyLinkedList<Iterator> {};
125 class SizeIndex::Iterator : public GenericIndexIterator<IteratorPolicy>, class in SizeIndex
126 public SinglyLinkedListLinkImpl<Iterator> {
209 NodeTree::Iterator nodeIterator; in NodeChanged()
218 Iterator* iterator = it.Next();) { in NodeChanged()
233 Iterator* iterator = it.Next();) { in NodeChanged()
247 Iterator* iterator = new(std::nothrow) Iterator; in InternalGetIterator()
263 Iterator* iterator = new(std::nothrow) Iterator; in InternalFind()
275 SizeIndex::_AddIteratorToUpdate(Iterator* iterator) in _AddIteratorToUpdate()
285 SizeIndex::Iterator::NodeChanged(Node* node, uint32 statFields, in NodeChanged()
/haiku/headers/os/package/
H A DPackageInfoSet.h20 class Iterator;
31 Iterator GetIterator() const;
43 friend class Iterator; variable
50 class BPackageInfoSet::Iterator {
52 Iterator(const PackageMap* map = NULL);
/haiku/src/tests/system/kernel/util/
H A DVectorSetTest.cpp74 Iterator; typedef in TestIterator
84 inline TestIterator(const Iterator &other) in TestIterator()
92 inline Iterator &operator++() in operator ++()
103 inline Iterator operator++(int) in operator ++()
113 return Iterator(fSet, myResult, refResult); in operator ++()
116 inline Iterator &operator--() in operator --()
124 inline Iterator operator--(int) in operator --()
131 return Iterator(fSet, myResult, refResult); in operator --()
134 inline Iterator &operator=(const Iterator &other) in operator =()
143 inline bool operator==(const Iterator &other) const in operator ==()
[all …]
H A DVectorTest.cpp78 Iterator; typedef in TestIterator
89 inline TestIterator(const Iterator &other) in TestIterator()
97 inline Iterator &operator++() in operator ++()
108 inline Iterator operator++(int) in operator ++()
118 return Iterator(fVector, myResult, refResult); in operator ++()
121 inline Iterator &operator--() in operator --()
129 inline Iterator operator--(int) in operator --()
136 return Iterator(fVector, myResult, refResult); in operator --()
139 inline Iterator &operator=(const Iterator &other) in operator =()
148 inline bool operator==(const Iterator &other) const in operator ==()
[all …]
H A DOrderedMapTest.h186 Iterator; typedef
196 inline TestIterator(const Iterator &other) in TestIterator()
204 inline Iterator &operator++()
217 inline Iterator operator++(int)
229 return Iterator(fMap, myResult, refResult);
232 inline Iterator &operator--()
241 inline Iterator operator--(int)
249 return Iterator(fMap, myResult, refResult);
252 inline Iterator &operator=(const Iterator &other)
261 inline bool operator==(const Iterator &other) const
[all …]
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DTwoKeyAVLTree.h284 typedef typename TreeMap::Iterator TreeMapIterator;
287 class Iterator; variable
304 Iterator* iterator = NULL);
306 bool less, Iterator* iterator = NULL);
308 Iterator* iterator = NULL);
311 Iterator* iterator = NULL);
313 inline void GetIterator(Iterator* iterator);
314 inline void GetIterator(Node* node, Iterator* iterator);
317 Iterator* iterator);
339 class TWO_KEY_AVL_TREE_CLASS_NAME::Iterator {
[all …]
/haiku/src/kits/network/libnetservices/
H A DNetworkCookieJar.cpp82 for (Iterator it = GetIterator(); it.Next() != NULL;) in ~BNetworkCookieJar()
87 PrivateHashMap::Iterator it = fCookieHashMap->GetIterator(); in ~BNetworkCookieJar()
242 for (Iterator it = GetIterator(); (cookiePtr = it.Next()) != NULL;) { in DeleteOutdatedCookies()
259 for (Iterator it = GetIterator(); (cookiePtr = it.Next()) != NULL;) { in PurgeForExit()
281 for (Iterator it = GetIterator(); (cookiePtr = it.Next()) != NULL;) { in Archive()
432 for (Iterator it = GetIterator(); it.Next() != NULL;) in operator =()
443 for (Iterator it = other.GetIterator(); it.HasNext();) { in operator =()
455 BNetworkCookieJar::Iterator
458 return BNetworkCookieJar::Iterator(this); in GetIterator()
481 for (Iterator it = GetIterator(); (cookiePtr = it.Next()) != NULL;) { in _DoFlatten()
[all …]

12345678910>>...12