Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 87) sorted by relevance

1234

/build/soong/android/
Dvariable.go447 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 …]
Darch.go1063 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 …]
Dandroidmk.go57 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 …]
Dutil.go32 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) {
Dnamespace.go337 prefix := r.findNamespaceFromCtx(ctx).id
338 if prefix != "" {
339 prefix = prefix + "-"
341 return prefix + name
Dneverallow.go312 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/
Dbuilder.go48 `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/
Dfilter.go39 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…
Dunpack.go124 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/
Dcheck_ota_package_signature.py107 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-')
Dtarget_files_diff.py154 def recursiveDiff(prefix, dir1, dir2, out_file): argument
162 name = os.path.join(prefix, entry)
204 name = os.path.join(prefix, entry)
Dapex_utils.py303 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/
Dbpfix.go517 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/
Dandroid.go38 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 …]
Dandroidmk.go264 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/
Dglob.go82 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/
Dlists.go25 func PrefixPaths(paths []string, prefix string) []string {
28 result[i] = filepath.Join(prefix, path)
/build/soong/symbol_inject/
Dpe.go35 var prefix string
38 prefix = "_"
63 Name: strings.TrimPrefix(symbol.Name, prefix),
/build/soong/scripts/
Dpackage-check.sh61 for prefix in ${prefixes[@]}; do
62 if [[ "${zip_entry}" = "${prefix}"* ]]; then
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go31 prefix = flag.String("prefix", "", "prefix for each entry in the output file") var
82 data = append(data, *prefix...)
/build/soong/ui/build/
Dcleanbuild.go145 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/
Dmodules.go312 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/
Dproperties.go145 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)
Dbpdoc.go158 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/
Dpar_test.py40 assert_equal("__loader__.prefix", __loader__.prefix, "testpkg/")

1234