Home
last modified time | relevance | path

Searched refs:IsLegalPath (Results 1 - 15 of 15) sorted by relevance

/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dfile_util.h33 bool IsLegalPath(const std::string& path);
/base/hiviewdfx/hiview/utility/common_utils/
H A Dcalc_fingerprint.cpp61 if (filePath.empty() || hash == nullptr || !FileUtil::IsLegalPath(filePath)) { in CalcFileSha()
76 if (filePath.empty() || hash == nullptr || !FileUtil::IsLegalPath(filePath)) { in CalcFileShaOriginal()
/base/hiviewdfx/hiview/plugins/event_store/event_export/config/
H A Dexport_config_manager.cpp57 if (!FileUtil::IsLegalPath(configDir) || !FileUtil::FileExists(configDir)) { in Init()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dfile_util.cpp89 bool IsLegalPath(const std::string& path) in IsLegalPath() function
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_adapter_native_test.cpp272 auto ret = FileUtil::IsLegalPath("aa/../bb"); in HWTEST_F()
274 ret = FileUtil::IsLegalPath("aa/./bb"); in HWTEST_F()
276 ret = FileUtil::IsLegalPath("aa/bb/"); in HWTEST_F()
278 ret = FileUtil::IsLegalPath("aa/bb/cc"); in HWTEST_F()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
H A Dlog_util.cpp106 if (file.empty() || !FileUtil::IsLegalPath(file)) { in GetFileFd()
/base/global/i18n/frameworks/intl/include/
H A Dutils.h45 bool IsLegalPath(const std::string& path);
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp453 auto ret = FileUtil::IsLegalPath("aa/../bb"); in HWTEST_F()
455 ret = FileUtil::IsLegalPath("aa/./bb"); in HWTEST_F()
457 ret = FileUtil::IsLegalPath("aa/bb/"); in HWTEST_F()
459 ret = FileUtil::IsLegalPath("aa/bb/cc"); in HWTEST_F()
/base/hiviewdfx/hiview/core/param_update/src/
H A Dlog_sign_tools.cpp74 if (path.empty() || hash == nullptr || !FileUtil::IsLegalPath(path)) { in CalcFileSha()
/base/hiviewdfx/hiview/base/utility/
H A Dfreeze_json_util.cpp59 if (!FileUtil::IsLegalPath(filePath)) { in GetFd()
H A Dfile_util.cpp398 bool IsLegalPath(const std::string& path) in IsLegalPath() function
/base/hiviewdfx/hiview/base/utility/include/
H A Dfile_util.h103 bool IsLegalPath(const std::string& path);
/base/global/i18n/frameworks/intl/src/
H A Dutils.cpp241 bool IsLegalPath(const std::string& path) in IsLegalPath() function
H A Dsignature_verifier.cpp245 if (filePath.empty() || hash == nullptr || !IsLegalPath(filePath)) { in CalcFileShaOriginal()
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp1079 IsLegalPath(destPath); in HWTEST_F()
1081 IsLegalPath(relativePath); in HWTEST_F()

Completed in 11 milliseconds