Searched refs:sourceFile (Results 1 – 7 of 7) sorted by relevance
/base/theme/wallpaper_mgr/utils/include/ |
D | file_deal.h | 30 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/ |
D | file_deal.cpp | 56 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/ |
D | extract_rule.cpp | 157 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/ |
D | hiview_service_ability.cpp | 225 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/ |
D | log_util.cpp | 124 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/ |
D | log_util.h | 50 static bool IsTestModel(const std::string& sourceFile, const std::string& name,
|
/base/hiviewdfx/hiview/utility/smart_parser/rule/include/ |
D | extract_rule.h | 42 …bool IsMatchPath(const std::string& sourceFile, const std::string& name, const std::string& patter…
|