/haiku/src/servers/media/ |
H A D | media_server.cpp | 204 entry_ref ref; local 207 err |= entry.SetTo(&info.ref); 211 err |= entry.GetRef(&ref); 214 be_roster->Launch(&ref); 330 entry_ref ref; local 331 reply.result = gNodeManager->GetAddOnRef(request.add_on_id, &ref); 332 reply.ref = ref; 608 gNodeManager->RegisterAddOn(request.ref, &reply.add_on_id); 825 entry_ref* ref; local 841 entry_ref ref = request.ref; local [all...] |
/haiku/src/tests/servers/registrar/ |
H A D | RosterShell.cpp | 120 // get an app ref 121 entry_ref ref; local 122 status_t error = get_ref_for_path(program.c_str(), &ref); 124 printf("launch: Failed to get entry ref for \"%s\": %s\n", 132 error = roster.Launch(&ref, (const BMessage*)NULL, &teamID); 208 printf("file: %s\n", BPath(&info.ref).Path());
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | DormantNodeIO.h | 64 NodeRef* ref,
|
/haiku/src/apps/processcontroller/ |
H A D | Preferences.h | 16 Preferences(const entry_ref& ref, const char* thesignature = NULL, bool doSave = true);
|
/haiku/src/tests/kits/interface/bshelf/Container/ |
H A D | TPreferences.h | 44 status_t SetRef(const char *name, entry_ref *ref);
|
/haiku/src/tests/kits/interface/bshelf/ShelfInspector/ |
H A D | TPreferences.h | 44 status_t SetRef(const char *name, entry_ref *ref);
|
/haiku/src/kits/storage/ |
H A D | Statable.cpp | 83 // Fills out ref with the node_ref of the node. 85 BStatable::GetNodeRef(node_ref* ref) const 87 status_t result = (ref ? B_OK : B_BAD_VALUE); 94 ref->device = stat.st_dev; 95 ref->node = stat.st_ino;
|
/haiku/src/apps/terminal/ |
H A D | TermApp.cpp | 228 entry_ref ref; 229 if (message->FindRef("refs", 0, &ref) != B_OK) 233 if (file.SetTo(&ref, B_READ_WRITE) != B_OK) 243 BEntry ent(&ref);
|
/haiku/src/preferences/input/ |
H A D | InputIcons.cpp | 34 BFile executableFile(&info.ref, B_READ_ONLY);
|
/haiku/src/apps/mail/ |
H A D | Enclosures.h | 91 TListItem(entry_ref* ref);
|
H A D | Signature.cpp | 216 entry_ref ref; local 217 msg->FindRef("ref", &ref); 218 fEntry.SetTo(&ref); 219 fFile = new BFile(&ref, O_RDWR); 554 entry_ref ref; local 560 msg->FindRef("refs", &ref); 561 file.SetTo(&ref, O_RDONLY);
|
/haiku/headers/os/drivers/tty/ |
H A D | tty_module.h | 65 uint32 ref, selectsync *sync);
|
/haiku/src/preferences/filetypes/ |
H A D | IconView.h | 32 void SetTo(const entry_ref& ref, 39 status_t CopyTo(const entry_ref& ref, 118 status_t GetRef(entry_ref& ref) const; 139 void _SetIcon(entry_ref* ref);
|
H A D | ApplicationTypeWindow.cpp | 95 void SetIcon(entry_ref& ref, const char* type); 214 SupportedTypeItem::SetIcon(entry_ref& ref, const char* type) argument 216 fIcon.SetTo(ref, type); 256 entry_ref ref; local 257 for (int32 index = 0; message->FindRef("refs", index++, &ref) == B_OK; ) { 258 BNode node(&ref); 614 entry_ref ref; local 615 if (entry.GetRef(&ref) == B_OK) 616 fIcon.SetTo(ref); 638 entry_ref ref; local 1030 entry_ref ref; local [all...] |
/haiku/src/bin/ |
H A D | mountvolume.cpp | 131 entry_ref ref; 132 status = get_ref_for_path(mountPoint.Path(), &ref); 137 refs.AddRef("refs", &ref); 357 entry_ref ref; local 366 message->FindRef("refs", i, &ref); 367 status = path.SetTo(&ref); 370 path.Path(), ref.name, strerror(status));
|
H A D | urlwrapper.cpp | 77 entry_ref ref; local 81 while (msg->FindRef("refs", index++, &ref) == B_OK) { 82 BFile f(&ref, B_READ_ONLY); 85 BString extension(ref.name); 381 entry_ref ref; local 383 if (get_ref_for_path(path.String(), &ref) < B_OK) 385 m.AddRef("refs", &ref); 510 entry_ref ref; local 511 if (get_ref_for_path(prettyPath.String(), &ref) < B_OK) 513 m.AddRef("refs", &ref); [all...] |
/haiku/src/kits/locale/ |
H A D | LocaleRoster.cpp | 475 \param ref An entry_ref with an attribute holding data for catalog lookup. 491 const entry_ref& ref, bool traverse) 497 status_t status = _PrepareCatalogEntry(ref, signature, context, string, 545 entry_ref ref; 546 if (BEntry(info.name).GetRef(&ref) == B_OK && catalog->SetTo(ref) == B_OK) 565 BLocaleRoster::_PrepareCatalogEntry(const entry_ref& ref, BString& signature, argument 568 BEntry entry(&ref, traverse); 490 GetLocalizedFileName(BString& localizedFileName, const entry_ref& ref, bool traverse) argument
|
/haiku/src/kits/app/ |
H A D | Notification.cpp | 45 if (BNodeInfo::GetTrackerIcon(&appInfo.ref, fBitmap, 52 BPath path(&appInfo.ref); 371 BNotification::AddOnClickRef(const entry_ref* ref) argument 373 if (ref == NULL) 376 entry_ref* clonedRef = new(std::nothrow) entry_ref(*ref);
|
/haiku/src/apps/sudoku/ |
H A D | SudokuWindow.cpp | 377 entry_ref ref; local 378 if (message->FindRef("refs", &ref) != B_OK) { 387 status = fSudokuView->SetTo(ref); 389 be_roster->AddToRecentDocuments(&ref, kSignature); 391 BEntry entry(&ref); 404 B_TRANSLATE("Could not open \"%s\":\n%s\n"), ref.name, 506 entry_ref ref; local 507 if (entry.GetRef(&ref) == B_OK) 508 fSudokuView->SaveTo(ref, fExportFormat);
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/ |
H A D | POP3.cpp | 206 entry_ref ref; local 207 entry.GetRef(&ref); 216 ProcessMessageFetched(ref, file, attributes); 227 ProcessHeaderFetched(ref, file, attributes); 252 POP3Protocol::HandleFetchBody(const entry_ref& ref, const BMessenger& replyTo) argument 267 BFile file(&ref, B_READ_WRITE); 275 BNode node(&ref); 301 NotifyBodyFetched(ref, file, attributes); 302 ReplyBodyFetched(replyTo, ref, B_OK);
|
/haiku/src/kits/media/ |
H A D | MediaFile.cpp | 25 BMediaFile::BMediaFile(const entry_ref* ref) argument 30 _InitReader(new(std::nothrow) BFile(ref, O_RDONLY)); 42 BMediaFile::BMediaFile(const entry_ref* ref, int32 flags) argument 47 _InitReader(new(std::nothrow) BFile(ref, O_RDONLY), NULL, flags); 59 BMediaFile::BMediaFile(const entry_ref* ref, const media_file_format* mfi, argument 65 _InitWriter(new(std::nothrow) BFile(ref, B_CREATE_FILE | B_ERASE_FILE 119 BMediaFile::SetTo(const entry_ref* ref) argument 123 if (ref == NULL) 128 _InitReader(new(std::nothrow) BFile(ref, O_RDONLY));
|
/haiku/src/apps/people/ |
H A D | PictureView.cpp | 77 PictureView::PictureView(float width, float height, const entry_ref* ref) argument 113 Update(ref); 156 PictureView::Update(const entry_ref* ref) argument 162 if (_LoadPicture(ref) == B_OK) { 200 entry_ref ref; local 201 if (message->FindRef("refs", &ref) == B_OK 202 && _LoadPicture(&ref) == B_OK) 581 PictureView::_LoadPicture(const entry_ref* ref) argument 584 status_t status = file.SetTo(ref, B_READ_ONLY);
|
/haiku/src/tests/kits/app/broster/ |
H A D | RosterWatchingTester.cpp | 64 entry_ref ref; local 67 CHK(entry.GetRef(&ref) == B_OK); 68 return ref; 139 // ref 140 entry_ref ref; local 141 CHK(message.FindRef("be:ref", &ref) == B_OK); 142 CHK(ref == info.ref); 177 SimpleAppLauncher(const entry_ref &ref) argument [all...] |
/haiku/src/apps/expander/ |
H A D | ExpanderWindow.cpp | 88 ExpanderWindow::ExpanderWindow(BRect frame, const entry_ref* ref, argument 287 entry_ref ref; local 288 fDestPanel->GetPanelDirectory(&ref); 289 fDestRef = ref; 290 BEntry entry(&ref); 361 entry_ref ref; local 362 entry.GetRef(&ref); 363 ExpanderRule* rule = fRules.MatchingRule(&ref); 366 fSourceRef = ref; 550 entry_ref ref; local [all...] |
/haiku/src/apps/haikudepot/build/scripts/ |
H A D | ustache.py | 309 def virtual_length(ref: typing.Any) -> int: 313 :param ref: any non-mapping object implementing `__len__` 315 :raises TypeError: if ref is mapping or has no `__len__` method 318 if isinstance(ref, collections.abc.Mapping): 320 return len(ref) 331 - **length**, for non-mapping sized objects, returning ``len(ref)``. 509 for ref in (*scopes, scope)[::-1]: 513 ref = ref[name] 522 ref [all...] |