Searched refs:IsLegalPath (Results 1 – 10 of 10) sorted by relevance
61 if (filePath.empty() || hash == nullptr || !FileUtil::IsLegalPath(filePath)) { in CalcFileSha()76 if (filePath.empty() || hash == nullptr || !FileUtil::IsLegalPath(filePath)) { in CalcFileShaOriginal()
34 bool IsLegalPath(const std::string& path);
271 auto ret = FileUtil::IsLegalPath("aa/../bb");273 ret = FileUtil::IsLegalPath("aa/./bb");275 ret = FileUtil::IsLegalPath("aa/bb/");277 ret = FileUtil::IsLegalPath("aa/bb/cc");
401 auto ret = FileUtil::IsLegalPath("aa/../bb");403 ret = FileUtil::IsLegalPath("aa/./bb");405 ret = FileUtil::IsLegalPath("aa/bb/");407 ret = FileUtil::IsLegalPath("aa/bb/cc");
107 bool IsLegalPath(const std::string& path) in IsLegalPath() function
106 if (file.empty() || !FileUtil::IsLegalPath(file)) { in GetFileFd()
100 bool IsLegalPath(const std::string& path);
59 if (!FileUtil::IsLegalPath(filePath)) { in GetFd()
368 bool IsLegalPath(const std::string& path) in IsLegalPath() function
138 …"OHOS::HiviewDFX::FileUtil::IsLegalPath(std::__h::basic_string<char, std::__h::char_traits<char>, …