Searched refs:sLog (Results 1 – 3 of 3) sorted by relevance
114 const std::string sLog = "/data/updater/main_data/updater.tab"; variable116 bool ret = CopyUpdaterLogs(sLog, dLog);
450 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog) in CopyUpdaterLogs() argument477 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs()478 LOG(ERROR) << "Size bigger for" << sLog; in CopyUpdaterLogs()483 while (Utils::GetFileSize(sLog) + GetDirSizeForFile(dLog) > MAX_LOG_DIR_SIZE) { in CopyUpdaterLogs()489 if (!CopyFile(sLog, dLog, true)) { in CopyUpdaterLogs()
64 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog);