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

1234567891011>>

/haiku/src/apps/icon-o-matic/document/savers/
H A DFileSaver.cpp12 FileSaver::FileSaver(const entry_ref& ref) argument
13 : fRef(ref)
24 FileSaver::SetRef(const entry_ref& ref) argument
26 fRef = ref;
H A DAttributeSaver.cpp17 AttributeSaver::AttributeSaver(const entry_ref& ref, const char* attrName) argument
18 : fRef(ref),
H A DFileSaver.h18 FileSaver(const entry_ref& ref);
21 void SetRef(const entry_ref& ref);
H A DSimpleFileSaver.cpp13 const entry_ref& ref)
14 : FileSaver(ref),
12 SimpleFileSaver(Exporter* exporter, const entry_ref& ref) argument
H A DNativeSaver.cpp16 NativeSaver::NativeSaver(const entry_ref& ref) argument
18 SimpleFileSaver(new MessageExporter(), ref),
19 fAttrSaver(ref, kVectorAttrNodeName)
/haiku/src/kits/app/
H A DMessageUtils.cpp41 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
67 entry_ref_unflatten(entry_ref *ref, const char *buffer, size_t size) argument
[all...]
/haiku/src/bin/
H A Dinstallsound.cpp52 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 DHyperTextActions.cpp32 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 DImageFileNavigator.cpp45 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 DGrepListView.h15 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 DGrepListView.cpp10 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 Dfile_cache.cpp59 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/apps/cortex/InfoView/
H A DLiveNodeInfoView.cpp61 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/src/add-ons/kernel/file_systems/netfs/server/
H A DEntryRef.cpp19 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 DEntryRef.h14 EntryRef(const entry_ref& ref);
29 NoAllocEntryRef(const entry_ref& ref);
32 NoAllocEntryRef& operator=(const entry_ref& ref);
/haiku/src/apps/clock/
H A Dcl_wind.cpp40 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 DApp.cpp68 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 DRosterAppInfo.cpp33 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 DFullTextAnalyser.h30 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 DMailFilter.cpp25 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/headers/private/index_server/
H A DTextDataBase.h21 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 DOpenWithTracker.h17 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 DFileWindow.h17 FileWindow(BRect rect, entry_ref* ref,
21 virtual bool Contains(const entry_ref& ref,
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliDebugReportCommand.cpp45 entry_ref ref; local
46 if (get_ref_for_path(path.Path(), &ref) == B_OK) {
48 context.GetUserInterfaceListener()->DebugReportRequested(&ref);
/haiku/src/servers/registrar/mime/
H A DCreateAppMetaMimeThread.cpp34 CreateAppMetaMimeThread::DoMimeUpdate(const entry_ref* ref, bool* _entryIsDir) argument
36 if (ref == NULL)
39 return fCreator.Do(*ref, _entryIsDir);

Completed in 287 milliseconds

1234567891011>>