Home
last modified time | relevance | path

Searched refs:pPath (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
Dlog_persister_rotator.cpp115 std::string pPath(ent->d_name, length); in RemoveOldFile() local
116 if (IsOldFile(pPath, m_currentLogFileIdx)) { in RemoveOldFile()
117 remove((HILOG_FILE_DIR + pPath).c_str()); in RemoveOldFile()
Dservice_controller.cpp910 std::string pPath(ent->d_name, length); in RestorePersistJobs() local
911 if (length >= INFO_SUFFIX && pPath.substr(length - INFO_SUFFIX, length) == ".info") { in RestorePersistJobs()
912 if (pPath == "hilog.info") { in RestorePersistJobs()
915 std::cout << " Found a persist job! Path: " << LOG_PERSISTER_DIR + pPath << "\n"; in RestorePersistJobs()
916 FILE* infile = fopen((LOG_PERSISTER_DIR + pPath).c_str(), "r"); in RestorePersistJobs()