Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
529 DHLOGE("The file path is invalid.");
534 DHLOGE("open file failed");
557 CHECK_AND_RETURN_RET_LOG(dumpFile == nullptr, dumpFile, "Error opening dump file!");
560 CHECK_AND_RETURN_RET_LOG(dumpFile == nullptr, dumpFile, "Error opening dump file!");
573 CHECK_AND_RETURN_LOG(writeResult != bufferSize, "Failed to write the file.");
586 CHECK_AND_RETURN_LOG(*dumpFile == nullptr, "Invalid file para");
600 void DumpFileUtil::OpenDumpFile(const std::string ¶, const std::string &fileName, FILE **file)
602 if (*file != nullptr) {
603 DumpFileUtil::ChangeDumpFileState(para, file, fileName);
608 *file = DumpFileUtil::OpenDumpFileInner(para, fileName);