/haiku-fatelf/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),
|
/haiku-fatelf/src/kits/app/ |
H A D | MessageUtils.cpp | 45 entry_ref_flatten(char *buffer, size_t *size, const entry_ref *ref) argument 47 if (*size < sizeof(ref->device) + sizeof(ref->directory)) 50 memcpy((void *)buffer, (const void *)&ref->device, sizeof(ref->device)); 51 buffer += sizeof(ref->device); 52 memcpy((void *)buffer, (const void *)&ref->directory, sizeof(ref->directory)); 53 buffer += sizeof (ref->directory); 54 *size -= sizeof(ref 71 entry_ref_unflatten(entry_ref *ref, const char *buffer, size_t size) argument [all...] |
/haiku-fatelf/src/tools/docbook/libxml2/ |
H A D | triop.h | 20 * The ref pointer is an opaque type and should remain as such. 90 TRIO_CONST char *trio_get_format TRIO_PROTO((trio_pointer_t ref)); 91 trio_pointer_t trio_get_argument TRIO_PROTO((trio_pointer_t ref)); 94 int trio_get_width TRIO_PROTO((trio_pointer_t ref)); 95 void trio_set_width TRIO_PROTO((trio_pointer_t ref, int width)); 96 int trio_get_precision TRIO_PROTO((trio_pointer_t ref)); 97 void trio_set_precision TRIO_PROTO((trio_pointer_t ref, int precision)); 98 int trio_get_base TRIO_PROTO((trio_pointer_t ref)); 99 void trio_set_base TRIO_PROTO((trio_pointer_t ref, int base)); 100 int trio_get_padding TRIO_PROTO((trio_pointer_t ref)); [all...] |
/haiku-fatelf/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-fatelf/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, 2, args); 60 // get the entry ref and let Tracker open the file 61 entry_ref ref; local 62 if (get_ref_for_path(fFile.String(), &ref) != B_OK 63 || !BEntry(&ref).Exists()) { 70 message.AddRef("refs", &ref); 73 be_roster->Launch(&ref);
|
/haiku-fatelf/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 126 entry_ref_is_file(const entry_ref& ref) argument 150 IsImage(const entry_ref& ref) argument 186 FindNextImage(const entry_ref& currentRef, entry_ref& ref, bool next, bool rewind) argument 235 UpdateSelection(const entry_ref& ref) argument 254 FolderNavigator(entry_ref& ref) argument 301 const entry_ref& ref = *fEntries.ItemAt(index); local 318 UpdateSelection(const entry_ref& ref) argument 331 entry_ref* ref = new entry_ref(); local 355 AutoAdjustingNavigator(entry_ref& ref, const BMessenger& trackerMessenger) argument 393 UpdateSelection(const entry_ref& ref) argument 406 _CheckForTracker(const entry_ref& ref) argument 429 ImageFileNavigator(const entry_ref& ref, const BMessenger& trackerMessenger) argument 447 SetTo(const entry_ref& ref, int32 page, int32 pageCount) argument 527 entry_ref ref; local 541 entry_ref ref; local 555 entry_ref ref; local 569 entry_ref ref; local 577 entry_ref ref; local 583 GetNextFile(const entry_ref& ref, entry_ref& nextRef) argument 590 GetPreviousFile(const entry_ref& ref, entry_ref& previousRef) argument [all...] |
/haiku-fatelf/src/apps/text_search/ |
H A D | GrepListView.h | 32 ResultItem(const entry_ref& ref); 34 entry_ref ref; member in class:ResultItem 42 ResultItem* FindItem(const entry_ref& ref, 45 ResultItem* RemoveResults(const entry_ref& ref,
|
H A D | GrepListView.cpp | 27 ResultItem::ResultItem(const entry_ref& ref) argument 29 ref(ref) 31 BEntry entry(&ref); 46 GrepListView::FindItem(const entry_ref& ref, int32* _index) const argument 53 if (item->ref == ref) { 64 GrepListView::RemoveResults(const entry_ref& ref, bool completeItem) argument 67 ResultItem* item = FindItem(ref, &index);
|
/haiku-fatelf/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-fatelf/src/apps/cortex/InfoView/ |
H A D | LiveNodeInfoView.cpp | 61 const NodeRef *ref) 62 : InfoView(ref->name(), "Live Media Node", 63 new MediaIcon(ref->nodeInfo(), B_LARGE_ICON)), 64 m_nodeID(ref->id()) 73 s << ref->id(); 78 s << ref->node().port; 80 if (get_port_info(ref->node().port, &portInfo) == B_OK) 90 addField("Kinds", MediaString::getStringFor(static_cast<node_kind>(ref->kind()))); 93 BMediaNode::run_mode runMode = static_cast<BMediaNode::run_mode>(ref->runMode()); 96 NodeGroup *group = ref 60 LiveNodeInfoView( const NodeRef *ref) argument [all...] |
/haiku-fatelf/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...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/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...] |
/haiku-fatelf/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-fatelf/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-fatelf/src/apps/webwatch/ |
H A D | WatchApp.cpp | 51 entry_ref ref; local 52 be_roster->FindApp(APP_SIGNATURE, &ref); 53 deskbar.AddItem(&ref);
|
/haiku-fatelf/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-fatelf/src/kits/mail/ |
H A D | HaikuMailFormatFilter.h | 20 void HeaderFetched(const entry_ref& ref, 22 void BodyFetched(const entry_ref& ref, BFile* file); 24 void MessageSent(const entry_ref& ref, 27 status_t _SetFileName(const entry_ref& ref,
|
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPRootInboundProtocol.cpp | 86 IMAPRootInboundProtocol::FetchBody(const entry_ref& ref) argument 88 if (InterestingEntry(ref)) 89 return IMAPInboundProtocol::FetchBody(ref); 90 InboundProtocolThread* thread = _FindThreadFor(ref); 93 thread->FetchBody(ref); 99 IMAPRootInboundProtocol::MarkMessageAsRead(const entry_ref& ref, argument 102 if (InterestingEntry(ref)) 103 return IMAPInboundProtocol::MarkMessageAsRead(ref, flag); 104 InboundProtocolThread* thread = _FindThreadFor(ref); 107 thread->MarkMessageAsRead(ref, fla 113 DeleteMessage(const entry_ref& ref) argument 126 AppendMessage(const entry_ref& ref) argument 168 _FindThreadFor(const entry_ref& ref) argument [all...] |
/haiku-fatelf/src/servers/media/ |
H A D | AddOnManager.cpp | 178 "id %ld\n", info->ref.name, id); 180 *_encoderRef = info->ref; 201 "internal_id %lu\n", info->ref.name, internalID); 203 *_ref = info->ref; 269 entry_ref ref; local 271 entryInfo->dir_nref.node, entryInfo->name, &ref); 272 fManager->_RegisterAddOn(ref); 277 entry_ref ref; local 279 entryInfo->dir_nref.node, entryInfo->name, &ref); 280 fManager->_UnregisterAddOn(ref); 324 _RegisterAddOn(const entry_ref& ref) argument 375 _UnregisterAddOn(const entry_ref& ref) argument 440 _RegisterReader(ReaderPlugin* reader, const entry_ref& ref) argument 462 _RegisterDecoder(DecoderPlugin* plugin, const entry_ref& ref) argument 494 _RegisterWriter(WriterPlugin* writer, const entry_ref& ref) argument 536 _RegisterEncoder(EncoderPlugin* plugin, const entry_ref& ref) argument [all...] |
/haiku-fatelf/headers/build/os/drivers/ |
H A D | Select.h | 35 extern void notify_select_event(struct selectsync *sync, uint32 ref); 37 extern status_t notify_select_event(struct selectsync *sync, uint32 ref, uint8 event);
|
/haiku-fatelf/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-fatelf/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-fatelf/src/apps/deskbar/ |
H A D | DeskbarUtils.cpp | 65 entry_ref ref; local 75 ref = *subdirectory; 76 BEntry entry(&ref); 78 // if the ref is a file get the parent and convert it to a ref 82 parent.GetRef(&ref); 87 dir.SetTo(&ref); 96 if (m->FindRef("refs", i, &ref) == B_NO_ERROR) { 97 BEntry entry(&ref); 100 dir.CreateSymLink(ref [all...] |
/haiku-fatelf/src/apps/diskprobe/ |
H A D | FileWindow.h | 16 FileWindow(BRect rect, entry_ref *ref, const BMessage *settings = NULL); 19 virtual bool Contains(const entry_ref &ref, const char *attribute);
|