Lines Matching refs:file1
83 std::ifstream file1(filename1.value().c_str(),
90 if (!file1.is_open() || !file2.is_open())
96 file1.read(buffer1, BUFFER_SIZE);
99 if ((file1.eof() != file2.eof()) ||
100 (file1.gcount() != file2.gcount()) ||
101 (memcmp(buffer1, buffer2, file1.gcount()))) {
102 file1.close();
106 } while (!file1.eof() || !file2.eof());
108 file1.close();
114 std::ifstream file1(filename1.value().c_str(), std::ios::in);
119 if (!file1.is_open() || !file2.is_open())
124 getline(file1, line1);
128 if ((file1.eof() != file2.eof()) ||
129 file1.bad() || file2.bad()) {
148 } while (!file1.eof() || !file2.eof());