/ohos5.0/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | translator.py | 82 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'capi') 87 sys.stdout.write('In C API header directory ' + dir_path + '...\n') 96 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'cpptoc') 101 sys.stdout.write('In CppToC directory ' + dir_path + '...\n') 116 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'ctocpp') 121 sys.stdout.write('In CToCpp directory ' + dir_path + '...\n')
|
H A D | make_cpptoc_header.py | 27 def make_cpptoc_header_file(header, dir_path, dir_name, class_name): argument 66 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'cpptoc')
|
H A D | make_ctocpp_header.py | 64 def make_ctocpp_header_file(header, dir_path, dir_name, class_name): argument 112 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'ctocpp')
|
H A D | make_capi_header.py | 167 def make_capi_header_file(header, dir_path, dir_name, file_name): argument 207 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'capi')
|
H A D | make_cpptoc_impl.py | 381 def make_cpptoc_impl_file(header, dir_path, dir_name, clsname): argument 402 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'cpptoc')
|
H A D | make_ctocpp_impl.py | 382 def make_ctocpp_impl_file(header, dir_path, dir_name, clsname): argument 399 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'ctocpp')
|
/ohos5.0/base/global/i18n/services/src/ |
H A D | hmos_timezone_mount.cpp | 100 void ensureDirectoryExists(const std::filesystem::path& dir_path) in ensureDirectoryExists() argument 103 if (!std::filesystem::exists(dir_path)) { in ensureDirectoryExists() 104 HILOG_ERROR_I18N("Directory does not exist: %{public}s", dir_path.c_str()); in ensureDirectoryExists() 105 std::filesystem::create_directories(dir_path, ec); in ensureDirectoryExists() 107 … HILOG_ERROR_I18N("Failed to create directory: %{public}s, Error: %{public}s", dir_path.c_str(), in ensureDirectoryExists() 113 void clearPath(const std::filesystem::path& dir_path) in clearPath() argument 116 for (const auto& entry : std::filesystem::directory_iterator(dir_path)) { in clearPath()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_lite_settings_mk_file.py | 26 dir_path = os.path.dirname(self.file_path) 27 if not os.path.exists(dir_path): 28 os.makedirs(dir_path)
|
H A D | hdf_add_handler.py | 346 dir_path = os.path.join(root, dir_name) 347 if len(dir_path.split(os.path.sep)) == parent_depth + 1: 349 if len(dir_path.split(os.path.sep)) == parent_depth + 2: 350 dir_dict.get(dir_path.split(os.path.sep)[-2]).append(dir_name)
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_delete_handler.py | 115 dir_path = os.path.join(pre_handler, pre_handler_file_list[0]) 116 while True and os.path.isdir(dir_path): 117 temp_list = os.listdir(dir_path) 119 dir_path = os.path.join(dir_path, temp_list[0])
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
H A D | hdf_utils.py | 161 def create_dirs(dir_path): argument 162 if dir_path and not os.path.exists(dir_path): 164 os.makedirs(dir_path) 166 raise HdfToolException('create dirs fail: %s' % dir_path) 367 def template_filename_filtrate(dir_path, kernal): argument 369 for filename in os.listdir(dir_path):
|
/ohos5.0/base/startup/init/services/modules/seccomp/scripts/tools/ |
H A D | strace_log_analysis.py | 79 def extract_file_from_path(dir_path): argument 81 for path in dir_path:
|
H A D | audit_log_analysis.py | 121 def extract_file_from_path(dir_path): argument 123 for path in dir_path:
|
/ohos5.0/build/scripts/util/ |
H A D | build_utils.py | 54 def make_directory(dir_path): argument 56 os.makedirs(dir_path, exist_ok=True) 61 def delete_directory(dir_path): argument 62 if os.path.exists(dir_path): 63 shutil.rmtree(dir_path)
|
H A D | md5_check.py | 408 def _update_md5_for_directory(md5, dir_path): argument 409 for root, _, files in os.walk(dir_path):
|
/ohos5.0/foundation/ability/ability_runtime/services/appdfr/src/ |
H A D | appfreeze_manager.cpp | 200 std::string dir_path = LOG_FILE_PATH + "/freeze"; in WriteToFile() local 202 if (!OHOS::FileExists(dir_path)) { in WriteToFile() 203 OHOS::ForceCreateDirectory(dir_path); in WriteToFile() 204 OHOS::ChangeModeDirectory(dir_path, defaultLogDirMode); in WriteToFile() 207 if (!OHOS::PathToRealPath(dir_path, realPath)) { in WriteToFile() 208 TAG_LOGE(AAFwkTag::APPDFR, "PathToRealPath Failed:%{public}s", dir_path.c_str()); in WriteToFile()
|
/ohos5.0/build/indep_configs/scripts/ |
H A D | generate_target_build_gn.py | 118 _bundle_path, dir_path = _get_src_part_name(bundle_paths)
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/ |
H A D | videodec_sample.h | 157 std::vector<std::string> find_files(const std::string& dir_path, const std::string& extension);
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 215 std::vector<std::string> find_files(const std::string& dir_path, const std::string& extension) in find_files() argument 218 for (const auto& entry : std::filesystem::directory_iterator(dir_path)) { in find_files()
|