Home
last modified time | relevance | path

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

1234

/build/make/tools/product_config/
Dinherit_tree.py11 def PrintNodes(graph, node, prefix): argument
12 sys.stdout.write("%s%s" % (prefix, node))
17 PrintNodes(graph, child, prefix + " ")
18 sys.stdout.write("%s}\n" % prefix);
/build/soong/android/
Dvariable.go555 prefix string, productVariablePropertyValue reflect.Value, variableValue interface{}) {
557 printfIntoProperties(ctx, prefix, productVariablePropertyValue, variableValue)
570 func printfIntoPropertiesError(ctx BottomUpMutatorContext, prefix string,
574 property := prefix + "." + proptools.PropertyNameForField(field)
578 func printfIntoProperties(ctx BottomUpMutatorContext, prefix string,
594 printfIntoPropertiesError(ctx, prefix, productVariablePropertyValue, i, err)
600 printfIntoPropertiesError(ctx, prefix, productVariablePropertyValue, i, err)
606 printfIntoProperties(ctx, prefix, propertyValue, variableValue)
706 func(field reflect.StructField, prefix string) (bool, reflect.StructField) {
708 if prefix == "" {
[all …]
Darch.go936 func filterArchStruct(field reflect.StructField, prefix string) (bool, reflect.StructField) {
954 panic(fmt.Errorf("unknown tags %q in field %q", values, prefix+field.Name))
1101 prefix := "target.host"
1102 hostProperties := getChildPropertyStruct(ctx, targetProp, field, prefix)
1114 prefix := "target.linux"
1115 linuxProperties := getChildPropertyStruct(ctx, targetProp, field, prefix)
1121 prefix := "target.bionic"
1122 bionicProperties := getChildPropertyStruct(ctx, targetProp, field, prefix)
1139 prefix := "target." + os.Name
1140 osProperties := getChildPropertyStruct(ctx, targetProp, field, prefix)
[all …]
Dutil.go34 func JoinWithPrefix(strs []string, prefix string) string {
40 buf.WriteString(prefix)
44 buf.WriteString(prefix)
132 for _, prefix := range prefixList {
133 if strings.HasPrefix(s, prefix) {
151 func PrefixInList(list []string, prefix string) bool {
153 if strings.HasPrefix(s, prefix) {
Dandroidmk.go73 Custom func(w io.Writer, name, prefix, moduleDir string, data AndroidMkData)
166 type AndroidMkExtraFootersFunc func(w io.Writer, name, prefix, moduleDir string)
581 prefix := ""
586 prefix = "HOST_CROSS_"
588 prefix = "HOST_"
591 prefix = "TARGET_"
596 prefix = "2ND_" + prefix
613 footerFunc(&a.footer, name, prefix, blueprintDir)
810 prefix := ""
815 prefix = "HOST_CROSS_"
[all …]
Dnamespace.go338 prefix := r.findNamespaceFromCtx(ctx).id
339 if prefix != "" {
340 prefix = prefix + "-"
342 return prefix + name
/build/soong/python/
Dbuilder.go48 `echo "#!/usr/bin/env $interp" >${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-')
Dapex_utils.py337 payload_dir = common.MakeTempDir(prefix='apex-payload-')
367 aligned_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex')
371 signed_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex')
410 original_apex_file = common.MakeTempFile(prefix='original-apex-',
431 compressed_apex_file = common.MakeTempFile(prefix='apex-container-',
440 aligned_apex = common.MakeTempFile(prefix='apex-container-', suffix='.capex')
445 signed_apex = common.MakeTempFile(prefix='apex-container-', suffix='.capex')
481 apex_file = common.MakeTempFile(prefix='apex-container-', suffix='.apex')
585 decompressed_file_path = MakeTempFile(prefix="decompressed-",
Dota_from_target_files.py330 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
365 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
411 payload_file = common.MakeTempFile(prefix="payload-", suffix=".bin")
439 payload_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
440 metadata_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
453 signed_payload_file = common.MakeTempFile(prefix="signed-payload-",
464 properties_file = common.MakeTempFile(prefix="payload-properties-",
698 target_file = common.MakeTempFile(prefix="targetfiles-", suffix=".zip")
768 target_file = common.MakeTempFile(prefix="targetfiles-", suffix=".zip")
796 for prefix in ['IMAGES', 'RADIO']:
[all …]
Dota_from_target_files330 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
365 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
411 payload_file = common.MakeTempFile(prefix="payload-", suffix=".bin")
439 payload_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
440 metadata_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
453 signed_payload_file = common.MakeTempFile(prefix="signed-payload-",
464 properties_file = common.MakeTempFile(prefix="payload-properties-",
698 target_file = common.MakeTempFile(prefix="targetfiles-", suffix=".zip")
768 target_file = common.MakeTempFile(prefix="targetfiles-", suffix=".zip")
796 for prefix in ['IMAGES', 'RADIO']:
[all …]
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)
/build/soong/androidmk/androidmk/
Dandroid.go38 prefix string member
372 err = setVariable(ctx.file, ctx.append, ctx.prefix, name, component, true)
404 return setVariable(ctx.file, false, ctx.prefix, "compile_multilib", thirtyTwo, true)
417 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, paths, true)
433 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, &bpparser.List{}, true)
435 err = setVariable(ctx.file, ctx.append, ctx.prefix, attribute, pathList.Values[0], true)
485 return setVariable(ctx.file, ctx.append, ctx.prefix, varName, val, true)
545 err = setVariable(ctx.file, false, ctx.prefix, "sanitize."+sub+v.Value, bpTrue, true)
558 err = setVariable(ctx.file, false, ctx.prefix, "sanitize."+sub+"misc_undefined", misc, true)
587 return setVariable(ctx.file, false, ctx.prefix, "strip."+sub, bpTrue, true)
[all …]
Dandroidmk.go287 prefix := ""
299 prefix = x.bp
305 if prefix != "" {
309 if prefix, ok = conditionalTranslations[c.cond][c.eq]; !ok {
328 err = prop(variableAssignmentContext{file, prefix, assignment.Value, appendVariable})
344 err = setVariable(file, appendVariable, prefix, name, val, false)
414 func setVariable(file *bpFile, plusequals bool, prefix, name string, value bpparser.Expression, loc… argument
415 if prefix != "" {
416 name = prefix + "." + name
/build/soong/bpfix/bpfix/
Dbpfix.go521 prefix string member
536 if path == f.prefix {
538 } else if trimmedPath := strings.TrimPrefix(path, f.prefix+"/"); trimmedPath != path {
557 …"HOST_OUT": {{prefix: "/etc", modType: "prebuilt_etc_host"}, {prefix: "/usr/share", modType: "p…
558 "PRODUCT_OUT": {{prefix: "/system/etc"}, {prefix: "/vendor/etc", flags: []string{"proprietary"}}},
559 …"TARGET_OUT": {{prefix: "/usr/share", modType: "prebuilt_usr_share"}, {prefix: "/fonts", modType: …
560 …{prefix: "/etc/firmware", modType: "prebuilt_firmware"}, {prefix: "/vendor/firmware", modType: "pr…
561 {prefix: "/etc"}},
562 "TARGET_OUT_ETC": {{prefix: "/firmware", modType: "prebuilt_firmware"}, {prefix: ""}},
563 …"TARGET_OUT_PRODUCT": {{prefix: "/etc", flags: []string{"product_specific"}}, {prefix: "/fo…
[all …]
/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/rust/config/
Dlints.go140 prefix string member
167 if strings.HasPrefix(dir, p.prefix) {
188 if strings.HasPrefix(dir, p.prefix) {
/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/blueprint/bootstrap/
Dglob.go120 func joinWithPrefixAndQuote(strs []string, prefix string) string {
126 return prefix + `"` + strs[0] + `"`
131 n += len(prefix) + len(s) + len(`""`)
139 ret = append(ret, prefix...)
/build/blueprint/bootstrap/bpdoc/
Dbpdoc_test.go154 func findAllProperties(prefix string, properties []Property) ([]propInfo, []error) {
159 name: prefix + p.Name,
168 nestedProps, nestedErrs := findAllProperties(prefix+p.Name+".", p.Properties)
/build/soong/ui/build/
Dcleanbuild.go158 prefix := "PREVIOUS_BUILD_CONFIG := "
160 currentConfig := prefix + config.TargetProduct() + "-" + config.TargetBuildVariant() + suffix
196 previousProductAndVariant := strings.TrimPrefix(strings.TrimSuffix(previousConfig, suffix), prefix)
197 currentProductAndVariant := strings.TrimPrefix(strings.TrimSuffix(currentConfig, suffix), prefix)

1234