/build/soong/scripts/ |
D | manifest_fixer_test.py | 62 output = StringIO.StringIO() 63 manifest_fixer.write_xml(output, doc) 64 return output.getvalue() 88 output = self.raise_min_sdk_version_test(manifest_input, '28', '28', False) 89 self.assertEqual(output, expected) 97 output = self.raise_min_sdk_version_test(manifest_input, '28', '28', False) 98 self.assertEqual(output, expected) 105 output = self.raise_min_sdk_version_test(manifest_input, '28', '28', False) 106 self.assertEqual(output, expected) 113 output = self.raise_min_sdk_version_test(manifest_input, '28', '28', False) [all …]
|
D | test_config_fixer_test.py | 62 output = StringIO.StringIO() 63 test_config_fixer.write_xml(output, doc) 67 self.assertEqual(expected, output.getvalue()) 89 output = StringIO.StringIO() 90 test_config_fixer.write_xml(output, doc) 94 self.assertEqual(expected, output.getvalue())
|
D | mergenotice.py | 40 with open(args.output, 'w+') as output: 46 output.write('%s\n\n' % data)
|
/build/soong/ui/status/ |
D | kati_test.go | 47 output := &lastOutput{} 48 status.AddOutput(output) 56 output.Expect(t, Counts{}) 58 if output.msgLevel != VerboseLvl { 59 t.Errorf("Expected verbose message, but got %d", output.msgLevel) 61 if output.msg != msg { 62 t.Errorf("unexpected message contents:\nwant: %q\n got: %q\n", msg, output.msg) 66 output.Expect(t, Counts{}) 69 output.Expect(t, Counts{ 77 output.Expect(t, Counts{ [all …]
|
/build/blueprint/parser/ |
D | printer_test.go | 24 output string 30 output: ` 38 output: ` 52 output: ` 70 output: ` 85 output: ` 100 output: ` 117 output: ` 135 output: ` 155 output: ` [all …]
|
D | printer.go | 38 output []byte member 68 return p.output, nil 76 return p.output, nil 84 return p.output, nil 231 p.output = append(p.output, s...) 313 p.output = append(p.output, '\n') 316 p.output = append(p.output, "\n\n"...) 319 p.output = append(p.output, ' ') 340 p.output = append(p.output, strings.TrimSpace(line)...) 361 p.output = append(p.output, '\n') [all …]
|
/build/blueprint/proptools/ |
D | unpack_test.go | 28 output []interface{} 39 output: []interface{}{ 58 output: []interface{}{ 73 output: []interface{}{ 89 output: []interface{}{ 110 output: []interface{}{ 133 output: []interface{}{ 154 output: []interface{}{ 175 output: []interface{}{ 202 output: []interface{}{ [all …]
|
/build/soong/ui/logger/ |
D | logger.go | 238 output := fmt.Sprint(v...) 239 s.Output(2, output) 245 output := fmt.Sprintf(format, v...) 246 s.Output(2, output) 252 output := fmt.Sprintln(v...) 253 s.Output(2, output) 259 output := fmt.Sprint(v...) 260 s.VerboseOutput(2, output) 266 output := fmt.Sprintf(format, v...) 267 s.VerboseOutput(2, output) [all …]
|
/build/blueprint/ |
D | ninja_writer_test.go | 30 output string 36 output: "# foo\n", 42 output: "pool foo\n", 48 output: "rule foo\n", 55 output: "# foo comment\nbuild o1 o2 | io1 io2: foo e1 e2 | i1 i2 || oo1 oo2 |@ v1 v2\n", 61 output: "default foo\n", 67 output: "foo = bar\n", 73 output: " foo = bar\n", 79 output: "subninja build.ninja\n", 85 output: "\n", [all …]
|
D | ninja_strings_test.go | 137 output, err := parseNinjaString(scope, testCase.input) 139 if !reflect.DeepEqual(output, expected) { 143 t.Errorf(" got: %#v", output) 167 output, err := parseNinjaString(scope, input) 173 if !reflect.DeepEqual(output.(*varNinjaString).variables, expect) { 177 t.Errorf(" got: %#v", output)
|
/build/soong/ui/build/ |
D | goma.go | 40 output := strings.TrimRight(string(cmd.CombinedOutputOrFatal()), "\n") 41 ctx.Verbose(output + "\n") 44 if output == "unlimited" { 47 num, err := strconv.Atoi(output) 77 if output, err := cmd.CombinedOutput(); err != nil { 78 ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n%s\n", err, output)
|
D | rbe.go | 73 if output, err := cmd.CombinedOutput(); err != nil { 74 ctx.Fatalf("rbe bootstrap failed with: %v\n%s\n", err, output) 80 if output, err := cmd.CombinedOutput(); err != nil { 81 ctx.Fatalf("rbe bootstrap with shutdown failed with: %v\n%s\n", err, output)
|
/build/soong/cmd/dep_fixer/ |
D | main.go | 37 output := flag.String("o", "", "Optional output file (defaults to rewriting source if necessary)") 68 if *output == "" || *output == flag.Arg(0) { 76 err := ioutil.WriteFile(*output, new, 0666) 78 log.Fatalf("Failed to write to %q: %v", *output, err)
|
/build/soong/ui/terminal/ |
D | simple_status.go | 56 output := s.formatter.result(result) 57 output = string(stripAnsiEscapes([]byte(output))) 59 if output != "" { 60 fmt.Fprint(s.writer, progress, "\n", output)
|
D | util_test.go | 24 output string 57 if got != tc.output { 61 " got: %#v", tc.input, tc.output, got)
|
/build/soong/cc/ |
D | object.go | 127 output := android.PathForModuleOut(ctx, ctx.ModuleName()+objectExtension) 129 builderFlags, output) 130 outputFile = output 133 output := android.PathForModuleOut(ctx, ctx.ModuleName()+objectExtension) 134 outputFile = output 139 builderFlags, output) 140 output = input 143 TransformObjsToObj(ctx, objs.objFiles, builderFlags, output, flags.LdFlagsDeps)
|
/build/soong/cc/config/ |
D | tidy_test.go | 35 output := TidyChecksForDir(testCase.input) 36 if output != testCase.expected { 37 t.Error("Output doesn't match expected", output, testCase.expected)
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 36 output = flag.String("o", "", "output file") var 73 if *input == "" || *output == "" { 86 output, err := os.Create(*output) 90 defer output.Close() 92 writer := zip.NewWriter(output) 137 input, output := includeSplit(arg) 146 if output == "" { 157 newName = filepath.Join(output, rel) 160 newName = output
|
/build/soong/androidmk/cmd/ |
D | androidmk.go | 47 output, errs := androidmk.ConvertFile(os.Args[1], bytes.NewBuffer(b)) 48 if len(output) > 0 { 49 fmt.Print(output)
|
/build/soong/symbol_inject/cmd/ |
D | symbol_inject.go | 27 output = flag.String("o", "", "output file") var 49 if *output == "" { 78 w, err := os.OpenFile(*output, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777) 94 os.Remove(*output)
|
/build/make/tools/ |
D | generate-self-extracting-archive.py | 158 with open(output_filename, 'wb') as output: 159 output.write(_HEADER_TEMPLATE.format( 166 _pipe_bytes(input_file, output) 174 _pipe_bytes(trailing_zip, output)
|
/build/soong/makedeps/ |
D | deps_test.go | 29 output Deps 36 output: Deps{ 50 output: Deps{ 60 output: Deps{ 68 output: Deps{ 81 output: Deps{ 94 output: Deps{ 102 output: Deps{ 122 output: Deps{ 141 output: Deps{ [all …]
|
/build/make/tools/releasetools/ |
D | verity_utils.py | 44 output = common.RunAndCheckOutput(cmd, verbose=False) 45 return int(output) 50 output = common.RunAndCheckOutput(cmd, verbose=False) 51 return int(output) 56 output = common.RunAndCheckOutput(cmd, verbose=False) 57 return int(output) 92 output = common.RunAndCheckOutput(cmd) 93 root, salt = output.split() 468 output, _ = proc.communicate() 471 "Failed to calculate max image size:\n{}".format(output)) [all …]
|
/build/make/tools/signtos/ |
D | SignTos.java | 223 private static void signWholeFile(InputStream input, OutputStream output, PrivateKey signingKey) in signWholeFile() argument 234 output.write(buffer, 0, bytesRead); in signWholeFile() 246 output.write(buffer, 0, bytesRead); in signWholeFile() 253 output.write(sigBlock); in signWholeFile() 304 OutputStream output = new BufferedOutputStream(new FileOutputStream(outputFilename)); in main() local 306 SignTos.signWholeFile(input, output, privateKey); in main() 309 output.close(); in main()
|
/build/soong/cmd/fileslist/ |
D | fileslist.go | 108 output := make([]Node, 0, 1024) // Local output list. 111 output = append(output, node) 116 allOutput = append(allOutput, output...)
|