Searched refs:ref (Results 201 - 225 of 722) sorted by relevance

1234567891011>>

/haiku/src/apps/firstbootprompt/
H A DBootPromptWindow.cpp500 entry_ref ref; local
501 message->FindRef("ref", &ref);
502 item-> SetLabel(B_TRANSLATE_NOCOLLECT_ALL((ref.name),
538 entry_ref ref; local
540 while (directory.GetNextRef(&ref) == B_OK) {
542 message->AddRef("ref", &ref);
544 new BMenuItem(B_TRANSLATE_NOCOLLECT_ALL((ref.name),
547 if (currentName == ref
562 entry_ref ref; local
623 entry_ref ref; local
[all...]
/haiku/src/apps/cortex/RouteApp/
H A DRouteAppNodeManager.cpp124 NodeRef* ref; local
125 status_t err = getNodeRef(nodeID, &ref);
129 return mediaIconFor(ref->nodeInfo(), iconSize);
175 NodeRef* ref) {
180 title.ReplaceFirst("%name%", ref->name());
185 NodeGroup* g = createGroup(ref->name());
187 if(ref->kind() & B_TIME_SOURCE) {
190 m.AddInt32("nodeID", ref->id());
200 BTimeSource* ts = roster->MakeTimeSourceFor(ref->node());
211 g->addNode(ref);
174 nodeCreated( NodeRef* ref) argument
216 nodeDeleted( const NodeRef* ref) argument
469 NodeRef* ref; local
514 NodeRef* ref; local
[all...]
H A DRouteAppNodeManager.h142 NodeRef* ref);
145 const NodeRef* ref);
230 bool _canGroup(NodeRef* ref) const;
232 // void _exportNode(NodeRef* ref, const char* key, ExportContext& context) const;
/haiku/src/servers/mail/
H A DMailDaemonApplication.cpp71 status_t MarkAsRead(const entry_ref& ref, read_flags flag) argument
74 message.AddRef("ref", &ref);
210 entry_ref ref; local
211 if (get_ref_for_path(path.Path(), &ref) == B_OK) {
213 fNotification->AddOnClickRef(&ref);
222 BNode node(&info.ref);
234 entry_ref ref; local
235 for (int32 i = 0; message->FindRef("refs", i, &ref) == B_OK; i++) {
236 BNode node(&ref);
294 entry_ref ref; local
387 entry_ref ref; local
445 entry_ref ref; local
866 entry_ref ref; local
892 entry_ref ref; local
[all...]
/haiku/src/preferences/sounds/
H A DHWindow.cpp136 entry_ref ref; local
138 if (message->FindRef("refs", &ref) == B_OK && row != NULL) {
146 BNode node(&ref);
167 BPath path(&ref);
168 msg->AddRef("refs", &ref);
173 fEventList->SetPath(BPath(&ref).Path());
189 entry_ref ref; local
190 ::get_ref_for_path(path, &ref);
192 fPlayer = new BFileGameSound(&ref, false);
253 entry_ref ref; local
385 entry_ref ref; local
419 entry_ref ref; local
[all...]
/haiku/src/bin/
H A Dnotify.cpp68 BBitmap* _GetBitmap(const entry_ref* ref) const;
149 entry_ref ref; local
151 if (get_ref_for_path(argument, &ref) != B_OK) {
156 fRefs->AddItem(new BEntry(&ref));
206 NotifyApp::_GetBitmap(const entry_ref* ref) const
209 BBitmap* bitmap = BTranslationUtils::GetBitmap(ref);
214 BNode node(BPath(ref).Path());
262 entry_ref ref; local
263 if (entry->GetRef(&ref) == B_OK)
264 notification.AddOnClickRef(&ref);
[all...]
/haiku/src/add-ons/input_server/devices/wacom/
H A DMasterServerDevice.cpp172 entry_ref ref; local
173 while (dir.GetNextRef(&ref) >= B_OK) {
174 PRINT(("examining devfs entry '%s'\n", ref.name));
176 if (strcmp(ref.name, "control") != 0) {
177 BPath path(&ref);
255 entry_ref ref(device, directory, name);
256 BPath path(&ref);
277 entry_ref ref; local
280 while (dir.GetNextRef(&ref) >= B_OK) {
281 BPath path(&ref);
[all...]
/haiku/src/apps/switcher/
H A DLaunchButton.cpp108 entry_ref ref; local
109 if (message->FindRef("refs", &ref) == B_OK) {
111 if (ref != *fRef) {
142 SetTo(&ref);
249 LaunchButton::SetTo(const entry_ref* ref) argument
255 if (ref) {
256 fRef = new entry_ref(*ref);
263 BFile file(ref, B_READ_ONLY);
297 entry_ref ref; local
298 if (be_roster->FindApp(fAppSig, &ref)
369 _UpdateIcon(const entry_ref* ref) argument
[all...]
/haiku/src/kits/tracker/
H A DRecentItems.cpp272 entry_ref ref; local
273 if (GetNextRef(&ref) != B_OK)
276 Model model(&ref, true);
308 ref = *result->EntryRef();
313 ref = *model.EntryRef();
317 // if user asked for it, return the current item ref
319 *currentItemRef = ref;
344 menu->SetNavDir(&ref);
407 BRecentFilesList::GetNextRef(entry_ref* ref) argument
423 return BRecentItemsList::GetNextRef(ref);
475 GetNextRef(entry_ref* ref) argument
499 GetNextRef(entry_ref* ref) argument
[all...]
/haiku/src/apps/diskusage/
H A DScanner.cpp131 Scanner::_DirectoryContains(FileInfo* currentDir, entry_ref* ref) argument
134 bool contains = currentDir->ref == *ref;
136 contains |= _DirectoryContains((*i), ref);
173 freeSpace->ref.set_name(string.String());
185 stringScan.ReplaceFirst("%refName%", startInfo->ref.name);
192 BDirectory startDir(&startInfo->ref);
234 entry.GetRef(&thisDir->ref);
251 entry_ref ref; local
252 if ((entry.GetRef(&ref)
[all...]
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPProtocol.cpp160 IMAPProtocol::MessageStored(IMAPFolder& folder, entry_ref& ref, argument
165 ProcessMessageFetched(ref, stream, attributes);
167 ProcessHeaderFetched(ref, stream, attributes);
169 NotifyBodyFetched(ref, stream, attributes);
212 IMAPProtocol::MarkMessageAsRead(const entry_ref& ref, read_flags flags) argument
214 printf("IMAP: mark as read %s: %d\n", ref.name, flags);
235 IMAPProtocol::HandleFetchBody(const entry_ref& ref, const BMessenger& replyTo) argument
237 printf("IMAP: fetch body %s\n", ref.name);
240 IMAPFolder* folder = _FolderFor(ref.directory);
245 status_t status = folder->GetMessageUID(ref, ui
297 entry_ref ref; local
[all...]
/haiku/src/tests/system/kernel/cache/
H A Dpages_io_test.cpp325 find_file_extent(file_cache_ref *ref, off_t offset, uint32 *_index) argument
329 for (uint32 index = 0; index < ref->map.count; index++) {
330 file_extent *extent = ref->map[index];
345 get_file_map(file_cache_ref *ref, off_t offset, size_t size, argument
351 if (ref->map.count == 0) {
355 //mutex_lock(&ref->cache->lock);
358 if (ref->map.count == 0) {
363 status = vfs_get_file_map(ref->vnode, mapOffset, ~0UL, vecs, &vecCount);
365 //mutex_unlock(&ref->cache->lock);
369 status_t addStatus = ref
445 pages_io(file_cache_ref *ref, off_t offset, const iovec *vecs, size_t count, size_t *_numBytes, bool doWrite) argument
650 file_cache_ref ref; local
[all...]
/haiku/src/build/libbe/storage/
H A DDirectory.cpp42 BDirectory::BDirectory(const entry_ref* ref) argument
46 SetTo(ref);
94 BDirectory::SetTo(const entry_ref* ref) argument
97 status_t error = _SetTo(ref, true);
102 error = set_dir_fd(_kern_open_dir_entry_ref(ref->device, ref->directory, ref->name));
121 entry_ref ref(nref->device, nref->node, ".");
122 error = SetTo(&ref);
317 entry_ref ref;
328 GetNextRef(entry_ref* ref) argument
[all...]
/haiku/src/servers/input/
H A DAddOnManager.cpp61 entry_ref ref; local
63 entryInfo->name, &ref);
64 BEntry entry(&ref, false);
72 entry_ref ref; local
74 entryInfo->name, &ref);
75 BEntry entry(&ref, false);
323 entry_ref ref; local
324 status_t status = entry.GetRef(&ref);
343 status = _RegisterDevice(device, ref, image);
348 status = _RegisterFilter(filter, ref, imag
371 entry_ref ref; local
434 _RegisterDevice(BInputServerDevice* device, const entry_ref& ref, image_id addOnImage) argument
472 _RegisterFilter(BInputServerFilter* filter, const entry_ref& ref, image_id addOnImage) argument
517 _RegisterMethod(BInputServerMethod* method, const entry_ref& ref, image_id addOnImage) argument
[all...]
/haiku/src/build/libroot/
H A Dfs_attr_generic.cpp217 get_attribute_dir_path(NodeRef ref, const char *path, int fd) argument
232 get_attribute_dir_path_needed(NodeRef ref, const char *path, int fd, argument
258 get_attribute_dir_path(NodeRef ref, const char *path, int fd) argument
262 sprintf(buffer, "/%" B_PRIdINO, ref.node);
269 get_attribute_dir_path_needed(NodeRef ref, const char *path, int fd, argument
272 _attrDirPath = get_attribute_dir_path(ref, path, fd);
282 ensure_attribute_dir_exists(NodeRef ref, const char *path, int fd) argument
290 error = get_attribute_dir_path_needed(ref, path, fd, attrDirPath);
301 (long long)ref.node);
317 open_attr_dir(NodeRef ref, cons argument
333 get_attribute_path(NodeRef ref, const char *path, int fd, const char *attribute, string &attrPath, string &typePath) argument
[all...]
/haiku/src/kits/print/
H A DFolderWatcher.cpp67 node_ref ref; local
68 fFolder.GetNodeRef(&ref);
69 watch_node(&ref, B_WATCH_DIRECTORY, this);
74 node_ref ref; local
75 fFolder.GetNodeRef(&ref);
76 watch_node(&ref, B_STOP_WATCHING, this);
/haiku/src/servers/registrar/
H A DRecentApps.cpp118 /*! \brief Adds the signature of the application referred to by \a ref at
126 RecentApps::Add(const entry_ref *ref, int32 appFlags) argument
128 if (ref == NULL)
135 status_t err = file.SetTo(ref, B_READ_ONLY);
174 entry_ref ref; local
175 if (GetRefForApp(item->c_str(), &ref) == B_OK)
176 status = list->AddRef("refs", &ref);
178 D(PRINT("WARNING: RecentApps::Get(): No ref found for app '%s'\n",
/haiku/headers/os/media/
H A DSoundFile.h26 BSoundFile(const entry_ref* ref,
32 status_t SetTo(const entry_ref* ref, uint32 openMode);
74 status_t _ref_to_file(const entry_ref* ref);
/haiku/headers/os/storage/
H A DNodeInfo.h45 status_t GetAppHint(entry_ref* ref) const;
46 status_t SetAppHint(const entry_ref* ref);
50 static status_t GetTrackerIcon(const entry_ref* ref,
H A DFilePanel.h25 virtual bool Filter(const entry_ref* ref, BNode* node,
76 void GetPanelDirectory(entry_ref* ref) const;
83 status_t GetNextSelectedRef(entry_ref* ref);
/haiku/src/apps/mail/
H A DPeople.h21 Person(const entry_ref& ref);
56 const entry_ref& ref, ino_t node);
80 const entry_ref& ref, ino_t node);
/haiku/src/tests/servers/registrar/
H A Drun_test_registrar.cpp82 entry_ref ref; local
83 while (query.GetNextRef(&ref) == B_OK) {
84 BPath path(&ref);
/haiku/src/apps/login/
H A DDesktopWindow.cpp44 entry_ref ref; local
55 get_ref_for_path(path.Path(), &ref);
58 fDesktopShelf = new BShelf(&ref, desktop, fEditShelfMode, "DesktopShelf");
/haiku/src/tests/add-ons/index_server/fulltext_search/
H A DSearchWindow.cpp97 entry_ref ref ; local
99 entry.GetRef(&ref);
100 be_roster->Launch(&ref);
/haiku/src/tests/kits/media/playsound/
H A Dplayfile.cpp60 entry_ref ref; local
62 if (get_ref_for_path(argv[1], &ref) != B_OK) {
74 playFile = new BMediaFile(&ref);

Completed in 118 milliseconds

1234567891011>>