/build/make/tools/ |
D | java-layers.py | 8 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 …]
|
D | java-event-log-tags.py | 99 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 …]
|
D | post_process_props.py | 62 sys.stderr.write("error: %s cannot exceed %d bytes: " % 64 sys.stderr.write("%s (%d)\n" % (p.value, len(p.value))) 68 sys.stderr.write("error: found unresolved optional prop assignment:\n") 69 sys.stderr.write(str(p) + "\n") 104 sys.stderr.write("error: found duplicate sysprop assignments:\n") 106 sys.stderr.write("%s\n" % str(p)) 207 def write(self, filename): member in PropList 210 f.write(str(p) + "\n") 221 sys.stderr.write("bad command line: " + str(argv) + "\n") 236 props.write(args.filename)
|
D | auto_gen_test_config_test.py | 132 f.write(MANIFEST_INVALID) 147 f.write(MANIFEST_JUNIT_TEST) 161 f.write(MANIFEST_INSTRUMENTATION_TEST)
|
D | auto_gen_test_config.py | 46 sys.stderr.write( 91 config_file.write(config)
|
D | generate-self-extracting-archive.py | 92 dst.write(b) 159 output.write(_HEADER_TEMPLATE.format(
|
D | fat16copy.py | 126 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/scripts/ |
D | lint-project-xml.py | 99 f.write("<?xml version='1.0' encoding='utf-8'?>\n") 100 f.write("<project>\n") 102 f.write(" <root dir='%s' />\n" % args.root_dir) 103 …f.write(" <module name='%s' android='true' %sdesugar='full' >\n" % (args.name, "library='true' " … 105 f.write(" <manifest file='%s' %s/>\n" % (args.manifest, test_attr)) 107 f.write(" <merged-manifest file='%s' %s/>\n" % (args.merged_manifest, test_attr)) 110 f.write(" <src file='%s' %s/>\n" % (src, test_attr)) 113 f.write(" <src file='%s' generated='true' %s/>\n" % (src, test_attr)) 116 f.write(" <resource file='%s' %s/>\n" % (res, test_attr)) 118 f.write(" <classes jar='%s' />\n" % classes) [all …]
|
D | gen-kotlin-build-file.py | 64 f.write('<modules>\n') 65 …f.write(' <module name="%s" type="java-production" outputDir="%s">\n' % (args.name, args.out_dir … 71 f.write(' <classpath path="%s"/>\n' % path) 78 f.write(' <javaSourceRoots path="%s"/>\n' % path) 80 f.write(' <sources path="%s"/>\n' % path) 87 f.write(' <sources path="%s"/>\n' % path) 88 f.write(' <commonSources path="%s"/>\n' % path) 90 f.write(' </module>\n') 91 f.write('</modules>\n')
|
D | manifest.py | 124 f.write('<?xml version="1.0" encoding="utf-8"?>\n') 126 f.write(node.toxml(encoding='utf-8') + '\n')
|
/build/soong/ui/terminal/ |
D | util.go | 64 write := input 67 advance := func(write, read []byte, count int) ([]byte, []byte) { 68 copy(write, read[:count]) 69 return write[count:], read[count:] 77 copy(write, read) 83 write, read = advance(write, read, i+1) 88 write, read = advance(write, read, i)
|
/build/make/tools/signapk/src/com/android/signapk/ |
D | CountingOutputStream.java | 39 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()
|
D | SignApk.java | 306 outputJar.write(b, 0, read); in addOtacert() 359 out.write(entryData); in addV1Signature() 484 out.write(buffer, 0, num); in copyFiles() 544 out.write(buffer, 0, num); in copyFiles() 605 outputJar.write(Hints.encodeByteRangeList(pinByteRanges)); in addPinByteRanges() 687 write(data, 0, data.length - 2); in finish() 695 public void write(byte[] b) throws IOException { in write() method in SignApk.WholeFileSignerOutputStream 696 write(b, 0, b.length); in write() 700 public void write(byte[] b, int off, int len) throws IOException { in write() method in SignApk.WholeFileSignerOutputStream 703 footer.write(b, off, len); in write() [all …]
|
/build/make/tools/fs_config/ |
D | test_fs_config_generator.py | 68 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/cc/ndkstubgen/ |
D | __init__.py | 37 def write(self, versions): member in Generator 63 self.version_script.write(version.name + ' {\n') 64 self.version_script.write(' global:\n') 69 self.version_script.write(' ' + symbol.name + ';\n') 76 self.src_file.write('{}int {} = 0;\n'.format( 79 self.src_file.write('{}void {}() {{}}\n'.format( 84 self.version_script.write('}' + base + ';\n') 145 generator.write(versions)
|
D | test_ndkstubgen.py | 116 generator.write(versions) 189 generator.write(versions) 241 generator.write(versions) 339 generator.write(versions)
|
/build/soong/ui/build/sandbox/darwin/ |
D | global.sb | 13 (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/tools/releasetools/ |
D | test_validate_target_files.py | 39 kernel_fp.write(os.urandom(10)) 102 boot_fp.write(last_byte) 244 f.write('aaa') 245 f.write('\0' * 4096 * 3) 247 f.write('bbb') 248 f.write('\0' * 4096 * 3) 269 f.write(line) 277 input_zip.write(os.path.join(input_tmp, name), arcname=name) 295 f.write('a' * 4096 + 'b' * 4096 + 'c' * 4096) 313 f.write('c' * 4096 + 'b' * 4096 + 'a' * 4096) [all …]
|
D | test_build_image.py | 117 fs_config_fp.write('fs-config-{}\n'.format(partition)) 123 init_fp.write('init') 127 in_fp.write('system-file') 152 init_fp.write('init') 156 in_fp.write('system-file')
|
D | test_utils.py | 124 fp.write(struct.pack( 140 fp.write(struct.pack( 143 fp.write(os.urandom(data_size))
|
D | check_ota_package_signature.py | 109 f.write(signature) 119 f.write(bytearray.fromhex(digest_string)) 153 pubkey_fp.write(common.ExtractPublicKey(cert))
|
D | target_files_diff.py | 85 new.write(line) 94 new.write(re.sub(r'[0-9a-f]{40}', '0'*40, line)) 104 new.write(line)
|
/build/make/core/ |
D | distdir.mk | 53 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/soong/bpfix/cmd_lib/ |
D | bpfix.go | 39 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/ndk_api_coverage_parser/ |
D | __init__.py | 95 output_file.write(parsed_data) 97 def write(self, versions): member in XmlGenerator 131 generator.write(versions)
|