Home
last modified time | relevance | path

Searched refs:sourceFile (Results 1 – 7 of 7) sorted by relevance

/base/theme/wallpaper_mgr/utils/include/
Dfile_deal.h30 static bool CopyFile(const std::string &sourceFile, const std::string &newFile);
31 static bool DeleteFile(const std::string &sourceFile);
/base/theme/wallpaper_mgr/utils/src/
Dfile_deal.cpp56 bool FileDeal::CopyFile(const std::string &sourceFile, const std::string &newFile) in CopyFile() argument
61 in.open(sourceFile.c_str(), std::ios::binary); in CopyFile()
81 bool FileDeal::DeleteFile(const std::string &sourceFile) in DeleteFile() argument
83 if (remove(sourceFile.c_str()) < 0) { in DeleteFile()
/base/hiviewdfx/hiview/utility/smart_parser/rule/
Dextract_rule.cpp157 bool ExtractRule::IsMatchPath(const string& sourceFile, const string& name, const string& pattern, in IsMatchPath() argument
161 sourceFile.c_str(), name.c_str(), pattern.c_str()); in IsMatchPath()
162 desPath = sourceFile; in IsMatchPath()
164 if (LogUtil::IsTestModel(sourceFile, name, pattern, desPath)) { in IsMatchPath()
179 if (regex_match(sourceFile, result, regex(out + part))) { in IsMatchPath()
180 out = ((*(sourceFile.rbegin())) == '/') ? sourceFile : (sourceFile + "/"); in IsMatchPath()
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_service_ability.cpp225 std::string sourceFile = configInfoPtr->path + logName; in CopyOrMoveFile() local
226 if (!FileUtil::FileExists(sourceFile)) { in CopyOrMoveFile()
231 return isMove ? service->Move(sourceFile, fullPath) : service->Copy(sourceFile, fullPath); in CopyOrMoveFile()
249 std::string sourceFile = configInfoPtr->path + logName; in Remove() local
250 if (!FileUtil::FileExists(sourceFile)) { in Remove()
254 return service->Remove(sourceFile); in Remove()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dlog_util.cpp124 bool LogUtil::IsTestModel(const string& sourceFile, const string& name, in IsTestModel() argument
129 std::string sourceFileName = StringUtil::GetRrightSubstr(sourceFile, "/"); in IsTestModel()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/include/
Dlog_util.h50 static bool IsTestModel(const std::string& sourceFile, const std::string& name,
/base/hiviewdfx/hiview/utility/smart_parser/rule/include/
Dextract_rule.h42 …bool IsMatchPath(const std::string& sourceFile, const std::string& name, const std::string& patter…