/haiku/src/bin/media_client/ |
H A D | MediaPlay.cpp | 57 entry_ref ref; local 60 if (get_ref_for_path(uri, &ref) != B_OK) { 67 playFile = new BMediaFile(&ref);
|
/haiku/src/add-ons/print/transports/parallel_port/ |
H A D | ParallelTransport.cpp | 123 entry_ref ref; 124 while(dir.GetNextRef(&ref) == B_OK) 125 msg->AddString("port_id", ref.name);
|
/haiku/src/kits/print/ |
H A D | PrintTransport.cpp | 106 node_ref ref; local 109 printerFolder->GetNodeRef(&ref); 110 dir.SetTo(&ref);
|
/haiku/src/build/libbe/storage/ |
H A D | Node.cpp | 95 BNode::BNode(const entry_ref* ref) argument 102 (void)SetTo(ref); 163 BNode::SetTo(const entry_ref* ref) argument 165 return _SetTo(ref, false); 573 \param ref An entry_ref identifying the node to be opened. 574 \param traverse If the node identified by \a ref is a symlink and 580 BNode::_SetTo(const entry_ref* ref, bool traverse) argument 584 status_t result = (ref ? B_OK : B_BAD_VALUE); 587 fFd = _kern_open_entry_ref(ref->device, ref [all...] |
/haiku/src/apps/diskusage/ |
H A D | App.cpp | 46 entry_ref ref; local 47 if (entry.GetRef(&ref) == B_OK) 48 refsReceived.AddRef("refs", &ref);
|
/haiku/src/apps/people/ |
H A D | PeopleApp.cpp | 211 entry_ref ref; local 212 if (entry.Exists() && entry.GetRef(&ref) == B_OK) 213 message.AddRef("refs", &ref); 268 entry_ref ref; local 269 message->FindRef("refs", index++, &ref); 271 PersonWindow* window = _FindWindow(ref); 275 BFile file(&ref, B_READ_ONLY); 277 _NewWindow(&ref, NULL); 295 TPeopleApp::_NewWindow(entry_ref* ref, BMessage* message) argument 299 kCategoryAttribute, ref); [all...] |
/haiku/src/kits/tracker/ |
H A D | FilePanelPriv.cpp | 319 entry_ref ref; 320 if (message->FindRef("refs", &ref) != B_OK) 323 BEntry entry(&ref); 337 // both entry and ref need to be the correct locations 339 resolvedEntry.GetRef(&ref); 340 entry.SetTo(&ref); 355 entry.GetRef(&ref); 359 const_cast<const entry_ref*>(&ref), 361 ref == *panel->TargetModel()->EntryRef() ? 0 : 100000, 200000, 371 panel->SetTo(&ref); 435 entry_ref ref; local 545 SetTo(const entry_ref* ref) argument 662 GetNextEntryRef(entry_ref* ref) argument 1100 ShowContextMenu(BPoint where, const entry_ref* ref) argument 1229 entry_ref ref; local 1304 entry_ref ref; local 1317 entry_ref ref; local 1361 entry_ref ref; local 1466 entry_ref ref; local 1502 SwitchDirToDesktopIfNeeded(entry_ref &ref) argument 1651 entry_ref ref; local 1727 SwitchDirMenuTo(const entry_ref* ref) argument 1858 InitDirentIterator(const entry_ref* ref) argument [all...] |
/haiku/src/add-ons/screen_savers/slideshowsaver/ |
H A D | SlideShowSaver.cpp | 56 // returns B_ERROR if problems reading ref 57 // B_OK if ref is not a directory 58 // B_OK + 1 if ref is a directory 60 ent_is_dir(const entry_ref *ref) argument 62 BEntry ent(ref); 280 entry_ref ref; local 282 ref = fCurrentRef; 284 ref = *pref; 291 // if ref is erroneous or a directory, return error 294 BFile file(&ref, B_READ_ONL 403 entry_ref entry, *ref; local 463 entry_ref *ref = (entry_ref *)entries->ItemAt(i); local [all...] |
/haiku/src/apps/resedit/ |
H A D | ResourceRoster.cpp | 116 BEntry entry(&info.ref); 121 entry_ref ref; local 123 while (dir.GetNextRef(&ref) == B_OK) { 124 BPath path(&ref);
|
/haiku/src/bin/ |
H A D | checkitout.h | 27 status_t _DoCheckItOut(entry_ref *ref, const char *name);
|
H A D | open.cpp | 37 entry_ref ref; local 38 status_t result = entry.GetRef(&ref); 44 return be_roster->Launch(&ref); 47 message.AddRef("refs", &ref);
|
/haiku/src/kits/shared/ |
H A D | AboutMenuItem.cpp | 31 name = B_TRANSLATE_NOCOLLECT_SYSTEM_NAME(info.ref.name);
|
/haiku/src/tests/system/kernel/util/ |
H A D | SinglyLinkedListTest.cpp | 35 bool operator==(const Link &ref) { argument 36 return data == ref.data; 46 bool operator==(const MyLink &ref) { argument 47 return data == ref.data;
|
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/ |
H A D | RuleFilter.cpp | 60 RuleFilter::HeaderFetched(entry_ref& ref, BFile& file, BMessage& attributes) argument 86 ref.device = nodeRef.device; 87 ref.directory = nodeRef.node; 106 protocol.MarkMessageAsRead(ref, B_READ);
|
H A D | RuleFilter.h | 24 virtual BMailFilterAction HeaderFetched(entry_ref& ref, BFile& file,
|
/haiku/src/servers/index/ |
H A D | VolumeWatcher.cpp | 39 entry_ref ref(device, directory, name); 40 fVolumeWatcher->fCreatedList.CurrentList()->push_back(ref); 49 entry_ref ref(device, directory, name); 50 fVolumeWatcher->fDeleteList.CurrentList()->push_back(ref); 60 entry_ref ref(device, to_directory, name); 63 fVolumeWatcher->fMovedList.CurrentList()->push_back(ref); 86 entry_ref ref; local 92 msg->FindInt32("device", &ref.device); 94 msg->FindInt64("directory", &ref.directory); 97 ref 147 AnalyseEntry(const entry_ref& ref) argument 155 DeleteEntry(const entry_ref& ref) argument [all...] |
/haiku/src/servers/media_addon/ |
H A D | MediaFilePlayer.h | 25 entry_ref* ref);
|
/haiku/src/tests/kits/interface/bdeskbar/ |
H A D | DeskbarAddItemTest.cpp | 87 entry_ref ref; local 88 assert(entry.GetRef(&ref) == B_OK); 111 assert(myDeskbar.AddItem(&ref, &theId1) == B_OK); 119 assert(myDeskbar.AddItem(&ref) == B_OK);
|
/haiku/src/servers/input/ |
H A D | AddOnManager.h | 58 const entry_ref& ref, image_id image); 60 const entry_ref& ref, image_id image); 62 const entry_ref& ref, image_id image); 114 entry_ref ref; member in struct:AddOnManager::add_on_info
|
/haiku/src/apps/cortex/InfoView/ |
H A D | FileNodeInfoView.cpp | 63 const NodeRef *ref) 64 : LiveNodeInfoView(ref) 73 // if a ref is set for this file-interface display some info 79 error = BMediaRoster::Roster()->GetRefFor(ref->node(), &nodeFile); 166 title = ref->name(); 62 FileNodeInfoView( const NodeRef *ref) argument
|
/haiku/src/apps/showimage/ |
H A D | ShowImageWindow.h | 58 const entry_ref& ref, 91 void _LoadError(const entry_ref& ref); 98 bool _PreloadImage(bool forward, entry_ref& ref); 113 void _GetFileInfo(const entry_ref& ref);
|
/haiku/src/apps/mail/ |
H A D | QueryMenu.cpp | 151 entry_ref ref(device, directory, name); 152 EntryCreated(ref, node); 264 entry_ref ref; local 266 while (query->GetNextRef(&ref) == B_OK && !fCancelQuery) 268 BEntry entry(&ref); 270 EntryCreated(ref, node.node); 306 void QueryMenu::EntryCreated(const entry_ref &ref, ino_t node) argument 312 msg->AddRef("refs", &ref); 314 item = new BMenuItem(ref.name, msg);
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | route_app_io.cpp | 64 const char* const _REF_ELEMENT = "ref"; 159 // get ref 160 NodeRef* ref; local 161 status_t err = manager->getNodeRef(node, &ref); 170 if(ref == manager->audioInputNode()) { 174 else if(ref == manager->audioOutputNode()) { 178 else if(ref == manager->audioMixerNode()) { 182 else if(ref == manager->videoInputNode()) { 186 else if(ref == manager->videoOutputNode()) { 201 outName = ref [all...] |
/haiku/src/kits/storage/ |
H A D | File.cpp | 44 BFile::BFile(const entry_ref* ref, uint32 openMode) argument 48 SetTo(ref, openMode); 98 BFile::SetTo(const entry_ref* ref, uint32 openMode) argument 102 if (!ref) 105 // if ref->name is absolute, let the path-only SetTo() do the job 106 if (BPrivate::Storage::is_absolute_path(ref->name)) 107 return SetTo(ref->name, openMode); 111 int fd = _kern_open_entry_ref(ref->device, ref->directory, ref [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | SecurityContext.cpp | 24 get_node_ref_for_path(const char* path, node_ref* ref) argument 26 if (!path || !ref) 31 ref->device = st.st_dev; 32 ref->node = st.st_ino; 199 Share::Init(const char* name, const node_ref& ref, const char* path) argument 207 entry_ref entryRef(ref.device, ref.node, "."); 218 fNodeRef = ref; 767 SecurityContext::AddShare(const char* name, const node_ref& ref, Share** _share) argument 782 status_t error = share->Init(name, ref); 934 SetNodePermissions(const node_ref& ref, User* user, Permissions permissions) argument 971 ClearNodePermissions(const node_ref& ref, User* user) argument 1007 GetNodePermissions(const node_ref& ref, User* user) argument 1052 node_ref ref; local 1068 node_ref ref; local 1083 _AddNodePath(const node_ref& ref, HashString* _path) argument 1102 _EnterNodePath(const char* path, const node_ref& ref) argument 1115 _GetNodeForPath(const char* path, node_ref* ref) argument [all...] |