Searched refs:nref (Results 1 - 21 of 21) sorted by relevance

/haiku/src/servers/bluetooth/
H A DDeviceManager.h32 status_t AddDirectory(node_ref* nref);
33 status_t RemoveDirectory(node_ref* nref);
34 status_t AddDevice(entry_ref* nref);
H A DDeviceManager.cpp53 node_ref nref; local
54 dir.GetNodeRef(&nref);
55 AddDirectory(&nref);
83 DeviceManager::AddDirectory(node_ref *nref) argument
85 BDirectory directory(nref);
92 status = watch_node(nref, B_WATCH_DIRECTORY, this);
98 // BPath path(*nref);
117 DeviceManager::RemoveDirectory(node_ref* nref) argument
119 BDirectory directory(nref);
124 status = watch_node(nref, B_STOP_WATCHIN
197 node_ref nref; local
276 node_ref nref; local
[all...]
/haiku/src/libs/print/libprint/
H A DPrinterData.cpp74 node_ref nref;
75 if (fNode->GetNodeRef(&nref) != B_OK)
78 BDirectory dir(&nref);
/haiku/headers/private/storage/
H A DAddOnMonitorHandler.h20 node_ref nref; member in struct:BPrivate::Storage::add_on_entry_info
45 virtual status_t AddDirectory(const node_ref* nref,
83 node_ref nref; member in struct:BPrivate::Storage::AddOnMonitorHandler::add_on_directory_info
/haiku/src/kits/tracker/
H A DTrashWatcher.cpp82 node_ref* nref = fTrashNodeList.ItemAt(index); local
83 if (nref->node == testNode->node && nref->device == testNode->device)
H A DDesktopPoseView.cpp177 node_ref nref; local
178 entry.GetNodeRef(&nref);
179 return Represents(&nref);
H A DPoseView.cpp5576 node_ref nref; local
5578 entry.GetNodeRef(&nref);
5581 WatchNewNode(&nref, B_WATCH_STAT | B_WATCH_ATTR | B_WATCH_NAME
5778 node_ref nref;
5779 BNode(path.Path()).GetNodeRef(&nref);
5781 if (nref != *TargetModel()->NodeRef())
5782 watch_node(&nref, B_WATCH_DIRECTORY, this);
8870 node_ref nref; local
8883 parent.GetNodeRef(&nref);
8884 volume.SetTo(nref
[all...]
/haiku/src/kits/storage/
H A DAddOnMonitorHandler.cpp49 watch_node(&it->nref, B_STOP_WATCHING, this);
65 AddOnMonitorHandler::AddDirectory(const node_ref* nref, bool sync) argument
79 if (it->nref == *nref)
83 BDirectory directory(nref);
88 status = watch_node(nref, B_WATCH_DIRECTORY, this);
93 dirInfo.nref = *nref;
97 entryInfo.dir_nref = *nref;
102 || entry.GetNodeRef(&entryInfo.nref) !
[all...]
H A DDirectory.cpp53 BDirectory::BDirectory(const node_ref* nref) argument
57 SetTo(nref);
120 BDirectory::SetTo(const node_ref* nref) argument
123 status_t error = (nref ? B_OK : B_BAD_VALUE);
125 entry_ref ref(nref->device, nref->node, ".");
/haiku/headers/os/storage/
H A DDirectory.h24 BDirectory(const node_ref *nref);
32 status_t SetTo(const node_ref *nref);
/haiku/src/kits/locale/
H A DDefaultCatalog.cpp78 node_ref nref; local
79 nref.device = catalogOwner.device;
80 nref.node = catalogOwner.directory;
81 BDirectory appDir(&nref);
512 node_ref nref; local
513 nref.device = appInfo.ref.device;
514 nref.node = appInfo.ref.directory;
515 BDirectory appDir(&nref);
/haiku/headers/build/os/storage/
H A DDirectory.h24 BDirectory(const node_ref *nref);
32 status_t SetTo(const node_ref *nref);
/haiku/src/kits/media/
H A DAddOnManager.cpp602 node_ref nref; local
605 || directory.GetNodeRef(&nref) != B_OK) {
611 if (info->ref.directory != nref.node)
632 node_ref nref; local
635 || directory.GetNodeRef(&nref) != B_OK) {
641 if (info->ref.directory != nref.node)
659 node_ref nref; local
662 || directory.GetNodeRef(&nref) != B_OK) {
669 if (info->ref.directory != nref.node)
/haiku/src/build/libbe/storage/
H A DDirectory.cpp50 BDirectory::BDirectory(const node_ref* nref) argument
54 SetTo(nref);
116 BDirectory::SetTo(const node_ref* nref) argument
119 status_t error = (nref ? B_OK : B_BAD_VALUE);
121 entry_ref ref(nref->device, nref->node, ".");
/haiku/src/add-ons/locale/catalogs/plaintext/
H A DCatalog.cpp87 node_ref nref; local
88 nref.device = appInfo.ref.device;
89 nref.node = appInfo.ref.directory;
90 BDirectory appDir(&nref);
/haiku/src/preferences/media/
H A DMidiSettingsView.cpp279 node_ref nref; local
280 entry.GetNodeRef(&nref);
282 watch_node(&nref, B_WATCH_ALL, this);
/haiku/src/servers/notification/
H A DNotificationWindow.cpp396 node_ref nref; local
398 entry.GetNodeRef(&nref);
400 if (watch_node(&nref, B_WATCH_ALL, BMessenger(this)) != B_OK) {
/haiku/src/apps/webpositive/
H A DDownloadProgressView.cpp833 node_ref nref; local
834 if (entry.GetNodeRef(&nref) == B_OK)
835 watch_node(&nref, B_WATCH_ALL, this);
/haiku/src/tests/kits/storage/
H A DDirectoryTest.cpp245 node_ref nref; local
246 CPPUNIT_ASSERT( node.GetNodeRef(&nref) == B_OK );
247 BDirectory dir(&nref);
259 node_ref nref; local
260 CPPUNIT_ASSERT( node.GetNodeRef(&nref) == B_OK );
261 BDirectory dir(&nref);
466 node_ref nref; local
467 CPPUNIT_ASSERT( node.GetNodeRef(&nref) == B_OK );
468 CPPUNIT_ASSERT( dir.SetTo(&nref) == B_OK );
479 CPPUNIT_ASSERT( node.GetNodeRef(&nref)
[all...]
H A DQueryTest.cpp1305 node_ref nref; local
1306 CPPUNIT_ASSERT( node.GetNodeRef(&nref) == B_OK );
1307 entry->node = nref.node;
/haiku/src/servers/media_addon/
H A DMediaAddonServer.cpp190 fServer->_AddOnAdded(path.Path(), info->nref.node);
197 fServer->_AddOnRemoved(info->nref.node);

Completed in 395 milliseconds