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

12

/haiku/src/add-ons/tracker/filetype/
H A DFileType.cpp14 process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) argument
16 be_roster->Launch("application/x-vnd.haiku-filetypes", refs);
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Drefcnt.h29 int32 refs; local
31 refs = atomic_add(&r->r_refs, 1);
32 KASSERT(refs != 0);
33 (void)refs;
39 int32 refs; local
41 refs = atomic_add(&r->r_refs, -1) - 1;
42 KASSERT(refs >= 0);
43 if (refs == 0)
/haiku/headers/private/shared/
H A DTrackerAddOnAppLaunch.h17 process_refs(entry_ref directory, BMessage* refs, void* reserved) argument
25 // The "refs" BMessage is a standard B_REFS_RECEIVED message whose
26 // "refs" array contains the entry_refs of the selected files.
29 refs->AddRef("dir_ref", &directory);
32 // It could be useful to know if an application got its refs as a
55 status = be_roster->Launch(&addonRef, refs);
66 be_roster->Launch(appInfo.signature, refs);
/haiku/src/preferences/filetypes/
H A DFileTypeWindow.h25 FileTypeWindow(BPoint position, const BMessage& refs);
32 BString _Title(const BMessage& refs);
33 void _SetTo(const BMessage& refs);
H A DFileTypeWindow.cpp50 FileTypeWindow::FileTypeWindow(BPoint position, const BMessage& refs) argument
131 _SetTo(refs);
142 FileTypeWindow::_Title(const BMessage& refs) argument
147 if (refs.FindRef("refs", 1, &ref) == B_OK) {
155 for (int32 i = 0; refs.FindRef("refs", i, &ref) == B_OK; i++) {
175 } else if (refs.FindRef("refs", 0, &ref) == B_OK) {
186 FileTypeWindow::_SetTo(const BMessage& refs) argument
[all...]
H A DFileTypes.cpp225 while (message->FindRef("refs", index++, &ref) == B_OK) {
248 message->RemoveData("refs", --index);
255 message->ReplaceRef("refs", index - 1, &ref);
260 message->RemoveData("refs", --index);
262 // There are some refs left that want to be handled by the type window
274 if (message->FindRef("refs", &ref) != B_OK)
277 // There are some refs left that want to be handled by the type window
303 BMessage refs; local
323 refs.AddRef("refs",
[all...]
H A DApplicationTypesWindow.cpp419 message->AddRef("refs", &ref);
480 message->AddRef("refs", &directoryRef);
526 BMessage refs(B_REFS_RECEIVED);
527 refs.AddRef("refs", &ref);
529 be_app->PostMessage(&refs);
/haiku/headers/os/add-ons/tracker/
H A DTrackerAddOn.h14 void process_refs(entry_ref directory, BMessage* refs, void* reserved);
/haiku/src/apps/musiccollection/
H A DMusicFileListView.h107 BMessage refs(B_REFS_RECEIVED);
108 _RecursiveAddRefs(refs, item);
109 be_roster->Launch("application/x-vnd.Haiku-MediaPlayer", &refs);
120 message.AddRef("refs", &(file->entry));
/haiku/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.cpp500 FilePlaylistItem::_MoveIntoTrash(vector<entry_ref>* refs, argument
504 status_t err = find_directory(B_TRASH_DIRECTORY, (*refs)[0].device,
519 for (vector<entry_ref>::size_type i = 0; i < refs->size(); i++) {
520 BEntry entry(&(*refs)[i]);
524 (*refs)[i].name, strerror(err));
529 (*namesInTrash)[i] = (*refs)[i].name;
535 (*namesInTrash)[i] = (*refs)[i].name;
563 FilePlaylistItem::_RestoreFromTrash(vector<entry_ref>* refs, argument
567 status_t err = find_directory(B_TRASH_DIRECTORY, (*refs)[0].device,
574 for (vector<entry_ref>::size_type i = 0; i < refs
[all...]
H A DFilePlaylistItem.h78 status_t _MoveIntoTrash(vector<entry_ref>* refs,
80 status_t _RestoreFromTrash(vector<entry_ref>* refs,
/haiku/src/add-ons/tracker/iconvader/
H A DIconVader.cpp26 process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) argument
37 refs->PrintToStream();
39 status = refs->FindMessenger("TrackerViewToken", &msgr);
/haiku/src/kits/tracker/
H A DFSUtils.h193 // app, pase 0 in <application> and stuff all the document refs into
198 // runs the Open With window; pas a list of refs
248 status_t TrackerLaunch(const BMessage* refs, bool async,
250 status_t TrackerLaunch(const entry_ref* appRef, const BMessage* refs,
275 BMessage* refs = NULL, int32 workspace = -1);
277 BMessage* refs, int32 workspace, bool asynch);
H A DFSUtils.cpp3411 TrackerOpenWith(const BMessage* refs)
3413 BMessage clone(*refs);
3428 const entry_ref* appRef, const BMessage* refs, bool openWithOK)
3432 task->AddMessage("refs", refs);
3466 SniffIfGeneric(const BMessage* refs)
3470 if (refs->FindRef("refs", index, &ref) != B_OK)
3478 _TrackerLaunchAppWithDocuments(const entry_ref* appRef, const BMessage* refs,
3487 error = be_roster->Launch(appRef, refs,
3390 TrackerOpenWith(const BMessage* refs) argument
3406 AsynchLaunchBinder(void (*func)(const entry_ref*, const BMessage*, bool on), const entry_ref* appRef, const BMessage* refs, bool openWithOK) argument
3445 SniffIfGeneric(const BMessage* refs) argument
3457 _TrackerLaunchAppWithDocuments(const entry_ref* appRef, const BMessage* refs, bool openWithOK) argument
3618 _TrackerLaunchDocuments(const entry_ref*, const BMessage* refs, bool openWithOK) argument
3848 TrackerLaunch(const entry_ref* appRef, const BMessage* refs, bool async, bool openWithOK) argument
3873 TrackerLaunch(const BMessage* refs, bool async, bool openWithOK) argument
3943 FSLaunchItem(const entry_ref* appRef, BMessage* refs, int32, bool async) argument
3956 FSLaunchItem(const entry_ref* appRef, BMessage* refs, int32 workspace) argument
[all...]
H A DTracker.cpp132 BMessage refs; local
137 || message->FindMessage("refs", &refs) != B_OK
144 function(&appRef, &refs, openWithOK);
146 function(NULL, &refs, openWithOK);
680 message->GetInfo("refs", &type, &count);
688 ASSERT(message->FindRef("refs", 0, &ref) == B_OK);
689 if (message->FindRef("refs", 0, &ref) != B_OK)
715 message->GetInfo("refs", &type, &count);
724 ASSERT(message->FindRef("refs", inde
[all...]
/haiku/src/kits/media/
H A DPluginManager.cpp224 entry_ref refs[MAX_READERS];
227 ret = AddOnManager::GetInstance()->GetReaders(refs, &count,
237 const entry_ref& ref = refs[i];
585 entry_ref refs[MAX_STREAMERS]; local
588 status_t ret = AddOnManager::GetInstance()->GetStreamers(refs, &count,
598 entry_ref ref = refs[i];
/haiku/src/apps/diskprobe/
H A DDiskProbe.cpp365 while (message->FindRef("refs", index++, &ref) == B_OK) {
404 BMessage refs; local
424 refs.AddRef("refs", &ref);
427 RefsReceived(&refs);
/haiku/src/bin/
H A Dmountvolume.cpp136 BMessage refs(B_REFS_RECEIVED);
137 refs.AddRef("refs", &ref);
138 return BMessenger(kTrackerSignature).SendMessage(&refs);
350 status = message->GetInfo("refs", &typeFound, &refCount);
366 message->FindRef("refs", i, &ref);
/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.cpp105 if (fBuffer[index].refs < 1) {
106 fBuffer[index].refs = 0;
132 fBuffer[index].refs++;
139 fBuffer[index].refs--;
H A DStyleBuffer.h38 long refs; // reference count for this style member in struct:STEStyleRecord
/haiku/src/apps/deskbar/
H A DBarApp.h143 virtual void RefsReceived(BMessage* refs);
H A DBarApp.cpp744 TBarApp::RefsReceived(BMessage* refs) argument
747 for (int32 i = 0; refs->FindRef("refs", i, &ref) == B_OK; i++) {
749 refsReceived.AddRef("refs", &ref);
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dbtrfs.h349 uint32 refs; member in struct:btrfs_root
435 uint64 refs; member in struct:btrfs_extent
439 uint64 RefCount() const { return B_LENDIAN_TO_HOST_INT64(refs); }
/haiku/src/tests/kits/app/broster/
H A DLaunchTesterHelper.h89 const entry_ref *refs, int32 count = 1);
H A DLaunchTesterHelper.cpp572 int32 &cookie, const entry_ref *refs,
580 result = (message->FindRef("refs", i, &ref) == B_OK
581 && ref == refs[i]);
571 CheckRefsMessage(LaunchCaller &caller, team_id team, int32 &cookie, const entry_ref *refs, int32 count) argument

Completed in 305 milliseconds

12