Home | History | Annotate | Download | only in base

Lines Matching refs:file2

85   std::ifstream file2(filename2.value().c_str(),
90 if (!file1.is_open() || !file2.is_open())
97 file2.read(buffer2, BUFFER_SIZE);
99 if ((file1.eof() != file2.eof()) ||
100 (file1.gcount() != file2.gcount()) ||
103 file2.close();
106 } while (!file1.eof() || !file2.eof());
109 file2.close();
115 std::ifstream file2(filename2.value().c_str(), std::ios::in);
119 if (!file1.is_open() || !file2.is_open())
125 getline(file2, line2);
128 if ((file1.eof() != file2.eof()) ||
129 file1.bad() || file2.bad()) {
148 } while (!file1.eof() || !file2.eof());