Searched refs:dLog (Results 1 – 5 of 5) sorted by relevance
115 const std::string dLog = "/data/updater/main_data/ut_dLog.txt"; variable116 bool ret = CopyUpdaterLogs(sLog, dLog);118 unlink(dLog.c_str());
127 const std::string dLog = "/data/updater/main_data/ut_dLog.txt"; variable128 bool ret = Utils::CopyUpdaterLogs(sLog, dLog);130 unlink(dLog.c_str());
124 const std::string dLog = "/data/updater/main_data/ut_dLog.txt"; in TestCopyUpdaterLogs() local125 Utils::CopyUpdaterLogs(sLog, dLog); in TestCopyUpdaterLogs()126 unlink(dLog.c_str()); in TestCopyUpdaterLogs()
564 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog) in CopyUpdaterLogs() argument566 std::size_t found = dLog.find_last_of("/"); in CopyUpdaterLogs()571 std::string destPath = dLog.substr(0, found); in CopyUpdaterLogs()592 while (Utils::GetFileSize(sLog) + GetDirSizeForFile(dLog) > MAX_LOG_DIR_SIZE) { in CopyUpdaterLogs()598 if (!CopyFile(sLog, dLog, true)) { in CopyUpdaterLogs()602 if (GetFileSize(dLog) >= MAX_LOG_SIZE) { in CopyUpdaterLogs()604 CompressLogs(dLog); in CopyUpdaterLogs()
77 bool CopyUpdaterLogs(const std::string &sLog, const std::string &dLog);