Searched refs:entry (Results 251 - 275 of 922) sorted by relevance

<<11121314151617181920>>

/haiku/src/tests/kits/storage/
H A DNodeTest.cpp251 BEntry entry(dirLink);
252 CPPUNIT_ASSERT( entry.InitCheck() == B_OK );
253 BNode node(&entry);
258 BEntry entry(nonExisting);
259 CPPUNIT_ASSERT( entry.InitCheck() == B_OK );
260 BNode node(&entry);
270 BEntry entry; local
271 BNode node(&entry);
276 BEntry entry(existingFile);
277 CPPUNIT_ASSERT( entry
[all...]
/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp85 set_entry(node_ref& nodeRef, const char* name, BEntry& entry) argument
95 return entry.SetTo(&ref);
170 BEntry entry; local
171 if (set_entry(nodeRef, name, entry) != B_OK)
174 if (entry.IsDirectory()) {
176 _AddPath(entry);
185 _AddFont(*directory, entry);
192 // has the entry been moved into a monitored directory or has
207 BEntry entry; local
208 if (set_entry(nodeRef, name, entry) !
703 _AddFont(font_directory& directory, BEntry& entry) argument
789 BEntry entry; local
799 _AddPath(BEntry& entry, font_directory** _newDirectory) argument
873 BEntry entry; local
[all...]
H A DAppFontManager.cpp58 BEntry entry; local
59 status_t status = entry.SetTo(path);
64 status = entry.GetNodeRef(&nodeRef);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.cpp185 // init the negative entry list
357 // for dirs get the ".." entry, since we need the parent dir ID
363 DirEntry *entry = dirItem.EntryAt(index); local
364 node->SetParentID(entry->GetDirID(), entry->GetObjectID());
367 FATAL(("failed to find `..' entry for dir node "
376 /*! \brief Searches an entry in a directory.
381 \param entryName Name of the entry.
383 the found entry.
384 \param failIfHidden The method shall fail, if the entry i
401 DirEntry *entry = item.EntryAt(entryIndex); local
598 DirEntry *entry = item.EntryAt(index); local
636 DirEntry *entry = item.EntryAt(index); local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DFDManager.cpp103 FDManager::SetEntry(BEntry* entry, const entry_ref* ref) argument
105 status_t error = entry->SetTo(ref);
109 error = entry->SetTo(ref);
117 FDManager::SetEntry(BEntry* entry, const char* path) argument
119 status_t error = entry->SetTo(path);
123 error = entry->SetTo(path);
/haiku/src/tools/
H A Drm_attrs.cpp84 static bool remove_entry(Path& entry, bool recursive, bool force,
101 while (dirent* entry = readdir(dir)) {
103 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0)
106 if (!path.PushLeaf(entry->d_name)) {
107 fprintf(stderr, "Error: Path name of entry too long: dir: \"%s\", "
108 "entry: \"%s\"\n", path.GetPath(), entry->d_name);
170 // remove the entry
172 fprintf(stderr, "Error: Failed to remove entry \"
[all...]
/haiku/src/kits/storage/
H A DEntryOperationEngineBase.cpp40 BEntryOperationEngineBase::Entry::Entry(const BEntry& entry) argument
44 fEntry(&entry),
134 // GetPath() apparently failed, so just return the entry name.
142 BEntry entry; local
144 error = fDirectory->GetEntry(&entry);
149 error = directory.GetEntry(&entry);
152 if (error != B_OK || (error = entry.GetPath(&buffer)) != B_OK)
166 // Getting the actual path apparently failed, so just return the entry
/haiku/src/system/boot/loader/file_systems/tarfs/
H A Dtarfs.cpp336 while (TarFS::Entry* entry = fEntries.Head()) {
337 fEntries.Remove(entry);
338 delete entry;
388 TarFS::Entry* entry = iterator.Next(); local
389 if (strcmp(name, entry->Name()) == 0)
390 return entry;
400 TarFS::Entry* entry = LookupEntry(name); local
401 if (!entry)
404 Node* node = entry->ToNode();
416 TarFS::Entry* entry local
431 TarFS::Entry* entry = iterator->Next(); local
468 Entry* entry = LookupEntry(dirName); local
517 TarFS::Entry* entry; local
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dattr.cpp97 struct dirent *entry, size_t bufsize, uint32 *num)
112 entry->d_ino = node->vnid;
113 entry->d_dev = vol->id;
114 strcpy(entry->d_name, "BEOS:TYPE");
115 entry->d_reclen = offsetof(struct dirent, d_name) + strlen(entry->d_name) + 1;
96 dosfs_read_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct dirent *entry, size_t bufsize, uint32 *num) argument
/haiku/src/kits/debugger/dwarf/
H A DDebugInfoEntries.cpp2315 // the specification may point to a member entry rather than
2316 // a variable entry
2848 DebugInfoEntry* entry = NULL; local
2852 entry = new(std::nothrow) DIEArrayType;
2855 entry = new(std::nothrow) DIEClassType;
2858 entry = new(std::nothrow) DIEEntryPoint;
2861 entry = new(std::nothrow) DIEEnumerationType;
2864 entry = new(std::nothrow) DIEFormalParameter;
2867 entry = new(std::nothrow) DIEImportedDeclaration;
2870 entry
[all...]
/haiku/src/tests/add-ons/translators/exif/
H A Ddump_exif.cpp118 BEntry entry(argv[i]);
120 if (entry.InitCheck() != B_OK || entry.GetRef(&ref) != B_OK)
/haiku/src/bin/package/
H A Dcommand_list.cpp100 virtual status_t HandleEntry(typename VersionPolicy::PackageEntry* entry) argument
111 printf("%-*s", indentation < 32 ? 32 - indentation : 0, entry->Name());
113 (unsigned long long)VersionPolicy::PackageDataSize(entry->Data()));
116 struct tm* time = localtime(&entry->ModifiedTime().tv_sec);
122 mode_t mode = entry->Mode();
142 printf(" -> %s", entry->SymlinkPath());
149 typename VersionPolicy::PackageEntry* entry,
175 typename VersionPolicy::PackageEntry* entry)
239 virtual status_t HandleEntry(typename VersionPolicy::PackageEntry* entry) argument
241 fPathComponents.Add(entry
148 HandleEntryAttribute( typename VersionPolicy::PackageEntry* entry, typename VersionPolicy::PackageEntryAttribute* attribute) argument
174 HandleEntryDone( typename VersionPolicy::PackageEntry* entry) argument
246 HandleEntryAttribute( typename VersionPolicy::PackageEntry* entry, typename VersionPolicy::PackageEntryAttribute* attribute) argument
253 HandleEntryDone( typename VersionPolicy::PackageEntry* entry) argument
[all...]
H A Dcommand_add.cpp149 const char* entry = entriesToAdd[i]; local
151 if (strcmp(entry, ".") == 0) {
160 && strcmp(entry, B_HPKG_PACKAGE_INFO_FILE_NAME) == 0) {
164 if (packageWriter.AddEntry(entry) != B_OK)
/haiku/headers/os/package/
H A DRepositoryInfo.h26 BRepositoryInfo(const BEntry& entry);
32 status_t SetTo(const BEntry& entry);
75 status_t _SetTo(const BEntry& entry);
H A DRepositoryCache.h27 status_t SetTo(const BEntry& entry);
/haiku/src/apps/installer/
H A DCopyEngine.h40 static status_t RemoveFolder(BEntry& entry);
49 status_t _CopyData(const BEntry& entry,
118 virtual bool ShouldCopyEntry(const BEntry& entry,
/haiku/src/preferences/filetypes/
H A DApplicationTypeWindow.h30 const BEntry& entry);
38 BString _Title(const BEntry& entry);
39 void _SetTo(const BEntry& entry);
/haiku/src/libs/compat/freebsd_network/
H A Dmalloc.cpp96 physical_entry entry; local
97 status_t status = get_memory_map((void *)virtualAddress, 1, &entry, 1);
103 return (vm_paddr_t)entry.address;
/haiku/src/apps/musiccollection/
H A DQueryMonitor.h41 bool ReadNextEntry(entry_ref& entry);
/haiku/src/apps/resedit/
H A DResourceRoster.cpp116 BEntry entry(&info.ref);
117 entry.GetParent(&dir);
118 entry.SetTo(&dir, "addons");
119 dir.SetTo(&entry);
/haiku/src/apps/soundrecorder/
H A DSoundListView.h27 SoundListItem(const BEntry & entry, bool isTemp);
/haiku/src/kits/device/
H A DUSBRoster.cpp68 BEntry entry(ref);
69 entry.GetNodeRef(&fNode);
72 if (entry.IsDirectory() && directory.SetTo(ref) >= B_OK) {
75 while(directory.GetNextEntry(&entry) >= B_OK) {
76 if (entry.GetRef(ref) < B_OK)
95 entry.GetPath(&path);
191 BEntry entry("/dev/bus/usb");
192 if (!entry.Exists()) {
204 entry.GetRef(&ref);
/haiku/src/servers/input/
H A DInputServerDevice.cpp166 BEntry entry;
167 while (directory.GetNextEntry(&entry) == B_OK) {
168 BPath entryPath(&entry);
170 if (entry.IsDirectory()) {
/haiku/src/servers/print/
H A DTransport.cpp86 BEntry entry;
87 while(dir.GetNextEntry(&entry) == B_OK) {
88 if (!entry.IsFile())
91 if (entry.GetPath(&path) != B_OK)
/haiku/src/kits/package/
H A DRepositoryCache.cpp143 BRepositoryCache::SetTo(const BEntry& entry) argument
150 fEntry = entry;
154 if ((result = entry.GetPath(&repositoryCachePath)) != B_OK)
170 fIsUserSpecific = userSettingsDir.Contains(&entry);

Completed in 116 milliseconds

<<11121314151617181920>>