Lines Matching refs:file
99 // ownership of both. The file may need to
125 status_t Init(BPositionIO* file, bool keepFile,
172 status_t _Init(BPositionIO* file, bool keepFile);
432 ReaderImplBase::Init(BPositionIO* file, bool keepFile, Header& header, uint32 flags)
434 status_t error = _Init(file, keepFile);
438 // get the file size
444 "Error: Failed to get size of %s file: %s\n",
449 // Might be a stream. We only use the file size for checking the total
454 // validate file is longer than header (when not a stream)
456 ErrorOutput()->PrintError("Error: Invalid %s file: Length shorter than "
469 ErrorOutput()->PrintError("Error: Invalid %s file: Invalid "
477 ErrorOutput()->PrintError("Error: Invalid/unsupported %s file "
490 ErrorOutput()->PrintError("Error: Invalid %s file: Invalid header "
498 ErrorOutput()->PrintError("Error: Invalid %s file: Total size in "
499 "header (%" B_PRIu64 ") doesn't agree with total file size (%"
509 ErrorOutput()->PrintError("Error: Invalid %s file: Heap size in "
510 "header (%" B_PRIu64 ") doesn't agree with total file size (%"