Lines Matching defs:log
90 bool InputStream::read_full(std::ofstream *log, size_t length,
104 if (log)
105 *log << "End of file (EOF) reading from input file.\n";
121 if (log)
122 *log << "Error " << reason << " reading from input file.\n";
134 bool InputStream::read_line(std::ofstream *log, std::string &line) {
137 if (!read_full(log, 1, line))
147 bool InputStream::read_expected(std::ofstream *log, llvm::StringRef expected) {
149 if (!read_full(log, expected.size(), result))
152 if (log)
153 *log << "Warning: Expected '" << expected.str() << "', got '" << result