Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 115) sorted by relevance

12345

/build/make/tools/zipalign/
DZipAlignMain.cpp34 fprintf(stderr, "Zip alignment utility\n"); in usage()
35 fprintf(stderr, "Copyright (C) 2009 The Android Open Source Project\n\n"); in usage()
36 fprintf(stderr, in usage()
39 fprintf(stderr, in usage()
41 fprintf(stderr, " -c: check alignment only (does not modify file)\n"); in usage()
42 fprintf(stderr, " -f: overwrite existing outfile.zip\n"); in usage()
43 fprintf(stderr, " -p: 4kb page-align uncompressed .so files\n"); in usage()
44 fprintf(stderr, " -v: verbose output\n"); in usage()
45 fprintf(stderr, " -z: recompress using Zopfli\n"); in usage()
46 fprintf(stderr, " -P <pagesize_kb>: Align uncompressed .so files to the specified\n"); in usage()
[all …]
DZipAlign.cpp69 fprintf(stderr, "ERROR: unable to retrieve entry %d\n", i); in copyAndAlign()
118 fprintf(stderr, "Input and output can't be same file\n"); in process()
124 fprintf(stderr, "Output file '%s' exists\n", outFileName); in process()
129 fprintf(stderr, "Unable to open '%s' as zip archive: %s\n", inFileName, strerror(errno)); in process()
136 fprintf(stderr, "Unable to open '%s' as zip archive\n", outFileName); in process()
162 fprintf(stderr, "Unable to open '%s' for verification\n", fileName); in verify()
/build/make/tools/acp/
Dacp.c82 fprintf(stderr, in process()
86 fprintf(stderr, "acp: unable to stat dest dir\n"); in process()
95 fprintf(stderr, in process()
213 fprintf(stderr, "Unexpected arg -%c\n", ic); in main()
225 fprintf(stderr, "acp: missing destination file\n"); in main()
231 fprintf(stderr, "Usage: acp [OPTION]... SOURCE DEST\n"); in main()
232 fprintf(stderr, " or: acp [OPTION]... SOURCE... DIRECTORY\n"); in main()
233 fprintf(stderr, "\nOptions:\n"); in main()
234 fprintf(stderr, " -d never follow (dereference) symbolic links\n"); in main()
235 fprintf(stderr, " -e if source file doesn't exist, try adding " in main()
[all …]
/build/make/tools/metadata/testdata/
Dmetadata_test.go16 stderr, err := cmd.CombinedOutput()
18 t.Fatalf("Error running metadata command: %s. Error: %v", stderr, err)
46 stderr, err := cmd.CombinedOutput()
50 stderr,
58 strings.TrimSpace(string(stderr)), strings.TrimSpace(expectedError),
62 expectedError, stderr,
72 stderr, err := cmd.CombinedOutput()
74 t.Fatalf("Error running metadata command: %s. Error: %v", stderr, err)
96 stderr, err := cmd.CombinedOutput()
98 t.Fatalf("Error running metadata command: %s. Error: %v", stderr, err)
/build/make/tools/ziptime/
DZipTime.cpp29 fprintf(stderr, "Zip timestamp utility\n"); in usage()
30 fprintf(stderr, "Copyright (C) 2015 The Android Open Source Project\n\n"); in usage()
31 fprintf(stderr, "Usage: ziptime file.zip\n"); in usage()
43 fprintf(stderr, "Unable to rewrite '%s' as zip archive\n", argv[1]); in main()
/build/make/tools/libhost/
DCopyFile.c127 fprintf(stderr, in copyFileContents()
135 fprintf(stderr, in copyFileContents()
140 fprintf(stderr, "acp: partial write to '%s' (%zd of %zd)\n", in copyFileContents()
218 fprintf(stderr, in copyRegular()
223 fprintf(stderr, "acp: unable to stat destination '%s'\n", dst); in copyRegular()
229 fprintf(stderr, "acp: '%s' and '%s' are the same file\n", in copyRegular()
245 fprintf(stderr, "acp: unable to open '%s': %s\n", src, strerror(errno)); in copyRegular()
256 fprintf(stderr, in copyRegular()
273 fprintf(stderr, "acp: unable to remove '%s': %s\n", in copyRegular()
285 fprintf(stderr, "acp: unable to open '%s': %s\n", in copyRegular()
[all …]
/build/soong/ui/terminal/
Dstdio.go44 stderr io.Writer member
47 func NewCustomStdio(stdin io.Reader, stdout, stderr io.Writer) StdioInterface {
48 return customStdio{stdin, stdout, stderr}
53 func (c customStdio) Stderr() io.Writer { return c.stderr }
/build/soong/bin/
Dmodinfo.py25 sys.stderr.write("No ANDROID_PRODUCT_OUT. Try running 'lunch' first.\n")
31 sys.stderr.write("Could not find module-info.json. Please run 'refreshmod' first.\n")
41 …sys.stderr.write(f"Could not find module '{module_name}' (try 'refreshmod' if there have been buil…
/build/make/tools/product_config/src/com/android/build/config/
DKatiCommand.java26 public KatiException(List<String> cmd, String stderr) { in KatiException() argument
28 mStderr = stderr; in KatiException()
DKatiCommandImpl.java98 final StringBuilder stderr = new StringBuilder(); in run() local
99 final Thread stderrThread = new Thread(new OutputReader(process.getErrorStream(), stderr), in run()
108 throw new KatiException(cmd, stderr.toString()); in run()
/build/soong/scripts/check_boot_jars/
Dcheck_boot_jars.py55 print('Error processing jar %s - %s' % (jar, e), file=sys.stderr)
56 print(stdout, file=sys.stderr)
73 file=sys.stderr)
77 file=sys.stderr)
/build/make/tools/atree/
Datree.cpp61 fwrite(USAGE, strlen(USAGE), 1, stderr); in usage()
84 fflush(stderr); in debug_printf()
133 fprintf(stderr, "%s: -o may only be supplied once -- " in main()
144 fprintf(stderr, "%s: -m may only be supplied once -- " in main()
152 fprintf(stderr, "%s Invalid expression in '-v %s': " in main()
168 fprintf(stderr, "%s: invalid argument -- %s\n", argv[0], argv[optind]); in main()
173 fprintf(stderr, "%s: At least one -f option must be supplied.\n", in main()
179 fprintf(stderr, "%s: At least one -I option must be supplied.\n", in main()
185 fprintf(stderr, "%s: -o option must be supplied.\n", argv[0]); in main()
354 fprintf(stderr, "error opening manifest file for write: %s\n", in main()
Dfs.cpp34 fprintf(stderr, "error deleting file %s (%s)\n", path.c_str(), in remove_file()
49 fprintf(stderr, "error getting directory contents %s (%s)\n", in remove_recursively()
91 fprintf(stderr, "error deleting directory %s (%s)\n", path.c_str(), in remove_recursively()
118 fprintf(stderr, "can't create directory %s (%s)\n", in mkdir_recursively()
124 fprintf(stderr, "can't create directory %s because %s is a file.\n", in mkdir_recursively()
171 fprintf(stderr, "Invalid ATREE_STRIP command '%s'\n", strip_cmd); in strip_file()
/build/make/tools/
Dwhichgit36stderr=subprocess.STDOUT, stdout=subprocess.PIPE, check=False, text=True)
38 sys.stderr.write(result.stdout)
47 check=False, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, text=True)
49 sys.stderr.write(result.stdout)
109 sys.stderr.write("Error: --products must be supplied if --variants is supplied")
117 sys.stderr.write(f"Analyzing build {build_num} of {len(products)*len(variants)}\r")
124 sys.stderr.write("\n\n")
Dpost_process_props.py64 sys.stderr.write("error: ro.board.api_level(%d) must not be less than "
86 sys.stderr.write("error: %s cannot exceed %d bytes: " %
88 sys.stderr.write("%s (%d)\n" % (p.value, len(p.value)))
92 sys.stderr.write("error: found unresolved optional prop assignment:\n")
93 sys.stderr.write(str(p) + "\n")
128 sys.stderr.write("error: found duplicate sysprop assignments:\n")
130 sys.stderr.write("%s\n" % str(p))
247 sys.stderr.write("bad command line: " + str(argv) + "\n")
Dmerge-event-log-tags.py65 print("unhandled option %s" % (o,), file=sys.stderr)
136 print("%s:%d: error: %s" % (fn, ln, msg), file=sys.stderr)
141 print("%s:%d: warning: %s" % (fn, ln, msg), file=sys.stderr)
164 file=sys.stderr)
/build/bazel/rules/partitions/diff/
Dpartition_inspector.py30 … p = subprocess.run(command, check=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
31 if len(p.stderr.splitlines()) > 1:
35 sys.exit(p.stderr)
/build/make/tools/compliance/cmd/shippedlibs/
Dshippedlibs_test.go200 stderr := &bytes.Buffer{}
207 ctx := context{stdout, stderr, compliance.GetFS(tt.outDir)}
211 t.Fatalf("shippedLibs: error = %v, stderr = %v", err, stderr)
214 if stderr.Len() > 0 {
215 t.Errorf("shippedLibs: gotStderr = %v, want none", stderr)
/build/soong/cmd/run_with_timeout/
Drun_with_timeout_test.go83 stderr := &bytes.Buffer{}
84 …t.args.command, tt.args.args, tt.args.timeout, tt.args.onTimeoutCmd, tt.args.stdin, stdout, stderr)
92 if gotStderr := stderr.String(); !regexp.MustCompile(tt.wantStderr).MatchString(gotStderr) {
/build/make/tools/compliance/cmd/bom/
Dbom_test.go281 stderr := &bytes.Buffer{}
288 ctx := context{stdout, stderr, compliance.GetFS(tt.outDir), []string{tt.stripPrefix}}
292 t.Fatalf("bom: error = %v, stderr = %v", err, stderr)
295 if stderr.Len() > 0 {
296 t.Errorf("bom: gotStderr = %v, want none", stderr)
/build/make/tools/compliance/cmd/checkmetadata/
Dcheckmetadata_test.go164 stderr := &bytes.Buffer{}
170 err := checkProjectMetadata(stdout, stderr, compliance.GetFS(""), projects...)
172 t.Fatalf("checkmetadata: error = %v, stderr = %v", err, stderr)
/build/make/tools/compliance/cmd/rtrace/
Drtrace_test.go286 stderr := &bytes.Buffer{}
295 _, err := traceRestricted(&tt.ctx, stdout, stderr, compliance.GetFS(tt.outDir), rootFiles...)
296 t.Logf("rtrace: stderr = %v", stderr)
302 if stderr.Len() > 0 {
303 t.Errorf("rtrace: gotStderr = %v, want none", stderr)
/build/make/tools/compliance/
Dpolicy_resolveprivacy_test.go76 stderr := &bytes.Buffer{}
77 lg, err := toGraph(stderr, tt.roots, tt.edges)
/build/make/tools/compliance/cmd/listshare/
Dlistshare_test.go443 stderr := &bytes.Buffer{}
449 err := listShare(stdout, stderr, compliance.GetFS(tt.outDir), rootFiles...)
451 t.Fatalf("listshare: error = %v, stderr = %v", err, stderr)
454 if stderr.Len() > 0 {
455 t.Errorf("listshare: gotStderr = %v, want none", stderr)
/build/soong/bazel/
Dbazel_proxy.go138 func ExecBazel(bazelPath string, workspaceDir string, request CmdRequest) (stdout []byte, stderr []…
152 stderr = stderrBuffer.Bytes()
168 stdout, stderr, cmdErr := ExecBazel("./build/bazel/bin/bazel", b.workspaceDir, req)
174 resp := CmdResponse{string(stdout), string(stderr), errorString}

12345