Lines Matching defs:file
31 /** @file
84 file = filename;
89 stream.open(file.c_str(), mode);
106 panic("file not open!\n");
121 panic("file not open!\n");
125 panic("Could not seek to location in file");
146 panic("file not open!\n");
150 panic("Could not seek to location in file");
191 fatal("could not open read-only file");
226 panic("file not open");
229 panic("premature end-of-file");
251 CowDiskImage::open(const string &file)
253 ifstream stream(file.c_str());
258 panic("Error opening %s", file);
264 panic("Could not open %s: Invalid magic", file);
272 file, major, minor, VersionMajor, VersionMinor);
309 panic("file not open");
312 panic("premature end-of-file");
343 CowDiskImage::save(const string &file) const
348 ofstream stream(file.c_str());
350 panic("Error opening %s", file);