Searched refs:filename (Results 1 – 20 of 20) sorted by relevance
/build/ohos/ |
D | file_exists.py | 21 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/ |
D | download_sdk.py | 56 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"):
|
D | ninja2trace.py | 41 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:
|
D | interface_mgr.py | 25 def get_file_sha256(self, filename): argument 27 if os.path.isfile(filename): 30 with open(filename, 'rb') as f:
|
D | hapbuilder.py | 78 filename = os.path.join(root, f) 79 if filename.endswith('.js.map'): 80 os.unlink(filename)
|
/build/ohos/notice/ |
D | merge_notice_files.py | 111 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/ |
D | print_python_deps.py | 67 for filename in filenames: 68 if filename.endswith('.py') and not filename.endswith('_test.py'): 69 yield os.path.join(root, filename)
|
D | prebuilts_download.py | 173 filename = huaweicloud_url.split("/")[-1] 175 task_id = args.progress.add_task("download", filename=filename, start=False)
|
/build/ohos/packages/ |
D | process_field_validate.py | 272 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)
|
D | modules_install.py | 122 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))
|
D | BUILD.gn | 27 "--filename",
|
/build/tools/check_deps/ |
D | check_deps.py | 53 for filename in os.listdir(deps_files): 54 file_path = os.path.join(deps_files, filename)
|
/build/lite/ |
D | gen_module_notice_file.py | 120 def create_dest_file(filename): argument 121 dir_name = os.path.dirname(filename)
|
/build/ohos/sdk/ |
D | add_notice_file.py | 55 zip_info = zipfile.ZipInfo(filename=arcname,
|
/build/templates/bpf/ |
D | BUILD.gn | 18 "--filename",
|
/build/tools/component_tools/ |
D | components_dependence_analysis.py | 48 graph.render(filename=output_path + '/dep_graph')
|
/build/scripts/util/ |
D | build_utils.py | 353 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)
|
D | md5_check.py | 444 (zip_info.filename, zip_info.CRC + zip_info.compress_type))
|
/build/ohos/sa_profile/ |
D | sa_profile.gni | 163 "--filename",
|
/build/config/compiler/ |
D | compiler.gni | 194 # Sanitizers also require symbols for filename suppressions to work.
|