Lines Matching refs:iterator
230 while (DirIterator* iterator = fIterators.First()) in ~Directory() local
231 iterator->SetDirectory(NULL); in ~Directory()
262 for (DirIterator* iterator = fIterators.First(); in RemoveEntry() local
263 iterator; in RemoveEntry()
264 iterator = fIterators.GetNext(iterator)) { in RemoveEntry()
265 if (iterator->GetCurrentEntry() == entry) in RemoveEntry()
266 iterator->NextEntry(); in RemoveEntry()
308 DirIterator* iterator; in OpenDir() local
310 iterator = new(std::nothrow) CachedDirIterator; in OpenDir()
312 iterator = new(std::nothrow) UncachedDirIterator; in OpenDir()
313 if (!iterator) in OpenDir()
315 ObjectDeleter<DirIterator> iteratorDeleter(iterator); in OpenDir()
318 status_t error = iterator->SetDirectory(this); in OpenDir()
323 error = _CheckNodeHandle(iterator); in OpenDir()
328 fIterators.Insert(iterator); in OpenDir()
331 *_iterator = iterator; in OpenDir()
344 Directory::RemoveDirIterator(DirIterator* iterator) in RemoveDirIterator() argument
346 if (iterator) in RemoveDirIterator()
347 fIterators.Remove(iterator); in RemoveDirIterator()