/ohos5.0/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs_impl.c | 33 static bool IsValidPath(const char* path) in IsValidPath() function 67 if (!IsValidPath(fileName)) { in RmdirRecursive() 193 if (!IsValidPath(path) || (buf == NULL)) { in StatImpl() 205 if (!IsValidPath(src)) { in DeleteFileImpl() 217 if (!IsValidPath(src) || !IsValidPath(dest)) { in CopyFileImpl() 262 if (!IsValidPath(fileName) || (buf == NULL)) { in WriteTextFile() 290 if (!IsValidPath(fileName) || (buf == NULL)) { in WriteArrayFile() 328 if (!IsValidPath(fileName) || (text == NULL)) { in ReadFileImpl() 369 if (!IsValidPath(dirName) || (fileList == NULL)) { in GetFileListImpl() 440 if (!IsValidPath(fileName)) { in AccessImpl() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 264 return BundleFileUtils::IsValidPath(STORAGE + HAP_CODE_PATH, codePath) || in IsValideCodePath() 265 BundleFileUtils::IsValidPath(SDCARD + HAP_CODE_PATH, codePath); in IsValideCodePath() 273 return BundleFileUtils::IsValidPath(STORAGE + HAP_DATA_PATH, dataPath) || in IsValideDataPath() 274 BundleFileUtils::IsValidPath(SDCARD + HAP_DATA_PATH, dataPath); in IsValideDataPath() 282 return BundleFileUtils::IsValidPath(STORAGE + JSON_PATH, jsonPath); in IsValideJsonPath() 290 return BundleFileUtils::IsValidPath(SYSTEM_HAP_PATH, path) || in IsValideSystemPath() 291 BundleFileUtils::IsValidPath(THIRD_HAP_PATH, path); in IsValideSystemPath()
|
H A D | bundle_file_utils.cpp | 176 bool BundleFileUtils::IsValidPath(const std::string &rootDir, const std::string &path) in IsValidPath() function in OHOS::BundleFileUtils
|
/ohos5.0/base/security/huks/utils/file_operator/ |
H A D | hks_file_operator.c | 79 static int32_t IsValidPath(const char *path) in IsValidPath() function 253 if (IsValidPath(fullFileName) != HKS_SUCCESS) { in HksFileRemove() 270 if (IsValidPath(fullFileName) != HKS_SUCCESS) { in HksIsFileExist() 283 if (IsValidPath(path) != HKS_SUCCESS) { in HksIsDirExist() 291 if (IsValidPath(path) != HKS_SUCCESS) { in HksMakeDir() 309 if (IsValidPath(path) != HKS_SUCCESS) { in HksOpenDir() 344 if (IsValidPath(dirPath) != HKS_SUCCESS) { in HksRemoveDir() 449 if (IsValidPath(path) != HKS_SUCCESS) { in HksDeleteDir() 497 if (IsValidPath(fullFileName) != HKS_SUCCESS) { in HksFileRead() 516 if (IsValidPath(fullFileName) != HKS_SUCCESS) { in HksFileWrite() [all …]
|
/ohos5.0/foundation/ability/dmsfwk/common/test/unittest/src/ |
H A D | distributed_sched_utils_test.cpp | 64 EXPECT_FALSE(IsValidPath(inFilePath, realFilePath)); 68 EXPECT_FALSE(IsValidPath(inFilePath, realFilePath)); 87 EXPECT_TRUE(IsValidPath(inFilePath, realFilePath));
|
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | tls_utils.cpp | 27 bool IsValidPath(const std::string &filePath) in IsValidPath() function 40 if (!IsValidPath(tmpPath)) { in CheckFilePath()
|
/ohos5.0/base/request/request/frameworks/js/napi/src/upload/ |
H A D | obtain_file.cpp | 94 bool ObtainFile::IsValidPath(const std::string &filePath) in IsValidPath() function in OHOS::Request::Upload::ObtainFile 130 if (!IsValidPath(filePath)) { in GetInternalFile()
|
/ohos5.0/foundation/multimodalinput/input/util/common/src/ |
H A D | util.cpp | 273 static bool IsValidPath(const std::string &rootDir, const std::string &filePath) in IsValidPath() function 280 return IsValidPath(DATA_PATH, filePath) || IsValidPath(INPUT_PATH, filePath); in IsValidJsonPath() 285 return IsValidPath(KEY_PATH, filePath); in IsValidProPath() 290 return IsValidPath(KEY_PATH, filePath); in IsValidTomlPath()
|
/ohos5.0/base/hiviewdfx/hiview_lite/ |
H A D | hiview_file.c | 276 int IsValidPath(const char *path) in IsValidPath() function 297 if (path == NULL || IsValidPath(path) != 0) { in RegisterFileWatcher() 317 if (IsValidPath(fp->outPath) == 0) { in UnRegisterFileWatcher()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/ |
H A D | bundle_file_utils.h | 39 static bool IsValidPath(const std::string &rootDir, const std::string &path);
|
/ohos5.0/foundation/ability/dmsfwk/common/include/ |
H A D | distributed_sched_utils.h | 29 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath);
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/common/include/ |
H A D | sandbox_helper.h | 40 static bool IsValidPath(const std::string &path);
|
/ohos5.0/foundation/ability/dmsfwk/common/src/ |
H A D | distributed_sched_utils.cpp | 60 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath) in IsValidPath() function 129 (g_continueCfgFullPath.empty() || !IsValidPath(tempPath, g_continueCfgFullPath))) { in LoadContinueConfig() 150 if (!IsValidPath(tempPath, g_continueCfgFullPath)) { in LoadContinueConfig()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_file.h | 62 bool IsValidPath(const BASE_NS::string_view path); in CORE_BEGIN_NAMESPACE()
|
H A D | std_file.cpp | 101 bool StdFile::IsValidPath(const string_view /* path */) in IsValidPath() function in StdFile
|
/ohos5.0/base/request/request/frameworks/js/napi/include/upload/ |
H A D | obtain_file.h | 45 bool IsValidPath(const std::string &filePath);
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/ |
H A D | app_domain_verify_mgr_client.cpp | 200 bool AppDomainVerifyMgrClient::IsValidPath(const std::string& path) in IsValidPath() function in OHOS::AppDomainVerify::AppDomainVerifyMgrClient 242 if (!IsValidPath(segments[0])) { in IsValidUrl()
|
/ohos5.0/base/msdp/device_status/utils/common/src/ |
H A D | util.cpp | 265 bool IsValidPath(const std::string &rootDir, const std::string &filePath) in IsValidPath() function 272 return IsValidPath(SVG_PATH, filePath); in IsValidSvgPath()
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/include/ |
H A D | app_domain_verify_mgr_client.h | 145 bool IsValidPath(const std::string& url);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/ |
H A D | verify_manager_host_impl.cpp | 43 bool IsValidPath(const std::string &path) in IsValidPath() function 300 if (!IsValidPath(abcPath)) { in CheckFileParam() 500 if (!IsValidPath(path)) { in DeleteAbc()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/ |
H A D | remote_file_share.cpp | 225 if (!SandboxHelper::IsValidPath(PACKAGE_PATH)) { in CreateSharePath() 282 if (!SandboxHelper::IsValidPath(sandboxPath) || uri.GetScheme() != FILE_SCHEME) { in GetPhysicalPath() 494 if (!SandboxHelper::IsValidPath(sandboxPath) || uri.GetScheme() != FILE_SCHEME) { in TransRemoteUriToLocal()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_operator_test.cpp | 742 auto ret = InstalldOperator::IsValidPath("", ""); 744 ret = InstalldOperator::IsValidPath("/test/", ""); 746 ret = InstalldOperator::IsValidPath("/test", ""); 748 ret = InstalldOperator::IsValidPath("..test", ""); 750 ret = InstalldOperator::IsValidPath("//", "..");
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/ |
H A D | file_share.cpp | 143 if (!SandboxHelper::IsValidPath(shareRPath) || !SandboxHelper::IsValidPath(shareRWPath)) { in GetSharePath()
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | util.h | 154 bool IsValidPath(const std::string &rootDir, const std::string &filePath);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/ |
H A D | extend_resource_manager_host_impl.cpp | 46 bool IsValidPath(const std::string &path) in IsValidPath() function 141 if (!IsValidPath(filePath)) { in CheckFileParam()
|