Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 20 of 20) 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/scripts/
Ddownload_sdk.py56 filename = os.path.basename(download_url)
58 if not os.path.isfile(os.path.join(savepath, filename)):
61 savepath, filename), reporthook=reporthook)
66 filesize = os.path.getsize(os.path.join(savepath, filename))
70 def extract_file(filename): argument
72 target_dir = os.path.dirname(filename)
76 with tarfile.open(filename, "r:gz") as tar:
91 for filename in os.listdir(sdk_dir):
92 if filename.endswith(".zip"):
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.py78 filename = os.path.join(root, f)
79 if filename.endswith('.js.map'):
80 os.unlink(filename)
/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.py173 filename = huaweicloud_url.split("/")[-1]
175 task_id = args.progress.add_task("download", filename=filename, start=False)
/build/ohos/packages/
Dprocess_field_validate.py272 def handle_services(filename, field): argument
275 cfg_item = CfgItem(filename)
297 def parse_cfg_file(filename): argument
301 with open(filename) as fp:
305 … print("\nError: loading cfg file {} failed. Cfg file not in JSON format!\n".format(filename))
309 handle_services(filename, field)
Dmodules_install.py122 for filename in os.listdir(source):
123 if filename.endswith('.hap'):
125 …shutil.copy2(os.path.join(source, filename), os.path.join(platform_installed_path, dest, filename))
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/templates/bpf/
DBUILD.gn18 "--filename",
/build/tools/component_tools/
Dcomponents_dependence_analysis.py48 graph.render(filename=output_path + '/dep_graph')
/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/ohos/sa_profile/
Dsa_profile.gni163 "--filename",
/build/config/compiler/
Dcompiler.gni194 # Sanitizers also require symbols for filename suppressions to work.