Searched refs:entry (Results 351 - 375 of 922) sorted by last modified time

<<11121314151617181920>>

/haiku/src/tests/kits/storage/
H A DSymLinkTest.cpp153 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 DNodeInfoTest.cpp37 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 DEntryTest.cpp133 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 DDirectoryTest.cpp165 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 DRosterWatchingTester.cpp65 BEntry entry; local
66 CHK(entry.SetTo(filename, traverse) == B_OK);
67 CHK(entry.GetRef(&ref) == B_OK);
H A DLaunchTester.cpp122 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 DGetRecentTester.cpp181 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 DFindAppTester.cpp92 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 DUpdateMimeInfoThread.h34 virtual status_t DoMimeUpdate(const entry_ref* entry,
H A DMimeUpdateThread.h41 virtual status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir) = 0;
H A DCreateAppMetaMimeThread.h34 virtual status_t DoMimeUpdate(const entry_ref* entry,
/haiku/src/preferences/appearance/
H A DCurView.cpp150 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 Dstorage_support.cpp246 // 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 DResourceStrings.cpp117 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 DAssociatedTypes.cpp342 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 DJobs.cpp76 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 DFolderWatcher.cpp59 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 DMimeType.cpp362 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 DExpanderSettings.cpp132 BEntry entry(&ref);
133 if (entry.Exists())
/haiku/headers/private/print/
H A DJobs.h65 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 DFolderWatcher.h46 // 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 DMimeUpdateThread.h41 virtual status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir) = 0;
H A DUpdateMimeInfoThread.h24 status_t DoMimeUpdate(const entry_ref *entry, bool *entryIsDir);
/haiku/headers/build/os/storage/
H A DEntry.h48 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 DFile.h36 BFile(const BEntry *entry, uint32 openMode);
42 status_t SetTo(const BEntry *entry, uint32 openMode);

Completed in 92 milliseconds

<<11121314151617181920>>