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

1234567891011>>

/haiku-fatelf/src/apps/stylededit/
H A DStyledEditApp.cpp181 StyledEditApp::OpenDocument(entry_ref* ref, BMessage* message) argument
184 BEntry entry(ref, true);
185 entry.GetRef(ref);
216 if (document->IsDocumentEntryRef(ref)) {
228 document = new StyledEditWindow(gWindowRect, ref, fOpenAsEncoding);
255 entry_ref ref; local
257 while (message->FindRef("refs", index, &ref) == B_OK) {
280 OpenDocument(&ref, selection);
313 entry_ref ref; local
314 get_ref_for_path(path.Path(), &ref);
[all...]
/haiku-fatelf/src/apps/cortex/MediaRoutingView/
H A DMediaNodePanel.cpp98 ref(nodeRef),
104 ASSERT(ref);
180 if (ref->kind() & B_CONTROLLABLE) {
301 if (ref->kind() & B_BUFFER_CONSUMER)
304 ref->getFreeInputs(freeInputs);
310 if (ref->kind() & B_BUFFER_PRODUCER)
313 ref->getFreeOutputs(freeOutputs);
338 if (ref->kind() & B_BUFFER_CONSUMER)
341 ref->getFreeInputs(freeInputs);
350 if (ref
[all...]
/haiku-fatelf/src/build/libroot/
H A Dfs_descriptors.cpp62 Descriptor::GetNodeRef(NodeRef &ref) argument
69 ref = NodeRef(st);
137 DirectoryDescriptor::DirectoryDescriptor(DIR *dir, const NodeRef &ref) argument
140 this->ref = ref;
176 clone = new DirectoryDescriptor(dupDir, ref);
202 DirectoryDescriptor::GetNodeRef(NodeRef &ref) argument
204 ref = this->ref;
409 AttrDirDescriptor::AttrDirDescriptor(DIR *dir, const NodeRef &ref) argument
452 GetNodeRef(NodeRef &ref) argument
[all...]
/haiku-fatelf/src/kits/tracker/
H A DNavigator.cpp235 entry_ref ref; local
236 if (message->FindRef("refs", &ref) == B_OK) {
238 BEntry entry(&ref, true);
240 entry.GetRef(&ref);
241 BPath path(&ref);
243 get_ref_for_path(path.Path(), &ref);
245 message.AddRef("refs", &ref);
295 entry_ref ref; local
297 if (entry->GetRef(&ref) == B_OK) {
299 message.AddRef("refs", &ref);
353 entry_ref ref; local
[all...]
H A DRecentItems.cpp257 entry_ref ref; local
258 if (GetNextRef(&ref) != B_OK)
261 Model model(&ref, true);
295 ref = *result->EntryRef();
300 ref = *model.EntryRef();
304 // if user asked for it, return the current item ref
306 *currentItemRef = ref;
331 menu->SetNavDir(&ref);
394 BRecentFilesList::GetNextRef(entry_ref* ref) argument
408 return BRecentItemsList::GetNextRef(ref);
460 GetNextRef(entry_ref* ref) argument
483 GetNextRef(entry_ref* ref) argument
[all...]
/haiku-fatelf/src/apps/cortex/RouteApp/
H A DRouteAppNodeManager.cpp118 NodeRef* ref; local
119 status_t err = getNodeRef(nodeID, &ref);
123 return mediaIconFor(ref->nodeInfo(), iconSize);
169 NodeRef* ref) {
174 title << ref->name() << "' created";
179 NodeGroup* g = createGroup(ref->name());
181 if(ref->kind() & B_TIME_SOURCE) {
184 m.AddInt32("nodeID", ref->id());
194 BTimeSource* ts = roster->MakeTimeSourceFor(ref->node());
203 g->addNode(ref);
168 nodeCreated( NodeRef* ref) argument
208 nodeDeleted( const NodeRef* ref) argument
456 NodeRef* ref; local
501 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-fatelf/src/add-ons/input_server/devices/wacom/
H A DMasterServerDevice.cpp175 entry_ref ref; local
176 while (dir.GetNextRef(&ref) >= B_OK) {
177 PRINT(("examining devfs entry '%s'\n", ref.name));
179 if (strcmp(ref.name, "control") != 0) {
180 BPath path(&ref);
254 entry_ref ref(device, directory, name);
255 BPath path(&ref);
276 entry_ref ref; local
279 while (dir.GetNextRef(&ref) >= B_OK) {
280 BPath path(&ref);
[all...]
/haiku-fatelf/src/apps/diskusage/
H A DScanner.cpp132 Scanner::_DirectoryContains(FileInfo* currentDir, entry_ref* ref) argument
135 bool contains = currentDir->ref == *ref;
137 contains |= _DirectoryContains((*i), ref);
174 freeSpace->ref.set_name(string.String());
183 stringScan.ReplaceFirst("%refName%", startInfo->ref.name);
190 BDirectory startDir(&startInfo->ref);
228 entry.GetRef(&thisDir->ref);
243 entry.GetRef(&child->ref);
293 if (strcmp(pathPtr, checkDir->ref
[all...]
/haiku-fatelf/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
211 bitmap = BTranslationUtils::GetBitmap(ref);
216 BNode node(BPath(ref).Path());
264 entry_ref ref; local
265 if (entry->GetRef(&ref) == B_OK)
266 notification.AddOnClickRef(&ref);
[all...]
/haiku-fatelf/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-fatelf/src/kits/interface/
H A DDecorInfo.cpp49 DecorInfo::DecorInfo(const entry_ref& ref) argument
51 fRef(ref),
56 BPath path(&ref);
69 DecorInfo::SetTo(const entry_ref& ref) argument
73 BPath path(&ref);
75 fRef = ref;
86 entry_ref ref; local
87 entry.GetRef(&ref);
88 return SetTo(ref);
411 entry_ref ref; local
[all...]
/haiku-fatelf/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-fatelf/src/build/libbe/storage/
H A DDirectory.cpp52 \param ref the entry_ref referring to the directory
54 BDirectory::BDirectory(const entry_ref *ref) argument
59 SetTo(ref);
134 \param ref the entry_ref referring to the directory
137 - \c B_BAD_VALUE: \c NULL \a ref.
147 BDirectory::SetTo(const entry_ref *ref) argument
150 status_t error = _SetTo(ref, true);
155 error = set_dir_fd(_kern_open_dir_entry_ref(ref->device, ref->directory, ref
553 entry_ref ref; local
582 GetNextRef(entry_ref *ref) argument
[all...]
/haiku-fatelf/src/servers/input/
H A DAddOnManager.cpp60 entry_ref ref; local
62 entryInfo->name, &ref);
63 BEntry entry(&ref, false);
71 entry_ref ref; local
73 entryInfo->name, &ref);
74 BEntry entry(&ref, false);
344 entry_ref ref; local
345 status_t status = entry.GetRef(&ref);
364 status = _RegisterDevice(device, ref, image);
369 status = _RegisterFilter(filter, ref, imag
392 entry_ref ref; local
455 _RegisterDevice(BInputServerDevice* device, const entry_ref& ref, image_id addOnImage) argument
493 _RegisterFilter(BInputServerFilter* filter, const entry_ref& ref, image_id addOnImage) argument
538 _RegisterMethod(BInputServerMethod* method, const entry_ref& ref, image_id addOnImage) argument
[all...]
/haiku-fatelf/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-fatelf/src/libs/edit/
H A Dhist.c50 el->el_history.ref = NULL;
79 el->el_history.ref = ptr;
110 if (el->el_history.ref == NULL)
154 if (el->el_history.ref == NULL)
172 return history(el->el_history.ref, &ev, H_SETSIZE, num);
175 return history(el->el_history.ref, &ev, H_SETUNIQUE, num);
/haiku-fatelf/src/servers/registrar/
H A DRecentApps.cpp112 /*! \brief Adds the signature of the application referred to by \a ref at
120 RecentApps::Add(const entry_ref *ref, int32 appFlags) argument
122 if (ref == NULL)
129 status_t err = file.SetTo(ref, B_READ_ONLY);
168 entry_ref ref; local
169 if (GetRefForApp(item->c_str(), &ref) == B_OK)
170 status = list->AddRef("refs", &ref);
172 D(PRINT("WARNING: RecentApps::Get(): No ref found for app '%s'\n",
/haiku-fatelf/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-fatelf/headers/os/storage/
H A DFilePanel.h25 virtual bool Filter(const entry_ref* ref, BNode* node,
75 void GetPanelDirectory(entry_ref* ref) const;
82 status_t GetNextSelectedRef(entry_ref* ref);
H A DNodeInfo.h50 status_t GetAppHint(entry_ref* ref) const;
51 status_t SetAppHint(const entry_ref* ref);
55 static status_t GetTrackerIcon(const entry_ref* ref,
/haiku-fatelf/src/add-ons/print/transports/parallel_port/
H A DParallelTransport.cpp123 entry_ref ref;
124 while(dir.GetNextRef(&ref) == B_OK)
125 msg->AddString("port_id", ref.name);
/haiku-fatelf/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp124 entry_ref ref;
125 while(dir.GetNextRef(&ref) == B_OK)
126 msg->AddString("port_id", ref.name);
/haiku-fatelf/src/apps/login/
H A DDesktopWindow.cpp47 entry_ref ref; local
58 get_ref_for_path(path.Path(), &ref);
61 fDesktopShelf = new BShelf(&ref, desktop, fEditShelfMode, "DesktopShelf");
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.h19 FilePlaylistItem(const entry_ref& ref);
58 status_t AddRef(const entry_ref& ref);
61 status_t AddImageRef(const entry_ref& ref);

Completed in 240 milliseconds

1234567891011>>