Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dtranslator.py81 def update_capi_file(header, dir_name, work_dir): argument
82 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'capi')
95 def update_cpptoc_file(header, dir_name, work_dir): argument
115 def update_ctocpp_file(header, dir_name, work_dir): argument
135 def translate_dir(dir_name): argument
154 update_capi_file(header, dir_name, root_dir)
157 update_cpptoc_file(header, dir_name, root_dir)
160 update_ctocpp_file(header, dir_name, root_dir)
166 for dir_name in dir_names:
167 if len(dir_name) > 0:
[all …]
H A Dmake_ctocpp_impl.py178 def ctocpp_get_static_funcion(cls, func, suffix, dir_name, retval_default): argument
185 if dir_name == 'ohos_nweb':
223 if dir_name == 'ohos_nweb':
249 def ctocpp_make_function_impl(cls, func, suffix, dir_name): argument
330 def ctocpp_make_function_body(cls, funcs, dir_name): argument
342 impl += ctocpp_make_function_impl(cls, func, suffix, dir_name)
346 def ctocpp_make_functions_body(cls, header, dir_name): argument
355 def ctocpp_make_include_files(cls, body, header, dir_name): argument
358 if dir_name == 'ohos_nweb':
382 def make_ctocpp_impl_file(header, dir_path, dir_name, clsname): argument
[all …]
H A Dmake_cpptoc_impl.py328 def cpptoc_make_include_file(cls, body, header, dir_name): argument
329 result = file_parser.format_translation_includes(header, dir_name, body)
331 if dir_name == 'ohos_nweb':
344 def cpptoc_make_class_function(cls, prefix, header, dir_name): argument
352 if dir_name == 'ohos_nweb':
367 def cpptoc_make_c_function_body(cls, header, dir_name, defined_names): argument
374 cpptoc_make_class_function(cls, prefix, header, dir_name)
377 cpptoc_make_class_function(cls, prefix, header, dir_name)
381 def make_cpptoc_impl_file(header, dir_path, dir_name, clsname): argument
388 function_body = cpptoc_make_c_function_body(cls, header, dir_name, defined_names)
[all …]
H A Dmake_cpptoc_header.py27 def make_cpptoc_header_file(header, dir_path, dir_name, class_name): argument
43 result = make_file_base.make_include_file(cls, 'CppToC', header, dir_name, class_name)
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
89 result = make_file_base.make_include_file(cls, 'CToCpp', header, dir_name, class_name)
112 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'ctocpp')
H A Dmake_file_base.py82 def make_include_file(cls, ident, header, dir_name, class_name): argument
84 capi_path = os.path.join(dir_name, 'capi', cls.get_capi_file_name())
85 include_path = os.path.join(dir_name, 'include', cls.get_file_name())
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 Dfile_parser.py187 def format_translation_includes(header, dir_name, body): argument
213 result += '#include "'+dir_name+'/cpptoc/'+directory+ \
226 result += '#include "'+dir_name+'/ctocpp/'+directory+ \
/ohos5.0/base/web/webview/
H A Dprepare.sh62 local dir_name=ohos_$1
63 rm -rf ${OHOS_GLUE_DIR}/${dir_name} && mkdir -p ${OHOS_GLUE_DIR}/${dir_name}
64 …handle_copy_dir ${INTERFACE_OHOS_GLUE_DIR}/${dir_name}/include ${OHOS_GLUE_DIR}/${dir_name}/include
65 …handle_copy_dir ${INTERFACE_OHOS_GLUE_DIR}/${dir_name}/bridge/webview ${OHOS_GLUE_DIR}/${dir_name}…
66 …handle_copy_dir ${INTERFACE_OHOS_GLUE_DIR}/${dir_name}/cpptoc/webview ${OHOS_GLUE_DIR}/${dir_name}…
67 …handle_copy_dir ${INTERFACE_OHOS_GLUE_DIR}/${dir_name}/ctocpp/webview ${OHOS_GLUE_DIR}/${dir_name}…
131 local dir_name=ohos_${OHOS_GLUE_MODULE}
132 local file_list=$(find ${OHOS_GLUE_DIR}/${dir_name}/include -name "*.h")
147 dir_name=$(date +"%Y%m%d%H%M%S")
148 handle_develop_commond ${dir_name} webcore
[all …]
H A Dcopy_files.py85 dir_name = 'ohos_' + module_name;
86 log_util.LogUtil.hb_info("begin to copy glue '{}' dir".format(dir_name))
87 dst_dir = os.path.join(glue_dir, dir_name)
91 src_dir = os.path.join(INTERFACE_OHOS_GLUE_DIR, dir_name)
/ohos5.0/build/ohos/packages/rules/
H A Dcategorized_libraries_utils.py76 dir_name = item[:pos]
78 if dir_name.endswith("chipset-sdk") or dir_name.endswith("platformsdk") \
79 …or dir_name.endswith("chipset-pub-sdk") or dir_name.endswith("ndk") or dir_name.endswith("chipsets…
80 dir_name = dir_name[:dir_name.rfind("/")]
81 …dest.append("{}/{}/{}".format(dir_name, categorized_libraries[label]["relative_install_dir"], lib_…
/ohos5.0/build/scripts/
H A Dsign_sdk.py36 dir_name = zipfile.split('-')[0]
40 for root, dirs, files in os.walk(dir_name):
51 cmd4 = ['zip', '-rq', zipfile, dir_name]
53 cmd5 = ['rm', '-rf', dir_name]
H A Ddir_exists.py18 def _is_dir(dir_name) -> str: argument
19 return str(os.path.isdir(dir_name))
H A Dasan_backup.py66 dir_name = os.path.basename(args.backup_dir)
67 _dest_dir = os.path.join(args.backup_dest_dir, dir_name)
H A Dcargo2gn.py338 dir_name = os.path.dirname(self.main_src)
339 while dir_name:
340 if dir_name.endswith('.'):
341 dir_name = os.path.dirname(dir_name)
343 if os.path.exists(os.path.join(dir_name, 'Cargo.toml')):
344 self.cargo_dir = dir_name
346 dir_name = os.path.dirname(dir_name)
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dfile_stream_dumper.cpp182 std::string dir_name = target; in BuildFileNames() local
185 … if (dir_name.compare(dir_name.size() - backslash.size(), backslash.size(), backslash) != 0) { in BuildFileNames()
186 dir_name.append(backslash); in BuildFileNames()
194 std::string filename = dir_name + d_name; in BuildFileNames()
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/
H A Dhdf_add_driver.py450 for path, dir_name, _ in os.walk(templates_dir):
451 if dir_name:
452 templates_model_dir.extend(dir_name)
490 for path, dir_name, _ in os.walk(templates_dir):
491 if dir_name:
492 templates_model_dir.extend(dir_name)
497 lambda dir_name: os.path.join(templates_dir, dir_name),
/ohos5.0/build/lite/
H A Dgen_module_notice_file.py121 dir_name = os.path.dirname(filename)
122 if not os.path.exists(dir_name):
123 makedirs(dir_name)
/ohos5.0/build/
H A Dprebuilts_config.sh71 dir_name=${file%/*}
98 mv $file "$dir_name/$newfile_name"
H A Dprebuilts_config.py60 def npm_install(dir_name): argument
61 … result = subprocess.run(["npm", "install", "--prefix", dir_name], capture_output=True, text=True)
63 print("{}目录下npm install完毕".format(dir_name))
/ohos5.0/build/ohos/packages/
H A Dsystem_gzip_package.py34 for dir_name in dirs:
35 src_dir = os.path.join(root, dir_name)
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/
H A Dhcgen_test.py107 for dir_name in os.listdir(case_path):
108 if os.path.isdir(os.path.join(case_path, dir_name)):
109 cases.append(dir_name)
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_add_handler.py345 for dir_name in dirs:
346 dir_path = os.path.join(root, dir_name)
348 dir_dict[dir_name] = []
350 dir_dict.get(dir_path.split(os.path.sep)[-2]).append(dir_name)
H A Dhdf_delete_handler.py122 for path, dir_name, _ in os.walk(templates_dir_path):
123 if dir_name:
124 templates_model_dir.extend(dir_name)