Searched refs:file1 (Results 1 – 1 of 1) sorted by relevance
146 std::unique_ptr<File> file1(OS::OpenFileForReading(filename1.c_str())); in CompareFiles() local149 if (file1 == nullptr || file2 == nullptr) { in CompareFiles()153 if (file1->GetLength() <= 0 || file2->GetLength() != file1->GetLength()) { in CompareFiles()156 return file1->Compare(file2.get()) == 0; in CompareFiles()