Lines Matching refs:entry
64 BEntry entry;
72 if (!_GetNextEntry(entry))
75 // If the entry is a subdir, then add it to the
77 // If the entry is a file and we can grep it
79 // here. Otherwise, continue with the next entry.
81 if (entry.GetStat(&fileStat) == B_OK) {
84 _ExamineSubdir(entry);
87 if (_ExamineFile(entry, buffer, fTextOnly))
103 InitialIterator::GetTopEntry(BEntry& entry)
114 entry.SetTo(&fileRef, fRecurseLinks);
123 return fCurrentDir->GetNextEntry(&entry, fRecurseLinks) == B_OK;
131 InitialIterator::FollowSubdir(BEntry& entry) const
138 if (entry.GetName(nameBuf) == B_OK) {
152 InitialIterator::_GetNextEntry(BEntry& entry)
155 return GetTopEntry(entry);
157 return _GetSubEntry(entry);
162 InitialIterator::_GetSubEntry(BEntry& entry)
167 if (fCurrentDir->GetNextEntry(&entry, fRecurseLinks) == B_OK)
177 return _GetNextEntry(entry);
182 InitialIterator::_ExamineSubdir(BEntry& entry)
184 if (!FollowSubdir(entry))
187 BDirectory* dir = new (nothrow) BDirectory(&entry);