FindEntry
status_t FindEntry(const char *path, BEntry *entry,
status_t FindEntry(const char *path, BEntry *entry,
status_t status = FindEntry(dirEntry->name);
status_t FindEntry(const char* name, ino_t* id = NULL);
status = entries->FindEntry(name, &entryID);
status = newIterator->FindEntry(newName, &existentID);
status = oldIterator->FindEntry(oldName, &oldID);
status = inodeIterator.FindEntry("..");
status = directoryIterator->FindEntry(name, &id);
status = iterator->FindEntry(name, _vnodeID);
status = directoryIterator->FindEntry(name, &id);
status = oldIterator->FindEntry(oldName, &oldID);
= fSettingsItem->FindEntry(fLastSettingsEntry, entry->Name());
Entry* entry = FindEntry(parent, name);
Entry* FindEntry(Entry* parent, const String& name)
Entry* FindEntry(Entry* parent, const char* name)
error = GetVolume()->FindEntry(GetID(), name, _entry);
if (error == B_OK && (error = FindEntry(name, &entry)) == B_OK)
if (error == B_OK && (error = FindEntry(name, &entry)) == B_OK) {
status_t FindEntry(const char *name, Entry **entry) const;
status_t FindEntry(ino_t id, const char *name, Entry **entry);
if (dir->FindEntry(name, &entry) == B_OK) {
if (FindEntry(fRootVNode, entry, &node) == B_OK
status_t FindEntry(const VNode *rootDir, const char *path,
return directory.FindEntry(Name(), entry, true);
settings.FindEntry(fCurrentItem->Label(), &entry);
profile.FindEntry(fCurrentItem->Label(), &entry);
&& (destDir.FindEntry(archLoader, &existingEntry) != B_OK
if (dir.FindEntry(name, &entry) == B_NO_ERROR)
dir.FindEntry(name, &entry);
if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
if (dir.FindEntry("signatures", &entry) == B_NO_ERROR)
dir.FindEntry(name, &fEntry);
if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
if (dir.FindEntry("status", &entry) == B_NO_ERROR)
dir.FindEntry(newName, &entry);
if (dir.FindEntry("People_data", &entry) == B_OK) {
directory.FindEntry(name, &entry);
if (dir.FindEntry("people", &entry) == B_OK
prefdir.FindEntry(fName, &entry);
err = fTempDir.FindEntry(name, &fRecEntry);
else if (indices->FindEntry(attribute,&run) == B_OK)
virtual status_t FindEntry(const char *name, block_run *run);
if (indices != NULL && indices->FindEntry("name", &run) == B_OK) {
if (systemLicenseDir.FindEntry(licenseName.String(), &license) == B_OK)
if (Entry* nodeEntry = directory->FindEntry(entryRef.name)) {
Entry* nodeEntry = directory->FindEntry(entryRef.name);
if (destDir->FindEntry(destName, &conflictingEntry) == B_OK) {
if (destDir->FindEntry(destName, &destEntry) == B_OK)
if (destDir->FindEntry(destName, &destEntry) == B_OK)
if (destDir->FindEntry(destName, &existingEntry) == B_OK) {
if (destDir->FindEntry(name, &entry) != B_OK) {
Entry* entry = FindEntry(parent, name, nameLength);
Entry* FindEntry(Entry* parent, const char* name)
Entry* FindEntry(Entry* parent, const char* name,
= fSettingsItem->FindEntry(fLastSettingsEntry, entry->Name());
CPPUNIT_ASSERT( dir.FindEntry(existing, &entry) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(existing, &entry) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(existingRelSub, &entry) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(existingRelSub, &entry) == B_ENTRY_NOT_FOUND );
CPPUNIT_ASSERT( dir.FindEntry(nonExistingRel, &entry) == B_ENTRY_NOT_FOUND );
CPPUNIT_ASSERT( dir.FindEntry(existingRelSub, NULL) == B_BAD_VALUE );
CPPUNIT_ASSERT( dir.FindEntry(NULL, &entry) == B_BAD_VALUE );
CPPUNIT_ASSERT( dir.FindEntry(NULL, NULL) == B_BAD_VALUE );
CPPUNIT_ASSERT( dir.FindEntry(dirLink, &entry) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(dirLink, &entry, true) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(badLink, &entry) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(badLink, &entry, true) == B_ENTRY_NOT_FOUND );
CPPUNIT_ASSERT( dir.FindEntry(cyclicLink1, &entry) == B_OK );
CPPUNIT_ASSERT( dir.FindEntry(cyclicLink1, &entry, true) == B_LINK_LIMIT );