Lines Matching refs:iterator

214 									hash_iterator* iterator = NULL);
216 hash_iterator* iterator,
219 status_t Write(hash_iterator* iterator = NULL,
232 hash_iterator* iterator);
788 DoublyLinkedList<block_cache>::Iterator iterator = sCaches.GetIterator();
789 while (iterator.HasNext()) {
790 block_cache* cache = iterator.Next();
872 ListenerList::Iterator iterator = transaction->listeners.GetIterator();
873 while (iterator.HasNext()) {
874 cache_listener* listener = iterator.Next();
879 iterator.Remove();
895 ListenerList::Iterator iterator = transaction->listeners.GetIterator();
896 while (iterator.HasNext()) {
897 cache_listener* listener = iterator.Next();
898 iterator.Remove();
909 ListenerList::Iterator iterator = transaction->listeners.GetIterator();
910 while (iterator.HasNext()) {
911 cache_listener* listener = iterator.Next();
1075 BlockWriter::Add(cached_block* block, hash_iterator* iterator)
1096 Write(iterator, false);
1121 BlockWriter::Add(cache_transaction* transaction, hash_iterator* iterator,
1141 if (!Add(block, iterator))
1156 BlockWriter::Write(hash_iterator* iterator, bool canUnlock)
1187 _BlockDone(fBlocks[i], iterator);
1248 BlockWriter::_BlockDone(cached_block* block, hash_iterator* iterator)
1283 if (iterator != NULL)
1284 hash_remove_current(fCache->transaction_hash, iterator);
1517 for (block_list::Iterator iterator = unused_blocks.GetIterator();
1518 cached_block* block = iterator.Next();) {
1539 iterator.Remove();
1631 for (block_list::Iterator iterator = unused_blocks.GetIterator();
1632 cached_block* block = iterator.Next();) {
1639 iterator.Remove();
2206 NotificationList::Iterator iterator
2208 while (iterator.HasNext()) {
2209 cache_notification* notification = iterator.Next();
2221 hash_iterator iterator;
2222 hash_open(cache->transaction_hash, &iterator);
2226 cache->transaction_hash, &iterator)) != NULL) {
2244 hash_iterator iterator;
2245 hash_open(cache->hash, &iterator);
2247 while ((block = (cached_block*)hash_next(cache->hash, &iterator)) != NULL) {
2265 hash_close(cache->hash, &iterator, false);
2312 ListenerList::Iterator iterator = transaction->listeners.GetIterator();
2313 while (iterator.HasNext()) {
2314 cache_listener* listener = iterator.Next();
2421 TraceEntryIterator iterator;
2422 iterator.MoveTo(from - 1);
2427 while (TraceEntry* entry = iterator.Next()) {
2428 int32 index = iterator.Index();
2537 hash_iterator iterator;
2538 hash_open(cache->hash, &iterator);
2541 while ((block = (cached_block*)hash_next(cache->hash, &iterator))
2547 hash_close(cache->hash, &iterator, false);
2549 hash_iterator iterator;
2550 hash_open(cache->transaction_hash, &iterator);
2554 cache->transaction_hash, &iterator)) != NULL) {
2567 if (!writer.Add(transaction, &iterator, hasLeftOvers))
2571 hash_close(cache->transaction_hash, &iterator, false);
2609 DoublyLinkedList<block_cache>::Iterator iterator = sCaches.GetIterator();
2610 while (iterator.HasNext()) {
2611 if (cache == iterator.Next())
2756 hash_iterator iterator;
2757 hash_open(cache->transaction_hash, &iterator);
2761 cache->transaction_hash, &iterator)) != NULL) {
2773 writer.Add(transaction, &iterator, hasLeftOvers);
2783 hash_close(cache->transaction_hash, &iterator, false);
3193 ListenerList::Iterator iterator = transaction->listeners.GetIterator();
3194 while (iterator.HasNext()) {
3195 cache_listener* listener = iterator.Next();
3197 iterator.Remove();
3380 hash_iterator iterator;
3381 hash_open(cache->hash, &iterator);
3384 while ((block = (cached_block*)hash_next(cache->hash, &iterator)) != NULL) {
3389 hash_close(cache->hash, &iterator, false);