/haiku/src/apps/icon-o-matic/document/savers/ |
H A D | FileSaver.cpp | 12 FileSaver::FileSaver(const entry_ref& ref) argument 13 : fRef(ref) 24 FileSaver::SetRef(const entry_ref& ref) argument 26 fRef = ref;
|
H A D | AttributeSaver.cpp | 17 AttributeSaver::AttributeSaver(const entry_ref& ref, const char* attrName) argument 18 : fRef(ref),
|
H A D | SimpleFileSaver.cpp | 13 const entry_ref& ref) 14 : FileSaver(ref), 12 SimpleFileSaver(Exporter* exporter, const entry_ref& ref) argument
|
H A D | FileSaver.h | 19 FileSaver(const entry_ref& ref); 22 void SetRef(const entry_ref& ref);
|
H A D | NativeSaver.cpp | 16 NativeSaver::NativeSaver(const entry_ref& ref) argument 18 SimpleFileSaver(new MessageExporter(), ref), 19 fAttrSaver(ref, kVectorAttrNodeName)
|
/haiku/src/kits/app/ |
H A D | MessageUtils.cpp | 41 entry_ref_flatten(char *buffer, size_t *size, const entry_ref *ref) argument 43 if (*size < sizeof(ref->device) + sizeof(ref->directory)) 46 memcpy((void *)buffer, (const void *)&ref->device, sizeof(ref->device)); 47 buffer += sizeof(ref->device); 48 memcpy((void *)buffer, (const void *)&ref->directory, sizeof(ref->directory)); 49 buffer += sizeof(ref->directory); 50 *size -= sizeof(ref 68 entry_ref_unflatten(entry_ref *ref, const char *buffer, size_t size) argument 114 node_ref_flatten(char *buffer, size_t *size, const node_ref *ref) argument 129 node_ref_unflatten(node_ref *ref, const char *buffer, size_t size) argument [all...] |
/haiku/src/bin/ |
H A D | installsound.cpp | 52 entry_ref ref; local 53 while(mfiles.GetNextRef(&name,&ref) == B_OK) { 54 printf("%s:\t%s\n", name.String(),BPath(&ref).Path()); 60 entry_ref ref; local 61 if(mfiles.GetRefFor(BMediaFiles::B_SOUNDS, argv[2], &ref) == B_OK) 62 printf("%s\n", BPath(&ref).Path()); 68 entry_ref ref; local 69 if(mfiles.GetRefFor(BMediaFiles::B_SOUNDS, argv[2], &ref) == B_OK) 70 mfiles.RemoveRefFor(BMediaFiles::B_SOUNDS, argv[2], ref); 81 entry_ref ref; local [all...] |
/haiku/src/apps/aboutsystem/ |
H A D | HyperTextActions.cpp | 32 entry_ref ref; local 33 if (get_ref_for_path("/bin/open", &ref)) 37 be_roster->Launch(&ref, 1, args); 59 // get the entry ref and let Tracker open the file 60 entry_ref ref; local 61 if (get_ref_for_path(fFile.String(), &ref) != B_OK 62 || !BEntry(&ref).Exists()) { 69 message.AddRef("refs", &ref); 72 be_roster->Launch(&ref);
|
/haiku/src/apps/showimage/ |
H A D | ImageFileNavigator.cpp | 45 entry_ref& ref, bool next, bool rewind) = 0; 46 virtual void UpdateSelection(const entry_ref& ref) = 0; 49 bool IsImage(const entry_ref& ref); 67 entry_ref& ref, bool next, bool rewind); 68 virtual void UpdateSelection(const entry_ref& ref); 80 FolderNavigator(entry_ref& ref); 84 entry_ref& ref, bool next, bool rewind); 85 virtual void UpdateSelection(const entry_ref& ref); 102 AutoAdjustingNavigator(entry_ref& ref, 107 entry_ref& ref, boo 119 entry_ref_is_file(const entry_ref& ref) argument 143 IsImage(const entry_ref& ref) argument 179 FindNextImage(const entry_ref& currentRef, entry_ref& ref, bool next, bool rewind) argument 228 UpdateSelection(const entry_ref& ref) argument 247 FolderNavigator(entry_ref& ref) argument 294 const entry_ref& ref = *fEntries.ItemAt(index); local 311 UpdateSelection(const entry_ref& ref) argument 324 entry_ref* ref = new entry_ref(); local 348 AutoAdjustingNavigator(entry_ref& ref, const BMessenger& trackerMessenger) argument 386 UpdateSelection(const entry_ref& ref) argument 399 _CheckForTracker(const entry_ref& ref) argument 422 ImageFileNavigator(const entry_ref& ref, const BMessenger& trackerMessenger) argument 440 SetTo(const entry_ref& ref, int32 page, int32 pageCount) argument 534 entry_ref ref; local 548 entry_ref ref; local 562 entry_ref ref; local 576 entry_ref ref; local 584 entry_ref ref; local 590 GetNextFile(const entry_ref& ref, entry_ref& nextRef) argument 597 GetPreviousFile(const entry_ref& ref, entry_ref& previousRef) argument [all...] |
/haiku/src/apps/text_search/ |
H A D | GrepListView.h | 15 ResultItem(const entry_ref& ref); 17 entry_ref ref; member in class:ResultItem 25 ResultItem* FindItem(const entry_ref& ref, 28 ResultItem* RemoveResults(const entry_ref& ref,
|
H A D | GrepListView.cpp | 10 ResultItem::ResultItem(const entry_ref& ref) argument 12 ref(ref) 14 BEntry entry(&ref); 29 GrepListView::FindItem(const entry_ref& ref, int32* _index) const argument 36 if (item->ref == ref) { 47 GrepListView::RemoveResults(const entry_ref& ref, bool completeItem) argument 50 ResultItem* item = FindItem(ref, &index);
|
/haiku/src/tools/fs_shell/ |
H A D | file_cache.cpp | 59 typedef fssh_status_t (*cache_func)(file_cache_ref *ref, void *cookie, 83 read_from_file(file_cache_ref *ref, void *cookie, fssh_off_t offset, argument 90 fssh_mutex_unlock(&ref->lock); 92 fssh_status_t status = vfs_read_pages(ref->node, cookie, 95 fssh_mutex_lock(&ref->lock); 102 write_to_file(file_cache_ref *ref, void *cookie, fssh_off_t offset, argument 109 fssh_mutex_unlock(&ref->lock); 111 fssh_status_t status = vfs_write_pages(ref->node, cookie, 114 fssh_mutex_lock(&ref->lock); 121 satisfy_cache_io(file_cache_ref *ref, voi argument 151 file_cache_ref *ref = (file_cache_ref *)_cacheRef; local 241 file_cache_ref *ref = new(nothrow) file_cache_ref; local 271 file_cache_ref *ref = (file_cache_ref *)_cacheRef; local 310 file_cache_ref *ref = (file_cache_ref *)_cacheRef; local 328 file_cache_ref *ref = (file_cache_ref *)_cacheRef; local 340 file_cache_ref *ref = (file_cache_ref *)_cacheRef; local 353 file_cache_ref *ref = (file_cache_ref *)_cacheRef; local [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | EntryRef.cpp | 19 EntryRef::EntryRef(const entry_ref& ref) argument 20 : entry_ref(ref) 63 NoAllocEntryRef::NoAllocEntryRef(const entry_ref& ref) argument 66 device = ref.device; 67 directory = ref.directory; 68 this->name = ref.name; 79 NoAllocEntryRef::operator=(const entry_ref& ref) argument 81 device = ref.device; 82 directory = ref.directory; 83 this->name = ref [all...] |
H A D | EntryRef.h | 14 EntryRef(const entry_ref& ref); 29 NoAllocEntryRef(const entry_ref& ref); 32 NoAllocEntryRef& operator=(const entry_ref& ref);
|
/haiku/src/apps/clock/ |
H A D | cl_wind.cpp | 40 int ref = creat(path.Path(), 0777); local 41 if (ref >= 0) { 43 write(ref, (char *)&lefttop, sizeof(BPoint)); 45 write(ref, (char *)&face, sizeof(short)); 47 write(ref, (char *)&seconds, sizeof(bool)); 48 close(ref); 65 int ref; local 69 ref = open(path.Path(), O_RDONLY); 70 if (ref >= 0) { 72 read(ref, (cha [all...] |
/haiku/src/apps/resedit/ |
H A D | App.cpp | 68 entry_ref ref; local 69 if (entry.GetRef(&ref) < B_OK) 71 new ResWindow(BRect(50, 100, 600, 400), &ref); 79 entry_ref ref; local 81 while (msg->FindRef("refs", i++, &ref) == B_OK) 82 new ResWindow(BRect(50, 100, 600, 400), &ref);
|
/haiku/src/servers/registrar/ |
H A D | RosterAppInfo.cpp | 33 const entry_ref *ref, const char *signature) 39 BEntry entry(ref, true); 40 if (entry.GetRef(&this->ref) != B_OK) 41 this->ref = *ref; 57 clone->Init(thread, team, port, flags, &ref, signature); 32 Init(thread_id thread, team_id team, port_id port, uint32 flags, const entry_ref *ref, const char *signature) argument
|
/haiku/src/add-ons/index_server/fulltext/ |
H A D | FullTextAnalyser.h | 30 void AnalyseEntry(const entry_ref& ref); 31 void DeleteEntry(const entry_ref& ref); 37 inline bool _InterestingEntry(const entry_ref& ref); 38 inline bool _IsInIndexDirectory(const entry_ref& ref);
|
/haiku/src/kits/mail/ |
H A D | MailFilter.cpp | 25 BMailFilter::HeaderFetched(entry_ref& ref, BFile& file, BMessage& attributes) argument 32 BMailFilter::BodyFetched(const entry_ref& ref, BFile& file, argument 45 BMailFilter::MessageReadyToSend(const entry_ref& ref, BFile& file) argument 51 BMailFilter::MessageSent(const entry_ref& ref, BFile& file) argument
|
/haiku/src/apps/cortex/InfoView/ |
H A D | LiveNodeInfoView.cpp | 71 const NodeRef *ref) 72 : InfoView(ref->name(), B_TRANSLATE("Live media node"), 73 new MediaIcon(ref->nodeInfo(), B_LARGE_ICON)), 74 m_nodeID(ref->id()) 83 s << ref->id(); 88 s << ref->node().port; 90 if (get_port_info(ref->node().port, &portInfo) == B_OK) 100 addField(B_TRANSLATE("Kinds"), MediaString::getStringFor(static_cast<node_kind>(ref->kind()))); 103 BMediaNode::run_mode runMode = static_cast<BMediaNode::run_mode>(ref->runMode()); 106 NodeGroup *group = ref 70 LiveNodeInfoView( const NodeRef *ref) argument [all...] |
/haiku/src/apps/haikudepot/packagemanagement/ |
H A D | UninstallPackageProcess.cpp | 73 PackageInfoRef ref(fPackage); 74 PackageState state = ref->State(); 75 fPackageManager->SetCurrentActionPackage(ref, false); 77 const char* packageName = ref->Name().String(); 88 ref->SetState(state); 97 ref->SetState(state); 103 ref->ClearInstallationLocations(); 104 ref->SetState(NONE); 117 PackageInfoRef ref(FindPackageByName(packages.ItemAt(i) 119 if (ref [all...] |
/haiku/headers/private/index_server/ |
H A D | TextDataBase.h | 21 virtual status_t AddDocument(const entry_ref& ref) = 0; 22 virtual status_t RemoveDocument(const entry_ref& ref) = 0;
|
/haiku/headers/private/shared/ |
H A D | OpenWithTracker.h | 17 OpenWithTracker(const entry_ref* ref) argument 21 message.AddRef("refs", ref); 33 entry_ref ref; local 34 status = get_ref_for_path(path, &ref); 38 return OpenWithTracker(&ref); 53 entry_ref ref; local 59 status = entry.GetRef(&ref); 63 return OpenWithTracker(&ref);
|
/haiku/src/apps/diskprobe/ |
H A D | FileWindow.h | 17 FileWindow(BRect rect, entry_ref* ref, 21 virtual bool Contains(const entry_ref& ref,
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistFileReader.h | 28 virtual void AppendToPlaylist(const entry_ref& ref, 30 static PlaylistFileReader* GenerateReader(const entry_ref& ref); 40 static PlaylistFileType _IdentifyType(const entry_ref& ref); 46 virtual void AppendToPlaylist(const entry_ref& ref, Playlist* playlist); 52 virtual void AppendToPlaylist(const entry_ref& ref,
|