Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 9 of 9) sorted by relevance

/build/make/tools/fs_config/
Dfs_config.c75 char buffer[1024]; in main() local
114 while (fgets(buffer, 1023, stdin) != NULL) { in main()
117 for (i = 0; i < 1024 && buffer[i]; ++i) { in main()
118 switch (buffer[i]) { in main()
120 buffer[i-is_dir] = '\0'; in main()
137 fs_config(buffer, is_dir, product_out_path, &uid, &gid, &mode, &capabilities); in main()
138 if (root_path != NULL && strcmp(buffer, root_path) == 0) { in main()
140 strcpy(buffer, ""); in main()
142 printf("%s %d %d %o", buffer, uid, gid, mode); in main()
145 size_t buffer_strlen = strnlen(buffer, sizeof(buffer)); in main()
[all …]
/build/make/tools/
Djava-event-log-tags.py98 buffer = cStringIO.StringIO() variable
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))
[all …]
Dmerge-event-log-tags.py177 buffer = cStringIO.StringIO() variable
180 buffer.write("%d %s %s\n" % (t.tagnum, t.tagname, t.description))
182 buffer.write("%d %s\n" % (t.tagnum, t.tagname))
184 event_log_tags.WriteOutput(output_file, buffer)
/build/make/tools/signtos/
DSignTos.java228 byte[] buffer = new byte[8192]; in signWholeFile()
233 int bytesRead = input.read(buffer, 0, HEADER_SIZE - skippedBytes); in signWholeFile()
234 output.write(buffer, 0, bytesRead); in signWholeFile()
240 int bytesRead = input.read(buffer); in signWholeFile()
245 sig.update(buffer, 0, bytesRead); in signWholeFile()
246 output.write(buffer, 0, bytesRead); in signWholeFile()
/build/soong/cmd/extract_linker/
Dmain.go83 buffer, _ := ioutil.ReadAll(prog.Open())
84 bytesToAsm(asm, buffer)
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java382 byte[] buffer = new byte[4096]; in copyFiles()
425 if (!shouldOutputApkEntry(apkSigner, in, inEntry, buffer)) { in copyFiles()
483 while ((num = data.read(buffer)) > 0) { in copyFiles()
484 out.write(buffer, 0, num); in copyFiles()
486 entryDataSink.consume(buffer, 0, num); in copyFiles()
527 if (!shouldOutputApkEntry(apkSigner, in, inEntry, buffer)) { in copyFiles()
543 while ((num = data.read(buffer)) > 0) { in copyFiles()
544 out.write(buffer, 0, num); in copyFiles()
546 entryDataSink.consume(buffer, 0, num); in copyFiles()
/build/blueprint/bootstrap/
Dcommand.go205 buffer, errs := generateGlobNinjaFile(ctx.Globs)
210 err = ioutil.WriteFile(absolutePath(globFile), buffer, outFilePermissions)
/build/soong/androidmk/androidmk/
Dandroidmk.go116 func ConvertFile(filename string, buffer *bytes.Buffer) (string, []error) {
117 p := mkparser.NewParser(filename, buffer)
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dandroid_3p-bundle.js2361 …after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component…