/build/soong/scripts/ |
D | manifest_fixer.py | 102 indent = get_indent(manifest.firstChild, 1) 107 manifest.insertBefore(doc.createTextNode(indent), manifest.firstChild) 156 indent = get_indent(manifest.firstChild, 1) 158 manifest.insertBefore(doc.createTextNode(indent), first) 161 indent = get_indent(application.firstChild, 2) 172 application.insertBefore(doc.createTextNode(indent), last) 179 indent = get_indent(application.previousSibling, 1) 180 application.appendChild(doc.createTextNode(indent)) 201 indent = get_indent(manifest.firstChild, 1) 203 manifest.insertBefore(doc.createTextNode(indent), first) [all …]
|
D | manifest.py | 113 indent = '' 116 indent = text[:len(text)-len(text.lstrip())] 117 if not indent or indent == '\n': 119 indent = '\n' + (' ' * default_level * 4) 120 return indent
|
D | jsonmodify.py | 135 json.dump(obj, f, indent=2, separators=(',', ': ')) 138 print(json.dumps(obj, indent=2, separators=(',', ': ')))
|
/build/soong/bp2build/ |
D | configurability.go | 161 func prettyPrintAttribute(v bazel.Attribute, indent int) (string, error) { 211 s, err := prettyPrint(value, indent, false) // never emit zero values for the base value 220 selectMap, err := prettyPrintSelectMap(selectsData, defaultValue, indent, emitZeroValues) 253 func prettyPrintSelectMap(selectMap map[string]reflect.Value, defaultValue *string, indent int, emi… 270 s, err := prettyPrintSelectEntry(value, selectKey, indent, true) 284 return prettyPrint(val, indent, emitZeroValues) 295 …ectMap[bazel.ConditionsDefaultSelectKey], bazel.ConditionsDefaultSelectKey, indent, emitZeroValues) 306 …ret += fmt.Sprintf("%s\"%s\": %s,\n", starlark_fmt.Indention(indent+1), bazel.ConditionsDefaultSel… 309 ret += starlark_fmt.Indention(indent) 317 func prettyPrintSelectEntry(value reflect.Value, key string, indent int, emitZeroValues bool) (stri… [all …]
|
D | build_conversion.go | 445 func prettyPrint(propertyValue reflect.Value, indent int, emitZeroValues bool) (string, error) { 468 return prettyPrint(propertyValue.Elem(), indent, emitZeroValues) 472 val, err := prettyPrint(propertyValue.Index(i), indent, emitZeroValues) 480 return starlark_fmt.PrintList(elements, indent, func(s string) string { 488 return prettyPrintAttribute(attr, indent) 494 structProps, err := extractStructProperties(propertyValue, indent) 503 return starlark_fmt.PrintDict(structProps, indent), nil 510 return starlark_fmt.PrintStringStringDict(v, indent), nil 523 func extractStructProperties(structValue reflect.Value, indent int) (map[string]string, error) { 550 propsToMerge, err := extractStructProperties(fieldValue, indent) [all …]
|
/build/make/tools/warn/ |
D | .pylintrc | 4 indent-string=' '
|
/build/make/core/ |
D | dex_preopt_config_merger.py | 96 f.write(json.dumps(cfgs[0], indent=4, separators=(',', ': ')))
|
/build/blueprint/parser/ |
D | printer.go | 160 p.indent(p.curIndent() + 4) 192 p.indent(p.curIndent() + 4) 248 p.indent(p.curIndent() + 4) 268 p.indent(p.curIndent() + 4) 294 p.indent(p.curIndent() + 4) 481 func (p *printer) indent(i int) { func
|
/build/soong/starlark_fmt/ |
D | format.go | 26 indent = 4 const 34 return strings.Repeat(" ", level*indent)
|
/build/soong/scripts/hiddenapi/ |
D | analyze_bcpf.py | 165 def snippet(self, indent): argument 167 snippet += format_comment_as_text(self.property_comment, indent) 292 indent = extract_indent(lines[property_line_index + 1]) 307 indent = extract_indent(lines[property_line_index]) 309 indent) 932 insert = textwrap.indent("\n".join(matched_signatures), 1387 def format_comment_as_text(text, indent): argument 1389 [f"{line}\n" for line in format_comment_as_lines(text, indent)]) 1392 def format_comment_as_lines(text, indent): argument 1393 lines = textwrap.wrap(text.strip("\n"), width=77 - len(indent))
|
/build/bazel/scripts/incremental_build/ |
D | ui.py | 135 textwrap.indent( 139 textwrap.indent(util.get_csv_columns_cmd(default_log_dir), " " * 4),
|
D | perf_metrics.py | 91 json.dump(build_info, f, indent=True, cls=util.CustomEncoder)
|
D | incremental_build.py | 320 logging.info(json.dumps(build_info, indent=2, cls=util.CustomEncoder))
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 348 indent := unicode.IsSpace(r) 349 if indent && !preformatted { 352 } else if !indent && line != "" && preformatted {
|
/build/make/tools/releasetools/ |
D | edify_generator.py | 45 indent = cmd.index("(")+1 48 x = re.compile("^(.{,%d})\0" % (linelen-indent,)) 51 out.append(" " * indent)
|
D | find_shareduid_violation.py | 123 return json.dumps(output, indent=2, sort_keys=True)
|
D | pylintrc | 269 indent-string=' ' 271 # Number of spaces of indent required inside a hanging or continued line. 272 indent-after-paren=4
|
D | sign_target_files_apks.py | 846 indent = len(line_info_parsed.group(1)) 851 while indent <= indent_stack[-1][0]: 860 indent_stack.append([indent, empty_list]) 864 indent_stack.append([indent, empty_dict])
|
/build/make/tools/ |
D | find_static_candidates.py | 218 print(json.dumps(module_info[args.module], default=list, indent=2))
|
/build/soong/tests/ |
D | genrule_sandbox_test.py | 197 print(textwrap.indent(d, " "))
|
/build/soong/bin/ |
D | soongdbg | 360 json.dump([m for m in modules], sys.stdout, indent=4, default=lambda o: o.__dict__) 363 json.dump(m, sys.stdout, indent=4, default=lambda o: o.__dict__)
|
/build/make/tools/sbom/ |
D | sbom_writers.py | 356 file.write(json.dumps(doc, indent=4))
|
/build/soong/cmd/soong_build/ |
D | writedocs.go | 312 .accordion,.simple{margin-left:1.5em;text-indent:-1.5em;margin-top:.25em}
|
/build/make/tools/perf/ |
D | benchmarks | 469 json.dump(data, f, indent=2, sort_keys=True)
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-core.css | 377 div.indent {
|