Lines Matching refs:file
46 // supplied file.
47 BResources::BResources(const BFile* file, bool clobber)
55 SetTo(file, clobber);
60 // file referenced by the supplied path.
74 // file referenced by the supplied ref.
96 // the supplied file.
98 BResources::SetTo(const BFile* file, bool clobber)
102 if (file) {
103 error = file->InitCheck();
105 fFile = *file;
134 // the file referred to by the supplied path.
141 // open file
142 BFile file;
143 status_t error = file.SetTo(path, B_READ_WRITE);
145 error = file.SetTo(path, B_READ_ONLY);
152 return SetTo(&file, clobber);
157 // file referenced by the supplied ref.
164 // open file
165 BFile file;
166 status_t error = file.SetTo(ref, B_READ_WRITE);
168 error = file.SetTo(ref, B_READ_ONLY);
175 return SetTo(&file, clobber);
180 // the file from which the specified image has been loaded.
202 // the file from which the specified pointer has been loaded.
340 // Writes all changes to the resources to the file.
361 // Adds the resources of fromFile to the internal file of the
384 // Writes the resources to a new file.
386 BResources::WriteTo(BFile* file)
388 status_t error = (file ? B_OK : B_BAD_VALUE);
396 // set the new file, but keep the old container
401 error = SetTo(file, false);
414 // Adds a new resource to the file.
447 // Returns whether the file contains a resource with the specified
456 // Returns whether the file contains a resource with the specified