Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 81) sorted by relevance

1234

/build/make/tools/
Djava-layers.py8 sys.stderr.write("usage: java-layers.py DEPENDENCY_FILE SOURCE_DIRECTORIES...\n")
9 sys.stderr.write("\n")
10 sys.stderr.write("Enforces layering between java packages. Scans\n")
11 sys.stderr.write("DIRECTORY and prints errors when the packages violate\n")
12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n")
13 sys.stderr.write("\n")
14 sys.stderr.write("Prints a warning when an unknown package is encountered\n")
15 sys.stderr.write("on the assumption that it should fit somewhere into the\n")
16 sys.stderr.write("layering.\n")
17 sys.stderr.write("\n")
[all …]
Djava-event-log-tags.py99 buffer.write("/* This file is auto-generated. DO NOT MODIFY.\n"
103 buffer.write("package %s;\n\n" % (tagfile.options["java_package"][0],))
108 buffer.write("/**\n"
111 buffer.write("public class %s {\n" % (basename,))
112 buffer.write(" private %s() { } // don't instantiate\n" % (basename,))
116 buffer.write("\n /** %d %s %s */\n" % (t.tagnum, t.tagname, t.description))
118 buffer.write("\n /** %d %s */\n" % (t.tagnum, t.tagname))
120 buffer.write(" public static final int %s = %d;\n" %
148 buffer.write("\n public static void %s(%s) {" % (methodName, argTypesNames))
149 buffer.write("\n android.util.EventLog.writeEvent(%s%s);" % (t.tagname.upper(), argNames))
[all …]
Dpost_process_props.py69 sys.stderr.write("error: %s cannot exceed %d bytes: " %
71 sys.stderr.write("%s (%d)\n" % (value, len(value)))
108 def write(self, f): member in PropFile
109 f.write("\n".join(self.lines))
110 f.write("\n")
129 sys.stderr.write("bad command line: " + str(argv) + "\n")
140 properties.write(f)
Dauto_gen_test_config_test.py132 f.write(MANIFEST_INVALID)
147 f.write(MANIFEST_JUNIT_TEST)
161 f.write(MANIFEST_INSTRUMENTATION_TEST)
Dextract_kernel.py178 args.output_configs.write(o)
180 sys.stderr.write(
186 args.output_version.write(o)
188 sys.stderr.write(
Dauto_gen_test_config.py45 sys.stderr.write(
85 config_file.write(config)
Dfat16copy.py126 def write(self, data): member in fat_file
235 data_file.write(data.read())
403 f.write("\0" * self.fs.bytes_per_cluster)
415 f.write(entry)
438 def write(self, data): member in root_dentry_file
445 f.write(data)
627 f.write(struct.pack("<H", entry))
629 f.write(struct.pack("<H", entry))
735 f.write(data[data_begin:data_end])
/build/soong/ui/terminal/
Dutil.go57 write := input
60 advance := func(write, read []byte, count int) ([]byte, []byte) {
61 copy(write, read[:count])
62 return write[count:], read[count:]
70 copy(write, read)
76 write, read = advance(write, read, i+1)
81 write, read = advance(write, read, i)
/build/make/tools/signapk/src/com/android/signapk/
DCountingOutputStream.java39 public void write(byte[] b) throws IOException { in write() method in CountingOutputStream
40 mBase.write(b); in write()
45 public void write(byte[] b, int off, int len) throws IOException { in write() method in CountingOutputStream
46 mBase.write(b, off, len); in write()
51 public void write(int b) throws IOException { in write() method in CountingOutputStream
52 mBase.write(b); in write()
DSignApk.java305 outputJar.write(b, 0, read); in addOtacert()
358 out.write(entryData); in addV1Signature()
490 out.write(buffer, 0, num); in copyFiles()
533 out.write(buffer, 0, num); in copyFiles()
578 outputJar.write(Hints.encodeByteRangeList(pinByteRanges)); in addPinByteRanges()
660 write(data, 0, data.length - 2); in finish()
668 public void write(byte[] b) throws IOException { in write() method in SignApk.WholeFileSignerOutputStream
669 write(b, 0, b.length); in write()
673 public void write(byte[] b, int off, int len) throws IOException { in write() method in SignApk.WholeFileSignerOutputStream
676 footer.write(b, off, len); in write()
[all …]
/build/make/tools/fs_config/
Dtest_fs_config_generator.py68 temp_file.write(
95 temp_file.write(
122 temp_file.write(
135 temp_file.write(
149 temp_file.write(
162 temp_file.write(
175 temp_file.write(
189 temp_file.write(
210 temp_file.write(
245 temp_file.write(
[all …]
/build/soong/ui/build/sandbox/darwin/
Dglobal.sb13 (allow file-write*
17 ; Java attempts to write usage data to ~/.oracle_jre_usage, just ignore
18 (deny file-write* (with no-log)
22 (allow file-write*
26 (allow file-write-data
/build/make/core/
Ddistdir.mk53 define dist-write-file
55 $(KATI_obsolete_var dist-for-goals,Cannot be used after dist-write-file) \
69 .KATI_READONLY := dist-for-goals dist-write-file
/build/make/tools/releasetools/
Dtest_validate_target_files.py40 kernel_fp.write(os.urandom(10))
100 boot_fp.write(last_byte)
176 f.write("aaa")
177 f.write('\0' * 4096 * 3)
179 f.write("bbb")
180 f.write('\0' * 4096 * 3)
201 f.write(line)
209 input_zip.write(os.path.join(input_tmp, name), arcname=name)
Dtest_utils.py97 fp.write(struct.pack(
113 fp.write(struct.pack(
116 fp.write(os.urandom(data_size))
Dmerge_target_files.py299 output.write('%s\n' % partition)
322 f.write(
325 f.write(
328 f.write(
407 output.write('{}={}\n'.format(key, merged_info_dict[key]))
463 f.write(merged_content)
684 f.write(meta_content)
685 f.write(other_content)
Dtest_build_image.py114 fs_config_fp.write('fs-config-{}\n'.format(partition))
120 init_fp.write('init')
124 in_fp.write('system-file')
149 init_fp.write('init')
153 in_fp.write('system-file')
Dcheck_ota_package_signature.py110 f.write(signature)
122 f.write(digest_string.decode('hex'))
160 pubkey_fp.write(common.ExtractPublicKey(cert))
Dtarget_files_diff.py85 new.write(line)
94 new.write(re.sub(r'[0-9a-f]{40}', '0'*40, line))
104 new.write(line)
/build/soong/bpfix/cmd/
Dbpfix.go39 write = flag.Bool("w", false, "write result to (source) file instead of stdout") var
94 if *write {
109 if !*list && !*write && !*doDiff {
137 if *write {
/build/soong/cc/
Dgen_stub_libs.py383 def write(self, versions): member in Generator
406 self.version_script.write(version.name + ' {\n')
407 self.version_script.write(' global:\n')
411 self.version_script.write(' ' + symbol.name + ';\n')
418 self.src_file.write('{}int {} = 0;\n'.format(
421 self.src_file.write('{}void {}() {{}}\n'.format(
426 self.version_script.write('}' + base + ';\n')
504 generator.write(versions)
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go143 write := func(rule *android.RuleBuilder, file string) {
190 write(dexpreoptRule, dexpreoptScriptPath)
191 write(stripRule, stripScriptPath)
/build/blueprint/bpmodify/
Dbpmodify.go26 write = flag.Bool("w", false, "write result to (source) file instead of stdout") var
99 if *write {
114 if !*list && !*write && !*doDiff {
229 if *write {
/build/soong/scripts/
Dmergenotice.py46 output.write('%s\n\n' % data)
/build/make/tools/droiddoc/templates-ndk/
Ddesignpage.cs92 …document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/jav…
103 document.write('<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other02…

1234