• Home
  • Raw
  • Download

Lines Matching refs:line

123 bool ParseFaultLogLine(const std::list<const char **>& parseList, const std::string& line, const st…  in ParseFaultLogLine()  argument
128 if (line.find(sectionHead) != std::string::npos) { in ParseFaultLogLine()
129 if (line.at(line.size() - 1) == ':') { in ParseFaultLogLine()
135 info.sectionMap[item[LOG_MAP_KEY]] = line.substr(line.find_first_of(":") + 1); in ParseFaultLogLine()
152 std::string line; in WriteStackTraceFromLog() local
154 while (std::getline(logFile, line)) { in WriteStackTraceFromLog()
159 if (line.empty()) { in WriteStackTraceFromLog()
163 if ((line.find("----- pid") != std::string::npos) && in WriteStackTraceFromLog()
164 (line.find(pidStr) != std::string::npos)) { in WriteStackTraceFromLog()
168 if ((line.find("----- end") != std::string::npos) && in WriteStackTraceFromLog()
169 (line.find(pidStr) != std::string::npos)) { in WriteStackTraceFromLog()
170 FileUtil::SaveStringToFd(fd, line + "\n"); in WriteStackTraceFromLog()
175 FileUtil::SaveStringToFd(fd, line + "\n"); in WriteStackTraceFromLog()
238 std::string line; in ParseFaultLogInfoFromFile() local
241 while (std::getline(logFile, line)) { in ParseFaultLogInfoFromFile()
246 if (line.empty()) { in ParseFaultLogInfoFromFile()
250 if (ParseFaultLogLine(parseList, line, multline, multlineName, info)) { in ParseFaultLogInfoFromFile()
251 multline.append(line).append("\n"); in ParseFaultLogInfoFromFile()
268 std::string line; in WriteLogToFile() local
270 while (std::getline(logFile, line)) { in WriteLogToFile()
274 FileUtil::SaveStringToFd(fd, line); in WriteLogToFile()