Lines Matching defs:line
986 // Formats a source file path and a line number as they would appear
988 GTEST_API_ ::std::string FormatFileLocation(const char* file, int line) {
991 if (line < 0) {
995 return file_name + "(" + StreamableToString(line) + "):";
997 return file_name + ":" + StreamableToString(line) + ":";
1007 int line) {
1010 if (line < 0)
1013 return file_name + ":" + StreamableToString(line);
1016 GTestLog::GTestLog(GTestLogSeverity severity, const char* file, int line)
1023 << marker << " " << FormatFileLocation(file, line).c_str()