Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 17 of 17) sorted by relevance

/build/ohos/
Dfile_exists.py21 def is_exists(filename, type): argument
24 result = os.path.exists(filename) and os.path.isfile(filename)
26 result = os.path.exists(filename) and os.path.isdir(filename)
35 result = is_exists(args.filename, args.type)
/build/ohos/notice/
Dmerge_notice_files.py111 for filename in value:
115 os.path.relpath(filename, input_dir))))
119 for filename in value:
120 json_filename = '{}.json'.format(filename)
139 for filename in files_with_same_hash[file_key]:
140 id_table[filename] = file_key
150 for filename in sorted_filenames:
152 os.path.relpath(filename, input_dir))
155 (id_table.get(filename), stripped_filename))
162 for filename in sorted_filenames:
[all …]
/build/
Dprint_python_deps.py67 for filename in filenames:
68 if filename.endswith('.py') and not filename.endswith('_test.py'):
69 yield os.path.join(root, filename)
Dprebuilts_download.py156 filename = huaweicloud_url.split("/")[-1]
158 task_id = args.progress.add_task("download", filename=filename, start=False)
/build/scripts/
Dninja2trace.py41 def parse_file(self, filename, ninja_start_time): argument
43 if not os.path.exists(filename):
44 print("file: {} not exists".format(filename))
47 with open(filename, mode='r') as f:
Dinterface_mgr.py25 def get_file_sha256(self, filename): argument
27 if os.path.isfile(filename):
30 with open(filename, 'rb') as f:
Dhapbuilder.py79 filename = os.path.join(root, f)
80 if filename.endswith('.js.map'):
81 os.unlink(filename)
/build/ohos/packages/
Dhigh_privilege_process_validate.py210 def handle_services(filename, field): argument
212 cfg_item = CfgItem(filename)
229 def parse_cfg_file(filename): argument
233 with open(filename) as fp:
238 handle_services(filename, field)
DBUILD.gn27 "--filename",
/build/tools/check_deps/
Dcheck_deps.py53 for filename in os.listdir(deps_files):
54 file_path = os.path.join(deps_files, filename)
/build/lite/
Dgen_module_notice_file.py120 def create_dest_file(filename): argument
121 dir_name = os.path.dirname(filename)
/build/ohos/sdk/
Dadd_notice_file.py55 zip_info = zipfile.ZipInfo(filename=arcname,
/build/scripts/util/
Dbuild_utils.py353 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP)
357 zipinfo.filename = zip_path
495 if info.filename[-1] == '/':
497 dst_name = path_transform(info.filename)
Dmd5_check.py444 (zip_info.filename, zip_info.CRC + zip_info.compress_type))
/build/tools/component_tools/
Dcomponents_dependence_analysis.py48 graph.render(filename=output_path+'/dep_graph')
/build/ohos/sa_profile/
Dsa_profile.gni147 "--filename",
/build/config/compiler/
Dcompiler.gni182 # Sanitizers also require symbols for filename suppressions to work.