Searched refs:restore (Results 1 - 5 of 5) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | log_persister.h | 60 int Init(const PersistRecoveryInfo& msg, bool restore); 81 int InitFileRotator(const PersistRecoveryInfo& msg, bool restore); 86 int PrepareUncompressedFile(const std::string& parentPath, bool restore);
|
H A D | log_persister_rotator.h | 49 int Init(const PersistRecoveryInfo& info, bool restore = false);
|
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_persister.cpp | 105 int LogPersister::InitFileRotator(const PersistRecoveryInfo& info, bool restore) in InitFileRotator() argument 124 return m_fileRotator->Init(info, restore); in InitFileRotator() 127 int LogPersister::Init(const PersistRecoveryInfo& info, bool restore) in Init() argument 156 int ret = InitFileRotator(info, restore); in Init() 161 if (int result = PrepareUncompressedFile(parentPath, restore)) { in Init() 194 int LogPersister::PrepareUncompressedFile(const std::string& parentPath, bool restore) in PrepareUncompressedFile() argument 198 FILE* plainTextFile = fopen(m_plainLogFilePath.c_str(), restore ? "r+" : "w+"); in PrepareUncompressedFile() 206 if (!restore) { in PrepareUncompressedFile() 222 if (restore) { in PrepareUncompressedFile()
|
H A D | log_persister_rotator.cpp | 63 int LogPersisterRotator::Init(const PersistRecoveryInfo& info, bool restore) in Init() argument 72 SetFileIndex(m_info.index, restore); in Init()
|
H A D | service_controller.cpp | 582 int StartPersistStoreJob(const PersistRecoveryInfo& info, HilogBuffer& hilogBuffer, bool restore) in StartPersistStoreJob() argument 588 int ret = persister->Init(info, restore); in StartPersistStoreJob()
|
Completed in 4 milliseconds