Home
last modified time | relevance | path

Searched refs:output_file (Results 1 – 25 of 27) sorted by relevance

12

/build/make/tools/
Dgenerate-notice-files.py91 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 …]
Devent_log_tags.py119 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)
Djava-event-log-tags.py35 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)
Dmerge-event-log-tags.py41 output_file = None variable
61 output_file = a variable
184 event_log_tags.WriteOutput(output_file, buffer)
/build/soong/scripts/
Dgenerate-notice-files.py91 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__.py66 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/
Dimg_from_target_files89 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)
Dimg_from_target_files.py89 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)
Dtest_validate_target_files.py36 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))
Dtest_add_img_to_target_files.py96 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:
Dtest_sign_target_files_apks.py173 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 …]
Dtest_ota_from_target_files.py630 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 …]
Dnon_ab_ota.py119 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)
Dtest_verity_utils.py57 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
Dtest_build_image.py193 output_file = common.MakeTempFile(suffix='.img')
194 cmd = ["img2simg", output_image, output_file]
199 fs_dict = GetFilesystemCharacteristics(output_file)
Dtest_check_target_files_vintf.py83 output_file = os.path.join(test_dir, rel_root, f)
85 write_string_to_file(inp.read(), output_file)
Dota_utils.py45 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:
Dadd_img_to_target_files.py122 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)
Dadd_img_to_target_files122 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)
Dmerge_target_files.py629 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)
Dota_from_target_files.py1043 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],
Dota_from_target_files1043 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],
Dcommon.py3919 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/
Dcc_library_static.bzl77 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/
Dbazelenv.py217 with self.stage_path.open("w") as output_file:
218 output_file.write(output)

12