/build/make/tools/ |
D | generate-notice-files.py | 91 output_file = open(output_filename, "wb") 93 print >> output_file, "<html><head>" 94 print >> output_file, HTML_OUTPUT_CSS 95 …print >> output_file, '</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">' 98 print >> output_file, '<div class="toc">' 99 print >> output_file, "<ul>" 107 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena… 109 print >> output_file, "</ul>" 110 print >> output_file, "</div><!-- table of contents -->" 112 print >>output_file, '<table cellpadding="0" cellspacing="0" border="0">' [all …]
|
D | event_log_tags.py | 119 def WriteOutput(output_file, data): argument 126 if output_file is None: 128 output_file = "<stdout>" 130 out = open(output_file, "wb") 134 print >> sys.stderr, "failed to write %s: %s" % (output_file, e)
|
D | java-event-log-tags.py | 35 output_file = None variable 49 output_file = a variable 155 output_dir = os.path.dirname(output_file) 159 event_log_tags.WriteOutput(output_file, buffer)
|
D | merge-event-log-tags.py | 41 output_file = None variable 61 output_file = a variable 184 event_log_tags.WriteOutput(output_file, buffer)
|
/build/soong/scripts/ |
D | generate-notice-files.py | 91 output_file = open(output_filename, "wb") 93 print >> output_file, "<html><head>" 94 print >> output_file, HTML_OUTPUT_CSS 95 …print >> output_file, '</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">' 98 print >> output_file, '<div class="toc">' 99 print >> output_file, "<ul>" 107 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena… 109 print >> output_file, "</ul>" 110 print >> output_file, "</div><!-- table of contents -->" 112 print >>output_file, '<table cellpadding="0" cellspacing="0" border="0">' [all …]
|
/build/soong/cc/ndk_api_coverage_parser/ |
D | __init__.py | 66 def __init__(self, output_file): argument 67 self.output_file = output_file 94 output_file = open(self.output_file, "wb") 95 output_file.write(parsed_data) 130 generator = XmlGenerator(args.output_file)
|
/build/make/tools/releasetools/ |
D | img_from_target_files | 89 def CopyZipEntries(input_file, output_file, entries): argument 102 cmd = ['zip2zip', '-i', input_file, '-o', output_file] 161 def RebuildAndWriteSuperImages(input_file, output_file): argument 175 output_file, 'a', compression=zipfile.ZIP_DEFLATED, 180 def ImgFromTargetFiles(input_file, output_file): argument 215 CopyZipEntries(input_file, output_file, entries) 218 RebuildAndWriteSuperImages(input_file, output_file)
|
D | img_from_target_files.py | 89 def CopyZipEntries(input_file, output_file, entries): argument 102 cmd = ['zip2zip', '-i', input_file, '-o', output_file] 161 def RebuildAndWriteSuperImages(input_file, output_file): argument 175 output_file, 'a', compression=zipfile.ZIP_DEFLATED, 180 def ImgFromTargetFiles(input_file, output_file): argument 215 CopyZipEntries(input_file, output_file, entries) 218 RebuildAndWriteSuperImages(input_file, output_file)
|
D | test_validate_target_files.py | 36 def _generate_boot_image(self, output_file): argument 41 cmd = ['mkbootimg', '--kernel', kernel, '-o', output_file] 48 cmd = ['boot_signer', '/boot', output_file, 50 os.path.join(self.testdata_dir, 'testkey.x509.pem'), output_file] 114 def _generate_system_image(self, output_file, system_root=None, argument 130 cmd = ['mkuserimg_mke2fs', '-s', system_root, output_file, 'ext4', 142 verity_image_builder.Build(output_file) 338 with open(prop_file, 'w') as output_file: 339 output_file.write("\n".join(build_prop))
|
D | test_add_img_to_target_files.py | 96 output_file = common.MakeTempFile(suffix='.zip') 97 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: 100 with zipfile.ZipFile(output_file, 'r', allowZip64=True) as verify_zip: 348 output_file = common.MakeTempFile(suffix='.zip') 349 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: 354 with zipfile.ZipFile(output_file, 'r', allowZip64=True) as verify_zip: 371 output_file = common.MakeTempFile(suffix='.zip') 372 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip:
|
D | test_sign_target_files_apks.py | 173 output_file = common.MakeTempFile(suffix='.zip') 175 zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: 178 with zipfile.ZipFile(output_file) as output_zip: 185 zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: 188 with zipfile.ZipFile(output_file) as output_zip: 201 output_file = common.MakeTempFile(suffix='.zip') 203 zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: 206 with zipfile.ZipFile(output_file) as output_zip: 286 output_file = common.MakeTempFile(suffix='.zip') 287 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: [all …]
|
D | test_ota_from_target_files.py | 630 output_file = common.MakeTempFile(suffix='.zip') 634 FinalizeMetadata(metadata, zip_file, output_file, needed_property_files) 677 output_file = common.MakeTempFile(suffix='.zip') 678 FinalizeMetadata(metadata, zip_file, output_file, needed_property_files) 951 output_file = common.MakeTempFile(suffix='.zip') 952 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: 957 with zipfile.ZipFile(output_file) as input_zip: 977 with open(output_file, 'rb') as verify_fp: 1236 output_file = common.MakeTempFile(suffix='.zip') 1237 with zipfile.ZipFile(output_file, 'w', allowZip64=True) as output_zip: [all …]
|
D | non_ab_ota.py | 119 def WriteFullOTAPackage(input_zip, output_file): argument 136 staging_file = output_file 288 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files) 291 def WriteBlockIncrementalOTAPackage(target_zip, source_zip, output_file): argument 313 staging_file = output_file 543 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files) 546 def GenerateNonAbOtaPackage(target_file, output_file, source_file=None): argument 591 output_file) 603 output_file)
|
D | test_verity_utils.py | 57 output_file = common.MakeTempFile() 62 cmd = ["img2simg", raw_image, output_file, '4096'] 64 return output_file 84 output_file = self._CreateSimg(raw_image) 87 verity_image_builder.Build(output_file) 89 return output_file
|
D | test_build_image.py | 193 output_file = common.MakeTempFile(suffix='.img') 194 cmd = ["img2simg", output_image, output_file] 199 fs_dict = GetFilesystemCharacteristics(output_file)
|
D | test_check_target_files_vintf.py | 83 output_file = os.path.join(test_dir, rel_root, f) 85 write_string_to_file(inp.read(), output_file)
|
D | ota_utils.py | 45 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument 120 output_file = prelim_signing 122 SignOutput(prelim_signing, output_file) 125 with zipfile.ZipFile(output_file, allowZip64=True) as output_zip:
|
D | add_img_to_target_files.py | 122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 123 with open(output_file, "wb") as ofile: 131 common.ZipWrite(output_zip, output_file, arc_name) 400 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): argument 432 os.path.join(input_dir, what.upper()), image_props, output_file.name) 434 output_file.Write() 696 output_file = os.path.join(OPTIONS.input_tmp, "META", "apex_info.pb") 697 with open(output_file, "wb") as ofile: 704 common.ZipWrite(output_zip, output_file, arc_name)
|
D | add_img_to_target_files | 122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 123 with open(output_file, "wb") as ofile: 131 common.ZipWrite(output_zip, output_file, arc_name) 400 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): 432 os.path.join(input_dir, what.upper()), image_props, output_file.name) 434 output_file.Write() 696 output_file = os.path.join(OPTIONS.input_tmp, "META", "apex_info.pb") 697 with open(output_file, "wb") as ofile: 704 common.ZipWrite(output_zip, output_file, arc_name)
|
D | merge_target_files.py | 629 output_file = os.path.join(output_target_files_dir, 'META', file_name) 636 with open(output_file, 'w') as output: 1000 def create_target_files_archive(output_file, source_dir, temp_dir): argument 1009 output_zip = os.path.abspath(output_file) 1041 logger.info('creating %s', output_file) 1043 logger.info('finished creating %s', output_file)
|
D | ota_from_target_files.py | 1043 def GenerateAbOtaPackage(target_file, output_file, source_file=None): argument 1049 staging_file = output_file 1198 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files) 1469 output_file=args[1], 1475 output_file=args[1],
|
D | ota_from_target_files | 1043 def GenerateAbOtaPackage(target_file, output_file, source_file=None): argument 1049 staging_file = output_file 1198 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files) 1469 output_file=args[1], 1475 output_file=args[1],
|
D | common.py | 3919 def AddCareMapForAbOta(output_file, ab_partitions, image_paths): argument 3928 if not output_file: 3985 if not isinstance(output_file, zipfile.ZipFile): 3986 shutil.copy(temp_care_map, output_file) 3990 if care_map_path in output_file.namelist(): 3998 ZipWrite(output_file, temp_care_map, arcname=care_map_path)
|
/build/bazel/rules/ |
D | cc_library_static.bzl | 77 output_file = ctx.actions.declare_file(ctx.label.name + ".a") 85 static_library = output_file, 99 output_file = output_file.path, 118 outputs = [output_file], 126 DefaultInfo(files = depset([output_file])),
|
/build/pesto/experiments/prepare_bazel_test_env/ |
D | bazelenv.py | 217 with self.stage_path.open("w") as output_file: 218 output_file.write(output)
|