Lines Matching defs:file
69 status_t Open(BFile* file, int32 mode);
126 BFile file;
127 if (Open(&file, B_READ_ONLY) != B_OK)
134 if (file.Read(&settings, sizeof(settings)) == sizeof(settings)) {
175 BFile file;
176 if (Open(&file, B_CREATE_FILE | B_WRITE_ONLY) != B_OK)
202 file.Write(&settings, sizeof(settings));
207 Settings::Open(BFile* file, int32 mode)
215 return file->SetTo(path.Path(), mode);
273 // if not, ask the user to open a file
278 /*! Opens a window containing the file pointed to by the entry_ref.
279 This function will fail if that file doesn't exist or could not
282 file in question and will activate it in that case.
309 // Does the file really exist?
419 fprintf(stderr, B_TRANSLATE("Could not open file \"%s\": %s\n"),