Searched refs:ref (Results 351 - 375 of 722) sorted by relevance

<<11121314151617181920>>

/haiku/headers/os/locale/
H A DLocaleRoster.h86 const entry_ref& ref,
106 status_t _PrepareCatalogEntry(const entry_ref& ref,
/haiku/headers/private/media/
H A DPluginManager.h31 MediaPlugin* GetPlugin(const entry_ref& ref);
68 status_t _LoadPlugin(const entry_ref& ref,
/haiku/headers/build/os/storage/
H A DFile.h35 BFile(const entry_ref *ref, uint32 openMode);
41 status_t SetTo(const entry_ref *ref, uint32 openMode);
/haiku/src/kits/storage/
H A DQuery.cpp334 entry_ref ref; local
335 error = GetNextRef(&ref);
337 error = entry->SetTo(&ref, traverse);
343 // Fills out ref with the next entry as an entry_ref.
345 BQuery::GetNextRef(entry_ref* ref) argument
347 status_t error = (ref ? B_OK : B_BAD_VALUE);
363 ref->device = entry->d_pdev;
364 ref->directory = entry->d_pino;
365 error = ref->set_name(entry->d_name);
H A DResourceStrings.cpp44 \param ref the entry_ref referring to the resource file
46 BResourceStrings::BResourceStrings(const entry_ref &ref) argument
55 SetStringFile(&ref);
129 \param ref the entry_ref referring to the resource file
132 BResourceStrings::SetStringFile(const entry_ref *ref) argument
137 // get the ref (if NULL, take the application)
140 if (ref) {
141 fileRef = *ref;
142 fFileRef = *ref;
/haiku/src/kits/tracker/
H A DEntryIterator.cpp81 TWalkerWrapper::GetNextRef(entry_ref* ref) argument
83 fStatus = fWalker->GetNextRef(ref);
203 CachedEntryIterator::GetNextRef(entry_ref* ref) argument
225 *ref = fEntryRefBuffer[fIndex++];
399 DirectoryEntryList::GetNextRef(entry_ref* ref) argument
401 fStatus = fDirectory.GetNextRef(ref);
483 EntryIteratorList::GetNextRef(entry_ref* ref) argument
491 fStatus = fList.ItemAt(fCurrentIndex)->GetNextRef(ref);
H A DOpenWithWindow.cpp130 entry_ref ref; local
131 fEntriesToOpen->FindRef("refs", &ref);
133 buffer.ReplaceFirst("%name", ref.name);
198 AddOneUniqueDocumentType(const entry_ref* ref, void* castToList) argument
202 BEntry entry(ref, true);
609 AddOneRefSignatures(const entry_ref* ref, void* castToIterator) argument
617 Model model(ref, true, true);
749 // add ref of the selected handler
797 // from preferred app ref
994 OpenWithRefFilter::Filter(const entry_ref* ref, BNod argument
1393 GetNextRef(entry_ref* ref) argument
1479 TrySettingPreferredApp(const entry_ref* ref) argument
1492 TrySettingPreferredAppForFile(const entry_ref* ref) argument
1576 entry_ref ref; local
1614 entry_ref ref; local
1821 GetNextRef(entry_ref* ref) argument
[all...]
H A DFSUtils.cpp240 CopyLoopControl::UpdateStatus(const char* name, const entry_ref& ref, argument
561 FSDelete(entry_ref* ref, bool async, bool confirm) argument
564 list->AddItem(ref);
821 ShouldEditRefName(const entry_ref* ref, const char* name, size_t length) argument
823 if (ref == NULL || name == NULL || name[0] == '\0' || length <= 0)
826 BEntry entry(ref);
847 if (strcmp(name, ref->name) == 0)
984 delete_ref(void* ref) argument
986 delete (entry_ref*)ref;
1273 entry_ref ref; local
1390 entry_ref ref; local
1744 entry_ref ref; local
1776 entry_ref ref; local
2042 entry_ref ref; local
2428 entry_ref ref; local
2641 entry_ref* ref = refList->ItemAt(i); local
2949 FSInTrashDir(const entry_ref* ref) argument
2999 entry_ref ref; local
3216 FSCreateNewFolder(const entry_ref* ref) argument
3396 entry_ref ref; local
3440 SniffIfGeneric(const entry_ref* ref) argument
3465 entry_ref ref; local
3679 entry_ref ref; local
3946 FSLaunchUsing(const entry_ref* ref, BMessage* listOfRefs) argument
3985 entry_ref ref; local
[all...]
/haiku/src/apps/cortex/RouteApp/
H A DDormantNodeIO.cpp71 NodeRef* ref,
75 ASSERT(ref);
83 err = ref->getDormantNodeInfo(&info);
107 m_flags = ref->flags();
109 if(ref->getFile(&file) == B_OK)
112 m_runMode = ref->runMode();
113 m_recordingDelay = ref->recordingDelay();
114 m_cycle = ref->isCycling();
207 // set ref
70 DormantNodeIO( NodeRef* ref, const char* nodeKey) argument
/haiku/src/apps/people/
H A DPersonView.cpp45 const entry_ref *ref)
58 fRef = ref;
64 fPictureView = new PictureView(70, 90, ref);
271 PersonView::CreateFile(const entry_ref* ref) argument
273 fRef = ref;
419 PersonView::UpdatePicture(const entry_ref* ref) argument
428 BEntry entry(ref);
436 fPictureView->Update(ref);
44 PersonView(const char* name, const char* categoryAttribute, const entry_ref *ref) argument
/haiku/src/tests/kits/app/common/
H A DAppRunner.cpp154 AppRunner::GetRef(entry_ref *ref) argument
156 status_t error = (ref ? B_OK : B_ERROR);
158 *ref = fRef;
302 find_test_app(const char *testApp, entry_ref *ref) argument
304 status_t error = (testApp && ref ? B_OK : B_BAD_VALUE);
309 error = get_ref_for_path(path.String(), ref);
/haiku/src/apps/poorman/
H A DPoorManPreferencesWindow.cpp184 entry_ref ref; local
188 if (message->FindRef("refs", &ref) != B_OK || entry.SetTo(&ref) != B_OK) {
215 entry_ref ref; local
221 err = message->FindRef("directory", &ref) != B_OK;
222 //if (err = message->FindRef("directory", &ref) != B_OK)
227 err = entry.SetTo(&ref) != B_OK;
228 //if (err = entry.SetTo(&ref) != B_OK)
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowConfigView.cpp236 entry_ref ref;
237 if (entry.GetRef(&ref) != B_OK)
239 fFilePanel->SetPanelDirectory(&ref);
247 entry_ref ref; local
248 if (message->FindRef("refs", &ref) != B_OK)
250 BEntry entry(&ref, true);
/haiku/src/apps/diskusage/
H A DInfoWindow.cpp74 stringTitle.ReplaceFirst("%refName%", f->ref.name);
98 BEntry entry(&f->ref);
120 entry_ref ref; local
121 entry.GetRef(&ref);
122 BNodeInfo::GetTrackerIcon(&ref, icon, B_LARGE_ICON);
160 kSmallVMargin + 30.0), NULL, f->ref.name, B_FOLLOW_ALL);
/haiku/src/kits/media/
H A DSoundFile.cpp24 BSoundFile::BSoundFile(const entry_ref *ref, argument
28 SetTo(ref,open_mode);
51 BSoundFile::SetTo(const entry_ref *ref, argument
70 return _ref_to_file(ref);
339 BSoundFile::_ref_to_file(const entry_ref *ref) argument
342 BFile * file = new BFile(ref, B_READ_ONLY);
/haiku/src/apps/debugger/user_interface/gui/
H A DGraphicalUserInterface.cpp37 void SetCurrentRef(entry_ref* ref);
84 entry_ref ref; local
85 if (message->FindRef("refs", &ref) == B_OK
87 *fCurrentRef = ref;
119 GraphicalUserInterface::FilePanelHandler::SetCurrentRef(entry_ref* ref) argument
121 fCurrentRef = ref;
/haiku/src/apps/cortex/NodeManager/
H A DNodeGroup.cpp693 [this](NodeRef* ref) { ref->_setRunModeAuto(this->m_runMode); }
960 // *** ref->group communication (LOCK REQUIRED)
967 NodeRef* ref) {
971 ref->name()));
973 if(ref->m_cycle) {
974 _cycleAddRef(ref);
976 _cycleRemoveRef(ref);
987 NodeRef* ref) {
991 ref
966 _refCycleChanged( NodeRef* ref) argument
986 _refLatencyChanged( NodeRef* ref) argument
1015 _refStopped( NodeRef* ref) argument
1523 _cycleAddRef( NodeRef* ref) argument
1552 _cycleRemoveRef( NodeRef* ref) argument
[all...]
/haiku/src/tests/kits/storage/
H A DNodeInfoTest.cpp325 CheckAppHintAttr(BNode &node, const entry_ref *ref) argument
328 CHK(path.SetTo(ref) == B_OK);
704 // status_t GetAppHint(entry_ref *ref) const
705 // * NULL ref => B_BAD_VALUE
717 entry_ref ref; local
718 CHK(nodeInfo.GetAppHint(&ref) == B_NO_INIT);
726 entry_ref ref; local
727 CHK(nodeInfo.GetAppHint(&ref) == B_ENTRY_NOT_FOUND);
738 entry_ref ref; local
739 CHK(nodeInfo.GetAppHint(&ref)
759 entry_ref ref; local
781 entry_ref ref; local
791 TestTrackerIcon(BNodeInfo &nodeInfo, entry_ref *ref, icon_size size, BBitmap *expectedIcon) argument
832 entry_ref ref; local
[all...]
/haiku/src/apps/icon-o-matic/
H A DMainWindow.cpp221 entry_ref ref; local
222 if (message->FindRef("refs", &ref) != B_OK)
227 if (BMimeType::GuessMimeType(&ref, &type) == B_OK) {
233 AddReferenceImage(ref);
245 Open(ref);
341 entry_ref ref; local
343 if (message->FindRef("directory", &ref) == B_OK
346 BDirectory dir(&ref);
350 && entry.GetRef(&ref) >= B_OK) {
353 DocumentSaver* saver = _CreateSaver(ref, exportMod
678 Open(const entry_ref& ref, bool append) argument
879 AddReferenceImage(const entry_ref& ref) argument
1455 _CreateSaver(const entry_ref& ref, uint32 exportMode) argument
[all...]
/haiku/src/preferences/filetypes/
H A DFileTypes.cpp224 entry_ref ref; local
225 while (message->FindRef("refs", index++, &ref) == B_OK) {
229 status_t status = entry.SetTo(&ref, traverseLinks);
240 ref.name, strerror(status));
254 if (entry.GetRef(&target) == B_OK && target != ref)
255 message->ReplaceRef("refs", index - 1, &ref);
274 if (message->FindRef("refs", &ref) != B_OK)
313 entry_ref ref; local
317 || (status = entry.GetRef(&ref)) != B_OK) {
323 refs.AddRef("refs", &ref);
[all...]
H A DApplicationTypesWindow.cpp325 entry_ref ref; local
326 if (query.GetNextRef(&ref) == B_OK) {
413 entry_ref ref; local
415 if (be_roster->FindApp(fCurrentType.Type(), &ref) == B_OK) {
419 message->AddRef("refs", &ref);
427 BFile file(&ref, B_READ_ONLY);
467 BPath path(&ref);
524 entry_ref ref; local
525 if (type.GetAppHint(&ref) == B_OK) {
527 refs.AddRef("refs", &ref);
[all...]
/haiku/src/apps/mail/
H A DEnclosures.cpp201 entry_ref ref; local
202 while (msg->FindRef("refs", index++, &ref) == B_NO_ERROR) {
203 BEntry entry(&ref, true);
204 entry.GetRef(&ref);
205 BFile file(&ref, O_RDONLY);
211 if (ref == *(item->Ref())) {
219 fList->AddItem(item = new TListItem(&ref));
402 TListItem::TListItem(entry_ref *ref) argument
405 fRef = *ref;
407 BEntry entry(ref);
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DVolumeManager.cpp709 VolumeManager::GetEntry(const entry_ref& ref) argument
711 return GetEntry(ref.device, ref.directory, ref.name);
1068 NoAllocEntryRef ref(event->volumeID, event->directoryID,
1070 EntryCreatedEvent* oldEvent = fEntryCreatedEvents->Get(ref);
1074 fEntryCreatedEvents->Remove(ref);
1081 if (fEntryCreatedEvents->Put(ref, event) == B_OK) {
1090 LoadEntry(ref.device, ref
1629 _GenerateEntryCreatedEvent(const entry_ref& ref, bigtime_t time, EntryCreatedEvent** _event) argument
[all...]
/haiku/src/add-ons/kernel/file_cache/
H A Dlaunch_speedup.cpp59 node_ref ref; member in struct:node
77 return HashKey(value->ref);
82 return (node->ref.device == key.device && node->ref.node == key.node);
306 parse_node_ref(const char *string, node_ref &ref, const char **_end = NULL) argument
308 // parse node ref
310 ref.device = strtol(string, &end, 0);
311 if (end == NULL || ref.device == 0)
314 ref.node = strtoull(end + 1, &end, 0);
329 node->ref
[all...]
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp60 entry_ref ref; local
72 fThreadDataStore->FindRef("refs", index, &ref);
75 if (lastRef.directory != ref.directory) {
80 lastRef = ref;
147 fThreadDataStore->FindRef("refs", index, &ref);
150 argv[3 + index] = strdup(ref.name);
152 BPath path(&ref);

Completed in 225 milliseconds

<<11121314151617181920>>