Home
last modified time | relevance | path

Searched refs:ChangeModeFile (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Ddirectory_ex.h128 bool ChangeModeFile(const std::string& fileName, const mode_t& mode);
H A Ddirectory_ex.cpp240 bool ChangeModeFile(const string& fileName, const mode_t& mode) in ChangeModeFile() function
/ohos5.0/foundation/multimedia/image_framework/mock/native/include/
H A Ddirectory_ex.h104 bool ChangeModeFile(const std::string& fileName, const mode_t& mode);
/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Ddirectory_ex.rs91 pub fn ChangeModeFile(fileName: &CxxString, mode: &u32) -> bool; in ChangeModeFile() function
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_directory_test.rs182 ret = directory_ex::ffi::ChangeModeFile(&txt, &mode); in test_get_folder_size_001()
198 let ret = directory_ex::ffi::ChangeModeFile(&dirpath, &mode); in test_change_mode_file_001()
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/directory_fuzzer/
H A Ddirectory_fuzzer.cpp65 ChangeModeFile(fileFullPath, mode); in DirectoryTestFunc()
/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dfile_utils.rs35 let ret = directory_ex::ffi::ChangeModeFile(&dirpath, &mode); in change_default_mode_file()
/ohos5.0/commonlibrary/c_utils/base/include/
H A Ddirectory_ex.h147 bool ChangeModeFile(const std::string& fileName, const mode_t& mode);
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-directory.md25 |bool |**ChangeModeFile**(const std::string& fileName, const mode_t& mode)<br> 更改输入文档的权限。 |
H A Dc_utils_guide_rust_directory.md34 |bool |**ChangeModeFile**(fileName: &CxxString, mode: &u32)<br> 更改输入文档的权限。 |
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dfile_operator.cpp82 if (!ChangeModeFile(path, S_IRUSR | S_IWUSR)) { in InputFileByPathAndContent()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/
H A Dexport_json_file_writer.cpp218 if (bool ret = FileUtil::ChangeModeFile(dest, EVENT_EXPORT_FILE_MODE); !ret) { in ZipDbFile()
260 if (!FileUtil::ChangeModeFile(dir, EVENT_EXPORT_DIR_MODE)) { in GetZipFile()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/directory_benchmark_test/
H A Ddirectory_benchmark_test.cpp371 ret = ChangeModeFile(dirpath + "test.txt", mode); in BENCHMARK_F()
394 bool ret = ChangeModeFile(dirpath + "test.txt", mode); in BENCHMARK_F()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_directory_test.cpp468 ret = ChangeModeFile(dirpath + "test.txt", mode);
487 bool ret = ChangeModeFile(dirpath + "test.txt", mode);
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dfile_util.h90 bool ChangeModeFile(const std::string& fileName, const mode_t& mode);
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dinstall_plugin.cpp98 if (!OHOS::ChangeModeFile(HAP_DIRECTORY, mode)) { in CreateDirectory()
/ohos5.0/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp307 … (void)FileUtil::ChangeModeFile(GenerateLogFileName(caseName, SUFFIX_0), FileUtil::FILE_PERM_755);
310 … (void)FileUtil::ChangeModeFile(GenerateLogFileName(caseName, SUFFIX_0), FileUtil::FILE_PERM_660);
/ohos5.0/base/account/os_account/frameworks/common/file_operator/src/
H A Daccount_file_operator.cpp251 if (!ChangeModeFile(path, S_IRUSR | S_IWUSR)) { in InputFileByPathAndContent()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp565 if (!OHOS::ChangeModeFile(path, mode)) { in ExtractTargetHnpFile()
652 if (!OHOS::ChangeModeFile(path, mode)) { in ExtractTargetFile()
1726 if (!OHOS::ChangeModeFile(destPath, mode)) { in MoveFile()
1765 if (!OHOS::ChangeModeFile(filePath, mode)) { in ExtractResourceFiles()
1839 if (!OHOS::ChangeModeFile(realDestinedDir, mode)) { in CopyDriverSoFiles()
H A Dinstalld_host_impl.cpp1130 if (!OHOS::ChangeModeFile(newPath, mode)) { in CopyFile()
1939 if (!OHOS::ChangeModeFile(targetPath, mode)) { in MoveHapToCodeDir()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dfile_util.cpp207 bool ChangeModeFile(const string& fileName, const mode_t& mode) in ChangeModeFile() function
/ohos5.0/commonlibrary/c_utils/base/src/
H A Ddirectory_ex.cpp364 bool ChangeModeFile(const string& fileName, const mode_t& mode) in ChangeModeFile() function
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp398 if (!OHOS::ChangeModeFile(tempDir, mode)) { in CreateTempDir()
770 if (!OHOS::ChangeModeFile(dir, mode)) { in CreateDir()
/ohos5.0/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_daemon.cpp714 if (!ChangeModeFile(path, FAULTLOG_FILE_PROP)) { in CreateFileForRequest()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Dlibhiviewbase.map424 …"OHOS::HiviewDFX::FileUtil::ChangeModeFile(std::__h::basic_string<char, std::__h::char_traits<char…