Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dtranslator.py82 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 Dmake_cpptoc_header.py27 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 Dmake_ctocpp_header.py64 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 Dmake_capi_header.py167 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 Dmake_cpptoc_impl.py381 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 Dmake_ctocpp_impl.py382 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 Dhmos_timezone_mount.cpp100 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 Dhdf_lite_settings_mk_file.py26 dir_path = os.path.dirname(self.file_path)
27 if not os.path.exists(dir_path):
28 os.makedirs(dir_path)
H A Dhdf_add_handler.py346 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 Dhdi_delete_handler.py115 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 Dhdf_utils.py161 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 Dstrace_log_analysis.py79 def extract_file_from_path(dir_path): argument
81 for path in dir_path:
H A Daudit_log_analysis.py121 def extract_file_from_path(dir_path): argument
123 for path in dir_path:
/ohos5.0/build/scripts/util/
H A Dbuild_utils.py54 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 Dmd5_check.py408 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 Dappfreeze_manager.cpp200 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 Dgenerate_target_build_gn.py118 _bundle_path, dir_path = _get_src_part_name(bundle_paths)
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/
H A Dvideodec_sample.h157 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 Dvideodec_ndk_sample.cpp215 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()