Searched refs:nodeRef (Results 1 - 25 of 65) sorted by relevance

123

/haiku/src/tests/kits/storage/testapps/
H A DNodeMonitorTest.cpp21 Looper(node_ref& nodeRef);
31 Looper::Looper(node_ref& nodeRef) argument
33 fNodeRef(nodeRef)
63 node_ref nodeRef; local
64 if (entry.GetNodeRef(&nodeRef) != B_OK) {
69 //printf("device: %ld, node: %lld\n", nodeRef.device, nodeRef.node);
72 Looper& looper = *new Looper(nodeRef);
/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp59 FontStyle* FindStyle(const node_ref& nodeRef) const;
71 GlobalFontManager::font_directory::FindStyle(const node_ref& nodeRef) const
76 if (nodeRef == style->NodeRef())
85 set_entry(node_ref& nodeRef, const char* name, BEntry& entry) argument
88 ref.device = nodeRef.device;
89 ref.directory = nodeRef.node;
160 node_ref nodeRef; local
161 if (message->FindInt32("device", &nodeRef.device) != B_OK
162 || message->FindInt64("directory", &nodeRef.node) != B_OK
171 if (set_entry(nodeRef, nam
195 node_ref nodeRef; local
270 node_ref nodeRef; local
393 node_ref nodeRef; local
500 node_ref nodeRef; local
703 node_ref nodeRef; local
756 _FindDirectory(node_ref& nodeRef) argument
799 node_ref nodeRef; local
[all...]
H A DAppFontManager.cpp63 node_ref nodeRef;
64 status = entry.GetNodeRef(&nodeRef);
73 status = _AddFont(face, nodeRef, path, familyID, styleID);
86 node_ref nodeRef; local
95 status = _AddFont(face, nodeRef, "", familyID, styleID);
/haiku/src/servers/package/
H A DVolumeState.h23 Package* FindPackage(const node_ref& nodeRef) const;
56 VolumeState::FindPackage(const node_ref& nodeRef) const
58 return fPackagesByNodeRef.Lookup(nodeRef);
H A DPackageDaemon.cpp90 node_ref nodeRef; local
93 error = message->FindInt32("volume", &nodeRef.device);
95 error = message->FindInt64("root", &nodeRef.node);
98 || fSystemRoot->NodeRef() == nodeRef)) {
101 Root* root = _FindRoot(nodeRef);
180 PackageDaemon::_GetOrCreateRoot(const node_ref& nodeRef, Root*& _root) argument
182 Root* root = _FindRoot(nodeRef);
195 && node_ref(st.st_dev, st.st_ino) == nodeRef;
198 status_t error = root->Init(nodeRef, isSystemRoot);
211 "registered\n", root->Path().String(), nodeRef
[all...]
H A DPackageDaemon.h40 status_t _GetOrCreateRoot(const node_ref& nodeRef,
42 Root* _FindRoot(const node_ref& nodeRef) const;
/haiku/src/kits/tracker/
H A DVirtualDirectoryPoseView.cpp193 node_ref nodeRef; local
195 if (message->FindInt32("device", &nodeRef.device) != B_OK
196 || message->FindInt64("node", &nodeRef.node) != B_OK
201 entryRef.device = nodeRef.device;
210 if (directory.SetTo(&nodeRef) != B_OK)
247 entryRef, nodeRef) != B_OK) {
256 if (nodeRef == *pose->TargetModel()->NodeRef()) {
275 ? (_DispatchEntryCreatedOrRemovedMessage(B_ENTRY_CREATED, nodeRef,
285 node_ref nodeRef; local
287 if (message->FindInt32("device", &nodeRef
390 node_ref nodeRef; local
420 node_ref nodeRef; local
463 _DispatchEntryCreatedOrRemovedMessage(int32 opcode, const node_ref& nodeRef, const entry_ref& entryRef, const char* path, bool dispatchToSuperClass) argument
[all...]
H A DNavigator.cpp232 const node_ref* nodeRef; local
234 nodeRef = Window()->TargetModel()->NodeRef();
236 nodeRef = NULL;
244 if (nodeRef != NULL) {
245 message.AddData("nodeRefToSelect", B_RAW_TYPE, nodeRef,
265 if (nodeRef != NULL) {
268 tracker->SelectChildInParentSoon(&ref, nodeRef);
H A DVirtualDirectoryWindow.cpp100 node_ref nodeRef; local
103 *model->EntryRef(), directoryPaths, &nodeRef, &entryRef)
108 if (nodeRef != *model->NodeRef()) {
H A DPendingNodeMonitorCache.cpp105 PendingNodeMonitorCache::RemoveEntries(const node_ref* nodeRef) argument
109 if (fList.ItemAt(index)->Match(nodeRef))
H A DVirtualDirectoryManager.cpp432 node_ref nodeRef(buffer->d_dev, buffer->d_ino);
435 nodeRef);
441 buffer->d_dev = nodeRef.device;
442 buffer->d_ino = nodeRef.node;
496 node_ref nodeRef;
497 error = definitionFile.GetNodeRef(&nodeRef);
507 info = parentInfo->CreateChild(nodeRef, entryRef);
604 VirtualDirectoryManager::_InfoForNodeRef(const node_ref& nodeRef) const
606 NodeRefInfoMap::const_iterator it = fInfos.find(nodeRef);
712 node_ref nodeRef;
[all...]
H A DNodePreloader.cpp173 node_ref nodeRef;
174 dir.GetNodeRef(&nodeRef);
177 TTracker::WatchNode(&nodeRef, B_WATCH_DIRECTORY, this);
/haiku/src/kits/storage/
H A DPathMonitor.cpp350 Node(const node_ref& nodeRef) argument
352 fNodeRef(nodeRef)
451 static Directory* Create(const node_ref& nodeRef) argument
453 Directory* directory = new(std::nothrow) Directory(nodeRef);
510 Directory(const node_ref& nodeRef) argument
512 Node(nodeRef)
564 const node_ref& nodeRef, bool isDirectory,
567 const node_ref& nodeRef, bool dryRun,
572 const node_ref& nodeRef,
576 Ancestor* _GetAncestor(const node_ref& nodeRef) cons
1061 node_ref nodeRef; local
1093 node_ref nodeRef; local
1119 node_ref nodeRef; local
1340 node_ref nodeRef; local
1375 _EntryCreated(const NotOwningEntryRef& entryRef, const node_ref& nodeRef, bool isDirectory, bool dryRun, bool notify, Entry** _entry) argument
1505 _EntryRemoved(const NotOwningEntryRef& entryRef, const node_ref& nodeRef, bool dryRun, bool notify, Entry** _keepEntry) argument
1604 _CheckDuplicateEntryNotification(int32 opcode, const entry_ref& toEntryRef, const node_ref& nodeRef, const entry_ref* fromEntryRef) argument
1643 _AddNode(const node_ref& nodeRef, bool isDirectory, bool notify, Entry* entry, Node** _node) argument
1755 _AddEntryIfNeeded(Directory* directory, const char* name, const node_ref& nodeRef, bool isDirectory, bool notify, Entry** _entry) argument
1839 _NotifyEntryCreatedOrRemoved(const entry_ref& entryRef, const node_ref& nodeRef, const char* path, bool isDirectory, int32 opcode) const argument
1871 _NotifyEntryMoved(const entry_ref& fromEntryRef, const entry_ref& toEntryRef, const node_ref& nodeRef, const char* fromPath, const char* path, bool isDirectory, bool wasAdded, bool wasRemoved) const argument
[all...]
/haiku/src/tests/system/kernel/
H A Dnode_monitor_test.cpp54 node_ref nodeRef; local
55 entry.GetNodeRef(&nodeRef);
56 if (watch_node(&nodeRef, flags, this) == B_OK)
/haiku/src/apps/mail/
H A DQueryList.h28 const node_ref& nodeRef) = 0;
53 void _RemoveEntry(const node_ref& nodeRef);
56 void _NotifyEntryRemoved(const node_ref& nodeRef);
H A DQueryList.cpp133 node_ref nodeRef(device, node);
134 _RemoveEntry(nodeRef);
159 QueryList::_RemoveEntry(const node_ref& nodeRef) argument
162 RefMap::iterator found = fRefs.find(nodeRef);
164 _NotifyEntryRemoved(nodeRef);
181 QueryList::_NotifyEntryRemoved(const node_ref& nodeRef) argument
187 fListeners.ItemAt(index)->EntryRemoved(*this, nodeRef);
240 node_ref nodeRef; local
241 if (entry.GetNodeRef(&nodeRef) == B_OK)
242 map.insert(std::make_pair(nodeRef, re
[all...]
H A DPeople.h58 const node_ref& nodeRef);
82 const node_ref& nodeRef);
H A DPeople.cpp133 PersonList::EntryRemoved(QueryList& source, const node_ref& nodeRef) argument
137 PersonMap::iterator found = fPersonMap.find(nodeRef);
192 GroupList::EntryRemoved(QueryList& source, const node_ref& nodeRef) argument
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/
H A DRuleFilter.cpp81 node_ref nodeRef; local
82 status_t status = dir.GetNodeRef(&nodeRef);
86 ref.device = nodeRef.device;
87 ref.directory = nodeRef.node;
/haiku/headers/private/print/
H A DPrinter.h30 BPrinter(const node_ref& nodeRef);
36 status_t SetTo(const node_ref& nodeRef);
/haiku/src/kits/translation/
H A DTranslatorRoster.cpp233 node_ref nodeRef; local
234 if (message->FindInt32("device", &nodeRef.device) != B_OK
235 || message->FindInt64("directory", &nodeRef.node)
245 _EntryAdded(nodeRef, name);
256 node_ref nodeRef; local
258 if (message->FindInt32("device", &nodeRef.device) != B_OK
263 || message->FindInt64("node", (int64*)&nodeRef.node)
268 fromNodeRef.device = nodeRef.device;
269 toNodeRef.device = nodeRef.device;
272 translator_item* item = _FindTranslator(nodeRef);
302 node_ref nodeRef; local
433 node_ref nodeRef; local
580 node_ref nodeRef; local
1011 _FindTranslator(node_ref& nodeRef) argument
1083 _RemoveTranslators(const node_ref* nodeRef, const entry_ref* ref) argument
1114 _EntryAdded(const node_ref& nodeRef, const char* name) argument
[all...]
H A DTranslatorRosterPrivate.h96 translator_item* _FindTranslator(node_ref& nodeRef);
101 bool _IsKnownDirectory(const node_ref& nodeRef)
104 void _RemoveTranslators(const node_ref* nodeRef,
106 void _EntryAdded(const node_ref& nodeRef,
/haiku/src/kits/print/
H A DPrinter.cpp63 BPrinter::BPrinter(const node_ref& nodeRef) argument
66 SetTo(nodeRef);
101 BPrinter::SetTo(const node_ref& nodeRef) argument
103 SetTo(BDirectory(&nodeRef));
276 node_ref nodeRef;
277 nodeRef.device = fPrinterEntryRef.device;
278 nodeRef.node = fPrinterEntryRef.directory;
280 return watch_node(&nodeRef, B_WATCH_DIRECTORY, *fListener);
/haiku/src/apps/musiccollection/
H A DFileMonitor.cpp72 node_ref nodeRef; local
74 if (node.GetNodeRef(&nodeRef) != B_OK)
78 nodeRef.node);
164 node_ref nodeRef; local
165 NodeMonitorHandler::make_node_ref(device, node, &nodeRef);
167 WatchedFileList::iterator it = fWatchedFileList.find(nodeRef);
/haiku/src/servers/app/
H A DScreenManager.cpp84 node_ref nodeRef;
85 if (entry.InitCheck() == B_OK && entry.GetNodeRef(&nodeRef) == B_OK)
86 watch_node(&nodeRef, B_WATCH_DIRECTORY, this);

Completed in 299 milliseconds

123