Lines Matching refs:entry

152 	BEntry entry(addOnRef);
154 status_t result = entry.InitCheck();
158 result = entry.GetPath(&path);
190 BEntry entry;
198 entry = BEntry(&addOnRef);
199 result = entry.InitCheck();
203 result = entry.GetPath(&path);
270 BEntry entry(&addOnRef);
272 status_t result = entry.InitCheck();
274 result = entry.GetPath(&path);
615 BEntry entry(model->EntryRef());
617 if (entry.InitCheck() == B_OK) {
620 fIsPrinters = FSIsPrintersDir(&entry);
1442 BEntry entry;
1443 if (entry.SetTo(&ref) != B_OK)
1454 opener.SetTo(&entry, false);
1459 fIsTrash = FSIsTrashDir(&entry);
1513 BEntry entry(&ref, true);
1515 if (!FSIsPrintersDir(&entry)) {
1516 if (entry.InitCheck() == B_OK
1517 && entry.IsDirectory()) {
1518 Model targetModel(&entry, true, false);
1764 BContainerWindow::IsShowing(const entry_ref* entry) const
1766 return PoseView()->Represents(entry);
2140 BEntry entry;
2141 if (entry.SetTo(ref) != B_OK)
2145 Model model(&entry);
2154 if (entry.SetTo(model.EntryRef(), true) != B_OK)
2157 Model resolvedModel(&entry);
2161 entry.GetRef(&resolvedRef);
2175 fNavigationItem->SetEntry(&entry);
2295 BEntry entry;
2312 if (entry.SetTo(ref) == B_OK
2313 && entry.GetParent(&entry) == B_OK
2314 && model.SetTo(&entry) == B_OK) {
2330 if (entry.SetTo(path.Path()) == B_OK
2331 && model.SetTo(&entry) == B_OK) {
2344 if (directory.InitCheck() == B_OK && directory.GetEntry(&entry) == B_OK
2345 && model.SetTo(&entry) == B_OK) {
2352 && entry.SetTo(path.Path()) == B_OK && model.SetTo(&entry) == B_OK) {
2366 && directory.GetEntry(&entry) == B_OK
2367 && model.SetTo(&entry) == B_OK) {
2382 && directory.GetEntry(&entry) == B_OK
2383 && model.SetTo(&entry) == B_OK) {
2439 BEntry entry;
2440 if (entry.SetTo(item_ref) != B_OK)
2443 Model tempModel(&entry);
2569 BEntry entry;
2570 model.GetEntry(&entry);
2584 if (!FSIsPrintersDir(&entry)
3105 BEntry entry(TargetModel()->EntryRef());
3107 bool parentIsRoot = (entry.GetParent(&parent) == B_OK
3108 && parent.GetEntry(&entry) == B_OK
3109 && FSIsRootDir(&entry));
3427 // Check if we already have an entry for this MIME type in the menu.
3728 BEntry entry(TargetModel()->EntryRef());
3730 if (FSGetParentVirtualDirectoryAware(entry, parent) == B_OK
4135 BEntry entry;
4137 TargetModel()->GetEntry(&entry);
4140 err = entry.GetParent(&entry);
4145 entry.GetName(name);
4150 entry.GetNodeRef(&ref);
4255 WindowStateNodeOpener::SetTo(const BEntry* entry, bool forWriting)
4262 fNode = new BFile(entry, (uint32)(forWriting ? O_RDWR : O_RDONLY));