Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 101) sorted by relevance

12345

/build/soong/scripts/
Dmanifest_fixer_test.py62 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 …]
Dmergenotice.py40 with open(args.output, 'w+') as output:
46 output.write('%s\n\n' % data)
/build/soong/ui/status/
Dkati_test.go47 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/
Dunpack_test.go30 output []interface{}
41 output: []interface{}{
60 output: []interface{}{
75 output: []interface{}{
91 output: []interface{}{
112 output: []interface{}{
135 output: []interface{}{
156 output: []interface{}{
177 output: []interface{}{
204 output: []interface{}{
[all …]
Dninja_writer_test.go30 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\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 …]
Dninja_strings_test.go115 output, err := parseNinjaString(scope, testCase.input)
117 if !reflect.DeepEqual(output.variables, expectedVars) {
121 t.Errorf(" got: %#v", output.variables)
123 if !reflect.DeepEqual(output.strings, testCase.strs) {
127 t.Errorf(" got: %#v", output.strings)
151 output, err := parseNinjaString(scope, input)
157 if !reflect.DeepEqual(output.variables, expect) {
161 t.Errorf(" got: %#v", output)
/build/blueprint/parser/
Dprinter_test.go24 output string
30 output: `
38 output: `
52 output: `
70 output: `
85 output: `
100 output: `
117 output: `
135 output: `
155 output: `
[all …]
Dprinter.go38 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/soong/ui/logger/
Dlogger.go238 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/kati/
Ddep.cc50 Symbol output, in ApplyOutputPattern() argument
57 out_inputs->push_back(ReplaceSuffix(output, input)); in ApplyOutputPattern()
69 pat.AppendSubst(output.str(), input.str(), &buf); in ApplyOutputPattern()
128 bool IsSuffixRule(Symbol output) { in IsSuffixRule() argument
129 if (output.empty() || output.str()[0] != '.') in IsSuffixRule()
131 const StringPiece rest = StringPiece(output.str()).substr(1); in IsSuffixRule()
153 void AddImplicitOutput(Symbol output, RuleMerger* merger) { in AddImplicitOutput()
154 implicit_outputs.push_back(make_pair(output, merger)); in AddImplicitOutput()
157 void SetImplicitOutput(Symbol output, Symbol p, const RuleMerger* merger) { in SetImplicitOutput()
159 ERROR("*** implicit output `%s' on phony target `%s'", output.c_str(), in SetImplicitOutput()
[all …]
Druntest.rb166 def normalize_kati_log(output) argument
167 output = normalize_quotes(output)
168 output = move_circular_dep(output)
171 output.gsub!(/^\*kati\*.*\n/, '')
172 output.gsub!(/^c?kati: /, '')
173 output.gsub!(/\/bin\/sh: ([^:]*): command not found/,
175 output.gsub!(/.*: warning for parse error in an unevaluated line: .*\n/, '')
176 output.gsub!(/^([^ ]+: )?FindEmulator: /, '')
177 output.gsub!(/^\/bin\/sh: line 0: /, '')
178 output.gsub!(/ (\.\/+)+kati\.\S+/, '') # kati log files in find_command.mk
[all …]
Dexec.cc53 auto found = done_.find(n->output); in ExecNode()
57 needed_by ? needed_by->output.c_str() : "(null)", in ExecNode()
58 n->output.c_str()); in ExecNode()
62 done_[n->output] = kProcessing; in ExecNode()
63 double output_ts = GetTimestamp(n->output.c_str()); in ExecNode()
65 LOG("ExecNode: %s for %s", n->output.c_str(), in ExecNode()
66 needed_by ? needed_by->output.c_str() : "(null)"); in ExecNode()
71 n->output.c_str(), needed_by->output.c_str()); in ExecNode()
73 ERROR("*** No rule to make target '%s'.", n->output.c_str()); in ExecNode()
79 if (Exists(d.second->output.str())) { in ExecNode()
[all …]
Ddep.go151 func (db *depBuilder) canPickImplicitRule(r *rule, output string) bool {
153 if !outputPattern.match(output) {
157 input = outputPattern.subst(input, output)
186 func (db *depBuilder) pickRule(output string) (*rule, Vars, bool) {
187 r, present := db.rules[output]
188 vars := db.ruleVars[output]
200 irules := db.implicitRules.lookup(output)
203 if !db.canPickImplicitRule(irule, output) {
204 glog.Infof("ignore implicit rule %q %s", output, irule)
207 glog.Infof("pick implicit rule %q => %q %s", output, irule.outputPatterns, irule)
[all …]
Dexec.go47 output, _ := ex.ctx.vpaths.exists(n.Output)
49 glog.V(1).Infof("MakeJob: %s for %s", output, neededBy.n.Output)
51 n.Output = output
57 j, present := ex.done[output]
86 ex.done[output] = nil
112 ex.done[output] = j
Dcommand.h28 explicit Command(Symbol o) : output(o), echo(true), ignore_error(false) {} in Command()
29 Symbol output; member
Devalcmd.go32 output string member
105 func (v autoAtVar) String() string { return v.ctx.output }
146 func (v autoStarVar) String() string { return stripExt(v.ctx.output) }
193 output string member
266 func (r runner) run(output string) error {
284 fmt.Printf("[%s] Error %d (ignored)\n", output, exit)
299 ctx.output = n.Output
314 output: n.Output,
332 output: n.Output,
/build/soong/cc/
Dobject.go91 output := android.PathForModuleOut(ctx, ctx.ModuleName()+objectExtension)
93 builderFlags, output)
94 outputFile = output
97 output := android.PathForModuleOut(ctx, ctx.ModuleName()+objectExtension)
98 outputFile = output
103 builderFlags, output)
104 output = input
107 TransformObjsToObj(ctx, objs.objFiles, builderFlags, output)
/build/soong/ui/build/
Dgoma.go40 output := strings.TrimRight(string(cmd.CombinedOutputOrFatal()), "\n")
41 ctx.Verbose(output + "\n")
44 if output == "unlimited" {
47 num, err := strconv.Atoi(output)
76 if output, err := cmd.CombinedOutput(); err != nil {
77 ctx.Fatalf("goma_ctl.py ensure_start failed with: %v\n%s\n", err, output)
/build/soong/cmd/dep_fixer/
Dmain.go35 output := flag.String("o", "", "Optional output file (defaults to rewriting source if necessary)")
66 if *output == "" || *output == flag.Arg(0) {
74 err := ioutil.WriteFile(*output, new, 0666)
76 log.Fatalf("Failed to write to %q: %v", *output, err)
/build/soong/ui/terminal/
Dutil_test.go24 output string
57 if got != tc.output {
61 " got: %#v", tc.input, tc.output, got)
/build/soong/cc/config/
Dtidy_test.go35 output := TidyChecksForDir(testCase.input)
36 if output != testCase.expected {
37 t.Error("Output doesn't match expected", output, testCase.expected)
/build/kati/testcase/
Dparse_benchcmp.go39 func output(prog string, args ...string) string { func
78 status := output("git", "status", "-s")
84 curBranch := output("git", "symbolic-ref", "--short", "HEAD")
94 commit := output("git", "log", "--oneline", "-1")
102 commit = output("git", "log", "--oneline", "-1")
/build/soong/cmd/zip2zip/
Dzip2zip.go36 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/symbol_inject/cmd/
Dsymbol_inject.go27 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/soong/java/
Dhiddenapi.go131 …: `rm -rf $tmpDir && mkdir -p $tmpDir && mkdir $tmpDir/dex-input && mkdir $tmpDir/dex-output && ` +
137 …`${config.SoongZipCmd} $soongZipFlags -o $tmpDir/dex.jar -C $tmpDir/dex-output -f "$tmpDir/dex-out…
146 func hiddenAPIEncodeDex(ctx android.ModuleContext, output android.WritablePath, dexInput android.Pa…
155 tmpOutput := output
183 TransformZipAlign(ctx, output, tmpOutput)

12345