/build/soong/ui/status/ |
D | log.go | 57 func (v *verboseLog) FinishAction(result ActionResult, counts Counts) { 58 cmd := result.Command 60 cmd = result.Description 65 if result.Error != nil { 66 fmt.Fprintf(v.w, "FAILED: %s\n", strings.Join(result.Outputs, " ")) 69 if result.Output != "" { 70 fmt.Fprintln(v.w, result.Output) 107 func (e *errorLog) FinishAction(result ActionResult, counts Counts) { 108 if result.Error == nil { 117 fmt.Fprintf(e.w, "FAILED: %s\n", result.Description) [all …]
|
D | kati_test.go | 25 result ActionResult member 36 l.result = r 92 if output.result.Output != msg { 93 t.Errorf("output for action did not match:\nwant: %q\n got: %q\n", msg, output.result.Output) 100 if output.result.Output != "" { 101 t.Errorf("expected no output for last action, but got %q", output.result.Output) 172 if output.result.Error == nil {
|
D | critical_path.go | 68 func (cp *criticalPath) FinishAction(result ActionResult, counts Counts) { 69 if start, ok := cp.running[result.Action]; ok { 70 delete(cp.running, result.Action) 74 for _, input := range result.Action.Inputs { 91 action: result.Action, 97 for _, output := range result.Action.Outputs {
|
D | status.go | 106 FinishAction(result ActionResult) 171 FinishAction(result ActionResult, counts Counts) 249 func (s *Status) finishAction(result ActionResult) { 257 o.FinishAction(result, s.counts) 318 func (d *toolStatus) FinishAction(result ActionResult) { 324 d.status.finishAction(result)
|
/build/make/tools/ziptime/ |
D | ZipFile.cpp | 75 status_t result = 0; in rewriteCentralDir() local 88 result = -1; in rewriteCentralDir() 96 result = -1; in rewriteCentralDir() 109 result = -1; in rewriteCentralDir() 116 result = -1; in rewriteCentralDir() 130 result = -1; in rewriteCentralDir() 135 result = mEOCD.readBuf(buf + i, readAmount - i); in rewriteCentralDir() 136 if (result != 0) { in rewriteCentralDir() 158 result = -1; in rewriteCentralDir() 169 result = pEntry->initAndRewriteFromCDE(mZipFp); in rewriteCentralDir() [all …]
|
D | ZipEntry.cpp | 46 status_t result; in initAndRewriteFromCDE() local 50 result = mCDE.rewrite(fp); in initAndRewriteFromCDE() 51 if (result != 0) { in initAndRewriteFromCDE() 53 return result; in initAndRewriteFromCDE() 64 result = mLFH.rewrite(fp); in initAndRewriteFromCDE() 65 if (result != 0) { in initAndRewriteFromCDE() 67 return result; in initAndRewriteFromCDE()
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 105 status_t result; in open() local 111 result = readCentralDir(); in open() 123 result = OK; in open() 131 return result; in open() 208 status_t result = OK; in readCentralDir() local 221 result = INVALID_OPERATION; in readCentralDir() 229 result = NO_MEMORY; in readCentralDir() 242 result = UNKNOWN_ERROR; in readCentralDir() 249 result = UNKNOWN_ERROR; in readCentralDir() 264 result = INVALID_OPERATION; in readCentralDir() [all …]
|
D | ZipEntry.cpp | 43 status_t result; in initFromCDE() local 50 result = mCDE.read(fp); in initFromCDE() 51 if (result != OK) { in initFromCDE() 53 return result; in initFromCDE() 66 result = mLFH.read(fp); in initFromCDE() 67 if (result != OK) { in initFromCDE() 69 return result; in initFromCDE() 406 status_t result = OK; in read() local 413 result = UNKNOWN_ERROR; in read() 419 result = UNKNOWN_ERROR; in read() [all …]
|
D | ZipAlign.cpp | 161 int result = copyAndAlign(&zin, &zout, alignment, zopfli, pageAlignSharedLibs); in process() local 162 if (result != 0) { in process() 166 return result; in process() 232 int result = 1; in main() local 291 result = verify(argv[1], alignment, verbose, pageAlignSharedLibs); in main() 294 result = process(argv[1], argv[2], alignment, force, zopfli, pageAlignSharedLibs); in main() 297 if (result == 0) { in main() 298 result = verify(argv[2], alignment, verbose, pageAlignSharedLibs); in main() 305 result = 2; in main() 308 return result; in main()
|
/build/blueprint/pathtools/ |
D | lists.go | 26 result := make([]string, len(paths)) 28 result[i] = filepath.Join(prefix, path) 30 return result 34 result := make([]string, len(paths)) 36 result[i] = ReplaceExtension(path, extension) 38 return result
|
/build/soong/ui/terminal/ |
D | format.go | 105 func (s formatter) result(result status.ActionResult) string { func 107 if result.Error != nil { 108 targets := strings.Join(result.Outputs, " ") 109 if s.quiet || result.Command == "" { 110 ret = fmt.Sprintf("FAILED: %s\n%s", targets, result.Output) 112 ret = fmt.Sprintf("FAILED: %s\n%s\n%s", targets, result.Command, result.Output) 114 } else if result.Output != "" { 115 ret = result.Output
|
D | simple_status.go | 48 func (s *simpleStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) { 49 str := result.Description 51 str = result.Command 56 output := s.formatter.result(result)
|
/build/soong/scripts/ |
D | construct_context_test.py | 42 result = construct_contexts(args) 54 self.assertEqual(result, expect) 58 result = construct_contexts(args) 66 self.assertEqual(result, expect) 70 result = construct_contexts(args) 78 self.assertEqual(result, expect)
|
D | manifest_check.py | 134 result = [] 135 [result.append(x) for x in l if x not in result] 136 return result
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-resource-browser.js | 28 if (!resultMatchesKeyword(loadedResults[i].result, keywords[j])) { 42 function resultMatchesKeyword(result, keyword) { argument 44 if (result.title && 45 result.title.en.toLowerCase().indexOf(keyword) >= 0) 47 else if (result.description && 48 result.description.en.toLowerCase().indexOf(keyword) >= 0) 50 else if (result.topicsHtml && 51 result.topicsHtml.replace(/\<.*?\>/g,'').toLowerCase().indexOf(keyword) >= 0) 159 var result = results[i]; 160 var resultJqNode = $(tmpl('tmpl_resource_browser_result', result)); [all …]
|
/build/blueprint/ |
D | ninja_strings.go | 67 result *varNinjaString member 71 if len(ps.result.variables) == len(ps.result.strings) { 73 ps.result.strings = append(ps.result.strings, "") 78 ps.result.variables = append(ps.result.variables, v) 82 if len(ps.result.strings) != len(ps.result.variables) { 85 ps.result.strings = append(ps.result.strings, ps.pendingStr+s) 103 result := &varNinjaString{ 111 result: result, 129 return result, nil 275 result := make([]ninjaString, len(strs)) [all …]
|
/build/make/tools/ |
D | product_debug.py | 54 result = "" 57 result = result + groups[i] 62 result = result + "<a href=\"%s\">%s</a>" % (href,s) 63 result = result + groups[-1] 64 return result
|
D | filter-product-graph.py | 15 result = set() 17 result.add(inc) 20 result.add(d[0]) 21 return result
|
D | soong_to_convert.py | 101 return sorted(results, key=lambda result: (-result[0], result[1]))
|
/build/soong/sdk/ |
D | java_sdk_test.go | 94 result := testSdkWithJava(t, ` 115 java.CheckModuleDependencies(t, result.ctx, "mysdk", "android_common", []string{"sdkmember"}) 117 result.CheckSnapshot("mysdk", "", 140 result := testSdkWithJava(t, ` 207 …sdkMemberV1 := result.ctx.ModuleForTests("sdkmember_mysdk_1", "android_common").Rule("combineJar")… 208 …sdkMemberV2 := result.ctx.ModuleForTests("sdkmember_mysdk_2", "android_common").Rule("combineJar")… 210 javalibForMyApex := result.ctx.ModuleForTests("myjavalib", "android_common_myapex") 211 javalibForMyApex2 := result.ctx.ModuleForTests("myjavalib", "android_common_myapex2") 219 result := testSdkWithJava(t, ` 238 result.CheckSnapshot("mysdk", "", [all …]
|
D | cc_sdk_test.go | 43 result := testSdkWithCc(t, ` 56 …armOutput := result.Module("sdkmember", "android_arm_armv7-a-neon_shared").(*cc.Module).OutputFile… 57 arm64Output := result.Module("sdkmember", "android_arm64_armv8-a_shared").(*cc.Module).OutputFile() 60 buildParams := result.Module("mysdk", android.CommonOS.Name).BuildParamsForTests() 73 result := testSdkWithCc(t, ` 92 result.CheckSnapshot("mysdk", "", 143 result := testSdkWithCc(t, ` 236 …sdkMemberV1 := result.ModuleForTests("sdkmember_mysdk_1", "android_arm64_armv8-a_shared_myapex").R… 237 …sdkMemberV2 := result.ModuleForTests("sdkmember_mysdk_2", "android_arm64_armv8-a_shared_myapex2").… 239 cpplibForMyApex := result.ModuleForTests("mycpplib", "android_arm64_armv8-a_shared_myapex") [all …]
|
D | exports_test.go | 39 result := testSdkWithFs(t, ``, 45 result.CheckSnapshot("myexports", "package",
|
/build/soong/ui/tracer/ |
D | status.go | 63 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) { 64 start, ok := s.running[result.Action] 68 delete(s.running, result.Action) 71 str := result.Action.Description 72 if len(result.Action.Outputs) > 0 { 73 str = result.Action.Outputs[0]
|
/build/soong/java/ |
D | android_resources.go | 113 var result overlayGlobResult 114 result.dir = overlay 115 result.overlayType = t 128 result.paths = android.PathsToDirectorySortedPaths(paths) 129 overlayData = append(overlayData, result)
|
/build/soong/android/ |
D | util.go | 177 func RemoveListFromList(list []string, filter_out []string) (result []string) { 178 result = make([]string, 0, len(list)) 181 result = append(result, l) 193 result := make([]string, 0, len(list)-1) 194 result = append(result, list[:i]...) 197 result = append(result, l) 200 return true, result
|