Lines Matching refs:file
214 BFile file(&ref, B_READ_ONLY);
215 BAppFileInfo info(&file);
216 if (file.InitCheck() == B_OK && info.InitCheck() == B_OK)
267 BFile file;
268 status_t status = file.SetTo(&ref, B_READ_ONLY);
272 BAppFileInfo info(&file);
1060 BFile file(&fRef, B_READ_ONLY);
1061 if (file.InitCheck() != B_OK)
1065 if (info.SetTo(&file) != B_OK)
1273 BFile file;
1277 file.SetTo(&fRef, B_READ_WRITE);
1278 if (is_application(file)) {
1279 BAppFileInfo info(&file);
1289 node.SetTo(&file);
1341 // retrieve icons from file
1342 BFile file(ref, B_READ_ONLY);
1343 BAppFileInfo info(&file);
1344 if (file.InitCheck() != B_OK || info.InitCheck() != B_OK)