Searched refs:zip_file (Results 1 – 6 of 6) sorted by relevance
/build/ohos/sdk/ |
D | add_notice_file.py | 45 with zipfile.ZipFile(archive, 'a') as zip_file, open( 47 if not zip_file.namelist(): 49 dirname = zip_file.namelist()[0].split('/')[0] 52 if arcname in zip_file.namelist(): 57 zip_file.writestr(zip_info,
|
D | check_sdk_completeness.py | 69 zip_file = zipfile.ZipFile(archive_file, 'r') 72 zip_file_namelist = zip_file.namelist() 73 for zip_file in zip_file_namelist: 74 zip_file_path.append(os.path.join(sdk_package_path, zip_file))
|
/build/ohos/notice/ |
D | merge_notice_files.py | 185 def handle_zipfile_notices(zip_file: str): 186 notice_file = '{}.txt'.format(zip_file[:-4]) 188 build_utils.extract_all(zip_file, tmp_dir, no_clobber=False) 225 for zip_file in args.collected_notice_zipfile: 226 build_utils.extract_all(zip_file, notice_dir, no_clobber=False)
|
/build/ohos/ndk/ |
D | archive_ndk.py | 72 with zipfile.ZipFile(output, 'a') as zip_file: 78 build_utils.add_to_zip_hermetic(zip_file,
|
/build/scripts/util/ |
D | build_utils.py | 284 def _is_symlink(zip_file, name): argument 285 zi = zip_file.getinfo(name) 334 def add_to_zip_hermetic(zip_file, argument 359 zip_file.writestr(zipinfo, os.readlink(src_path)) 381 compress_type = zip_file.compression 386 zip_file.writestr(zipinfo, data, compress_type, compress_level)
|
D | md5_check.py | 439 with zipfile.ZipFile(path) as zip_file: 440 for zip_info in zip_file.infolist():
|