/haiku/src/tests/kits/storage/ |
H A D | SymLinkTest.cpp | 153 BEntry entry(dirLink); 154 CPPUNIT_ASSERT( entry.InitCheck() == B_OK ); 155 BSymLink link(&entry); 160 BEntry entry(nonExisting); 161 CPPUNIT_ASSERT( entry.InitCheck() == B_OK ); 162 BSymLink link(&entry); 172 BEntry entry; local 173 BSymLink link(&entry); 178 BEntry entry(existingFile); 179 CPPUNIT_ASSERT( entry 633 BEntry entry; local [all...] |
H A D | NodeInfoTest.cpp | 37 static const char *abstractTestEntry = "/tmp/testDir/abstract-entry"; 830 BEntry entry(path); 831 CHK(entry.InitCheck() == B_OK); 833 CHK(entry.GetRef(&ref) == B_OK);
|
H A D | EntryTest.cpp | 133 static TestEntry *resolve_link(TestEntry *entry); 134 static string get_shortest_relative_path(TestEntry *dir, TestEntry *entry); 295 examine_entry(BEntry &entry, TestEntry *testEntry, bool traverse) argument 300 CPPUNIT_ASSERT( entry.Exists() == testEntry->isConcrete() ); 303 CPPUNIT_ASSERT( entry.GetPath(&path) == B_OK ); 307 CPPUNIT_ASSERT( entry.GetName(name) == B_OK ); 311 CPPUNIT_ASSERT( entry.GetParent(&parentEntry) == B_OK ); 319 CPPUNIT_ASSERT( entry.GetParent(&parentDir) == B_OK ); 326 CPPUNIT_ASSERT( entry.GetRef(&ref) == B_OK ); 327 // We can't get a ref of an entry wit 451 BEntry entry; local 817 BEntry entry; local 852 BEntry entry; local 873 BEntry entry; local 931 BEntry entry; local 1300 BEntry entry; local 1418 BEntry entry; local 1536 BEntry entry; local 1639 BEntry entry; local 1780 BEntry entry; local 1917 BEntry entry; local 1962 compareEntries(const BEntry &entry, const BEntry &entry2, const TestEntry *testEntry, const TestEntry *testEntry2, bool traversed, bool traversed2) argument 1985 BEntry entry; local 2003 BEntry entry; local 2054 BEntry entry; local 2089 BEntry entry; local 2099 BEntry entry; local [all...] |
H A D | DirectoryTest.cpp | 165 BEntry entry(existing); 166 CPPUNIT_ASSERT( entry.InitCheck() == B_OK ); 167 BDirectory dir(&entry); 172 BEntry entry(nonExisting); 173 CPPUNIT_ASSERT( entry.InitCheck() == B_OK ); 174 BDirectory dir(&entry); 184 BEntry entry; local 185 BDirectory dir(&entry); 190 BEntry entry(existingFile); 191 CPPUNIT_ASSERT( entry 567 BEntry entry; local 666 BEntry entry; local 1079 BEntry entry; local 1180 BEntry entry; local [all...] |
/haiku/src/tests/kits/app/broster/ |
H A D | RosterWatchingTester.cpp | 65 BEntry entry; local 66 CHK(entry.SetTo(filename, traverse) == B_OK); 67 CHK(entry.GetRef(&ref) == B_OK);
|
H A D | LaunchTester.cpp | 122 BEntry entry; local 123 CHK(entry.SetTo(filename, traverse) == B_OK); 124 CHK(entry.GetRef(&ref) == B_OK); 1841 @case 2 ref doesn't refer to an existing entry 2257 @case 2 ref doesn't refer to an existing entry 2712 @case 2 ref doesn't refer to an existing entry
|
H A D | GetRecentTester.cpp | 181 the given entry (which is assumed to be an application). 183 \param app The entry to modify 184 \param sig If \c non-NULL, the given signature should be written to the entry's 187 \param sig If \c non-NULL, the given flags should be written to the entry's 233 /*! \brief Launches the given test app after first setting the application entry's 271 BEntry entry; local 285 err = entry.SetTo(path); 288 err = entry.GetRef(ref); 303 BEntry entry; local 309 err = entry [all...] |
H A D | FindAppTester.cpp | 92 BEntry entry; local 93 CHK(entry.SetTo(filename, traverse) == B_OK); 94 CHK(entry.GetRef(&ref) == B_OK); 663 @case 2 ref doesn't refer to an existing entry =>
|
/haiku/src/servers/registrar/mime/ |
H A D | UpdateMimeInfoThread.h | 34 virtual status_t DoMimeUpdate(const entry_ref* entry,
|
H A D | MimeUpdateThread.h | 41 virtual status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir) = 0;
|
H A D | CreateAppMetaMimeThread.h | 34 virtual status_t DoMimeUpdate(const entry_ref* entry,
|
/haiku/src/preferences/appearance/ |
H A D | CurView.cpp | 150 BEntry entry(COLOR_SET_DIR); 152 entry.GetRef(&ref); 221 BEntry entry; 300 dir.GetNextEntry(&entry); 301 entry.GetPath(&path);
|
/haiku/src/kits/storage/ |
H A D | storage_support.cpp | 246 // fullPath is just an entry name, no parent directories specified 346 /*! An entry name is considered valid, if its length doesn't exceed 349 \param entry the entry name 351 - \c B_OK, if \a entry is valid, 352 - \c B_BAD_VALUE, if \a entry is \c NULL or contains a "/", 353 - \c B_NAME_TOO_LONG, if \a entry is too long 354 \note \c "" is considered a valid entry name. 357 check_entry_name(const char *entry) argument 359 status_t error = (entry [all...] |
H A D | ResourceStrings.cpp | 117 if (_string_id_hash *entry = _FindString(id)) 118 result = entry->data; 181 _string_id_hash *entry = NULL; local 183 entry = _AddString(NULL, id, false); 185 entry = _AddString((char*)data, id, false); 186 if (!entry) 255 while (_string_id_hash *entry = fHashTable[i]) { 256 fHashTable[i] = entry->next; 257 delete entry; 284 while (_string_id_hash *entry 314 _string_id_hash *entry = NULL; local 336 _string_id_hash *entry = NULL; local [all...] |
/haiku/src/kits/storage/mime/ |
H A D | AssociatedTypes.cpp | 342 BEntry entry; local 343 err = root.GetNextEntry(&entry); 350 // Check that this entry is both a directory and a valid MIME string 352 if (entry.IsDirectory() 353 && entry.GetName(supertype) == B_OK
|
/haiku/src/kits/print/ |
H A D | Jobs.cpp | 76 BEntry entry(job); 78 if (entry.InitCheck() == B_OK && entry.GetName(name) == B_OK) { 158 BEntry entry(&fEntry); 159 if (entry.InitCheck() == B_OK) entry.Remove(); 169 bool Folder::AddJob(BEntry& entry, bool notify) { argument 170 Job* job = new Job(entry, this); 191 void Folder::EntryCreated(node_ref* node, entry_ref* entry) { argument 192 BEntry job(entry); 225 BEntry entry; local [all...] |
H A D | FolderWatcher.cpp | 59 BEntry entry; local 61 while (fFolder.GetNextEntry(&entry) == B_OK && entry.GetNodeRef(&node) == B_OK) { 92 bool FolderWatcher::BuildEntryRef(BMessage* msg, const char* dirName, entry_ref* entry) { argument 94 if (msg->FindInt32("device", &entry->device) == B_OK && 95 msg->FindInt64(dirName, &entry->directory) == B_OK && 97 entry->set_name(name); 110 entry_ref entry; local 111 if (BuildEntryRef(msg, dirName, &entry) && 114 fListener->EntryCreated(&node, &entry); [all...] |
/haiku/src/build/libbe/storage/ |
H A D | MimeType.cpp | 362 BEntry entry; 363 status_t error = entry.SetTo(ref); 367 // does entry exist? 368 if (!entry.Exists()) 371 // check entry type 372 if (entry.IsDirectory()) 374 if (entry.IsSymLink()) 376 if (!entry.IsFile())
|
/haiku/src/apps/expander/ |
H A D | ExpanderSettings.cpp | 132 BEntry entry(&ref); 133 if (entry.Exists())
|
/haiku/headers/private/print/ |
H A D | Jobs.h | 65 entry_ref fEntry; // the entry of the job file 76 Job(const BEntry& entry, Folder* folder); 109 bool AddJob(BEntry& entry, bool notify = true); 113 void EntryCreated(node_ref* node, entry_ref* entry);
|
H A D | FolderWatcher.h | 46 // entry created or moved into folder 47 virtual void EntryCreated(node_ref* node, entry_ref* entry) {}; argument 48 // entry removed from folder (or moved to another folder) 50 // attribute of an entry has changed 65 bool BuildEntryRef(BMessage* msg, const char* dirName, entry_ref* entry);
|
/haiku/headers/build/private/storage/mime/ |
H A D | MimeUpdateThread.h | 41 virtual status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir) = 0;
|
H A D | UpdateMimeInfoThread.h | 24 status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir);
|
/haiku/headers/build/os/storage/ |
H A D | Entry.h | 48 BEntry(const BEntry &entry); 66 status_t GetParent(BEntry *entry) const; 101 /*! File descriptor for the entry's parent directory. */ 104 /*! Leaf name of the entry. */
|
H A D | File.h | 36 BFile(const BEntry *entry, uint32 openMode); 42 status_t SetTo(const BEntry *entry, uint32 openMode);
|