/build/soong/android/ |
D | variable.go | 447 prefix string, productVariablePropertyValue reflect.Value, variableValue interface{}) { 449 printfIntoProperties(ctx, prefix, productVariablePropertyValue, variableValue) 462 func printfIntoPropertiesError(ctx BottomUpMutatorContext, prefix string, 466 property := prefix + "." + proptools.PropertyNameForField(field) 470 func printfIntoProperties(ctx BottomUpMutatorContext, prefix string, 486 printfIntoPropertiesError(ctx, prefix, productVariablePropertyValue, i, err) 492 printfIntoPropertiesError(ctx, prefix, productVariablePropertyValue, i, err) 498 printfIntoProperties(ctx, prefix, propertyValue, variableValue) 598 func(field reflect.StructField, prefix string) (bool, reflect.StructField) { 600 if prefix == "" { [all …]
|
D | arch.go | 1063 func filterArchStruct(field reflect.StructField, prefix string) (bool, reflect.StructField) { 1080 panic(fmt.Errorf("unknown tags %q in field %q", values, prefix+field.Name)) 1198 prefix := "target.host" 1199 m.appendProperties(ctx, genProps, targetProp, field, prefix) 1210 prefix := "target.linux" 1211 m.appendProperties(ctx, genProps, targetProp, field, prefix) 1216 prefix := "target.bionic" 1217 m.appendProperties(ctx, genProps, targetProp, field, prefix) 1233 prefix := "target." + os.Name 1234 m.appendProperties(ctx, genProps, targetProp, field, prefix) [all …]
|
D | androidmk.go | 57 Custom func(w io.Writer, name, prefix, moduleDir string, data AndroidMkData) 94 type AndroidMkExtraFootersFunc func(w io.Writer, name, prefix, moduleDir string, entries *AndroidMk… 355 prefix := "" 359 prefix = "HOST_" 361 prefix = "HOST_CROSS_" 363 prefix = "TARGET_" 368 prefix = "2ND_" + prefix 379 footerFunc(&a.footer, name, prefix, blueprintDir, a) 559 prefix := "" 563 prefix = "HOST_" [all …]
|
D | util.go | 32 func JoinWithPrefix(strs []string, prefix string) string { 38 return prefix + strs[0] 43 n += len(prefix) + len(s) 51 ret = append(ret, prefix...) 126 for _, prefix := range prefixList { 127 if strings.HasPrefix(s, prefix) { 135 func PrefixInList(list []string, prefix string) bool { 137 if strings.HasPrefix(s, prefix) {
|
D | namespace.go | 337 prefix := r.findNamespaceFromCtx(ctx).id 338 if prefix != "" { 339 prefix = prefix + "-" 341 return prefix + name
|
D | neverallow.go | 312 prefix string member 316 return strings.HasPrefix(value, m.prefix) 320 return ".starts-with(" + m.prefix + ")" 546 func StartsWith(prefix string) ValueMatcher { 547 return &startsWithMatcher{prefix}
|
/build/soong/python/ |
D | builder.go | 48 `echo "#!/usr/bin/env python" >${out}.prefix &&` + 49 `$mergeParCmd -p --prefix ${out}.prefix -pm $stub $out $srcsZips && ` + 50 `chmod +x $out && (rm -f $stub; rm -f ${out}.prefix)`, 59 `$mergeParCmd -p -pm $out.main --prefix $launcher $out $srcsZips && ` + 67 Command: `$mergeParCmd -p --prefix $launcher $out $srcsZips && ` +
|
/build/blueprint/proptools/ |
D | filter.go | 39 func filterPropertyStructFields(fields []reflect.StructField, prefix string, maxTypeNameSize int, 73 if keep, field = predicate(field, prefix); !keep { 79 if prefix != "" { 80 subPrefix = prefix + "." + subPrefix 156 func filterPropertyStruct(prop reflect.Type, prefix string, maxNameSize int, 170 …filteredFieldsShards, filtered := filterPropertyStructFields(fields, prefix, maxNameSize, predicat…
|
D | unpack.go | 124 func (ctx *unpackContext) buildPropertyMap(prefix string, properties []*parser.Property) bool { 127 name := fieldPath(prefix, property.Name) 162 if !ctx.buildPropertyMap(prefix, itemProperties) { 171 func fieldPath(prefix, fieldName string) string { argument 172 if prefix == "" { 175 return prefix + "." + fieldName
|
/build/make/tools/releasetools/ |
D | check_ota_package_signature.py | 107 sig_file = common.MakeTempFile(prefix='sig-') 117 digest_file = common.MakeTempFile(prefix='digest-') 122 decrypted_file = common.MakeTempFile(prefix='decrypted-') 151 pubkey = common.MakeTempFile(prefix="key-", suffix=".pem") 155 package_dir = common.MakeTempDir(prefix='package-')
|
D | target_files_diff.py | 154 def recursiveDiff(prefix, dir1, dir2, out_file): argument 162 name = os.path.join(prefix, entry) 204 name = os.path.join(prefix, entry)
|
D | apex_utils.py | 303 apex_file = common.MakeTempFile(prefix='apex-', suffix='.apex') 317 payload_dir = common.MakeTempDir(prefix='apex-payload-') 345 aligned_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex') 349 signed_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex')
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 517 prefix string member 532 if path == f.prefix { 534 } else if trimmedPath := strings.TrimPrefix(path, f.prefix+"/"); trimmedPath != path { 553 …"HOST_OUT": {{prefix: "/etc", modType: "prebuilt_etc_host"}, {prefix: "/usr/share", modType: "p… 554 "PRODUCT_OUT": {{prefix: "/system/etc"}, {prefix: "/vendor/etc", flags: []string{"proprietary"}}}, 555 …"TARGET_OUT": {{prefix: "/usr/share", modType: "prebuilt_usr_share"}, {prefix: "/fonts", modType: … 556 …{prefix: "/etc/firmware", modType: "prebuilt_firmware"}, {prefix: "/vendor/firmware", modType: "pr… 557 {prefix: "/etc"}}, 558 "TARGET_OUT_ETC": {{prefix: "/firmware", modType: "prebuilt_firmware"}, {prefix: ""}}, 559 …"TARGET_OUT_PRODUCT": {{prefix: "/etc", flags: []string{"product_specific"}}, {prefix: "/fo… [all …]
|
/build/soong/androidmk/androidmk/ |
D | android.go | 38 prefix string member 368 err = setVariable(ctx.file, ctx.append, ctx.prefix, name, component, true) 400 return setVariable(ctx.file, false, ctx.prefix, "compile_multilib", thirtyTwo, true) 413 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, paths, true) 429 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, &bpparser.List{}, true) 431 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, pathList.Values[0], true) 481 return setVariable(ctx.file, ctx.append, ctx.prefix, varName, val, true) 541 err = setVariable(ctx.file, false, ctx.prefix, "sanitize."+sub+v.Value, bpTrue, true) 554 err = setVariable(ctx.file, false, ctx.prefix, "sanitize."+sub+"misc_undefined", misc, true) 583 return setVariable(ctx.file, false, ctx.prefix, "strip."+sub, bpTrue, true) [all …]
|
D | androidmk.go | 264 prefix := "" 276 prefix = x.bp 282 if prefix != "" { 286 if prefix, ok = conditionalTranslations[c.cond][c.eq]; !ok { 305 err = prop(variableAssignmentContext{file, prefix, assignment.Value, appendVariable}) 321 err = setVariable(file, appendVariable, prefix, name, val, false) 391 func setVariable(file *bpFile, plusequals bool, prefix, name string, value bpparser.Expression, loc… argument 392 if prefix != "" { 393 name = prefix + "." + name
|
/build/blueprint/bootstrap/ |
D | glob.go | 82 func joinWithPrefixAndQuote(strs []string, prefix string) string { 88 return prefix + `"` + strs[0] + `"` 93 n += len(prefix) + len(s) + len(`""`) 101 ret = append(ret, prefix...)
|
/build/blueprint/pathtools/ |
D | lists.go | 25 func PrefixPaths(paths []string, prefix string) []string { 28 result[i] = filepath.Join(prefix, path)
|
/build/soong/symbol_inject/ |
D | pe.go | 35 var prefix string 38 prefix = "_" 63 Name: strings.TrimPrefix(symbol.Name, prefix),
|
/build/soong/scripts/ |
D | package-check.sh | 61 for prefix in ${prefixes[@]}; do 62 if [[ "${zip_entry}" = "${prefix}"* ]]; then
|
/build/soong/cmd/extract_jar_packages/ |
D | extract_jar_packages.go | 31 prefix = flag.String("prefix", "", "prefix for each entry in the output file") var 82 data = append(data, *prefix...)
|
/build/soong/ui/build/ |
D | cleanbuild.go | 145 prefix := "PREVIOUS_BUILD_CONFIG := " 147 currentProduct := prefix + config.TargetProduct() + "-" + config.TargetBuildVariant() + suffix 178 prevConfig := strings.TrimPrefix(strings.TrimSuffix(string(prev), suffix), prefix) 179 currentConfig := strings.TrimPrefix(strings.TrimSuffix(currentProduct, suffix), prefix)
|
/build/soong/android/soongconfig/ |
D | modules.go | 312 var recurse func(prefix string, aps []string) ([]string, reflect.Type) 313 recurse = func(prefix string, aps []string) ([]string, reflect.Type) { 318 if !strings.HasPrefix(affectableProperties[0], prefix) { 323 nestedProperty := strings.TrimPrefix(p, prefix) 328 affectableProperties, nestedType = recurse(prefix+nestedPrefix, affectableProperties) 406 prefix := property[:index] 409 v = v.FieldByName(proptools.FieldNameForProperty(prefix))
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 145 func getByName(name string, prefix string, props *[]Property) *Property { 147 if prefix+(*props)[i].Name == name { 149 } else if strings.HasPrefix(name, prefix+(*props)[i].Name+".") { 150 return getByName(name, prefix+(*props)[i].Name+".", &(*props)[i].Properties)
|
D | bpdoc.go | 158 var walk func(structValue reflect.Value, prefix string) 159 walk = func(structValue reflect.Value, prefix string) { 177 walk(fieldValue, prefix+proptools.PropertyNameForField(field.Name)+".") 191 nestPoint := prefix + proptools.PropertyNameForField(field.Name)
|
/build/soong/python/tests/testpkg/ |
D | par_test.py | 40 assert_equal("__loader__.prefix", __loader__.prefix, "testpkg/")
|