Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 41) sorted by relevance

12

/build/blueprint/proptools/
Dunpack.go41 property *parser.Property member
94 result[name] = v.property
118 ctx.propertyMap[name].property.ColonPos})
126 for _, property := range properties {
127 name := fieldPath(prefix, property.Name)
130 &UnpackError{fmt.Errorf("property %q already defined", name), property.ColonPos})
132 &UnpackError{fmt.Errorf("<-- previous definition here"), first.property.ColonPos}) {
138 ctx.propertyMap[name] = &packedProperty{property, false}
139 switch propValue := property.Value.Eval().(type) {
156 Name: property.Name + "[" + strconv.Itoa(i) + "]",
[all …]
Dextend.go156 type ExtendPropertyFilterFunc func(property string,
160 type ExtendPropertyOrderFunc func(property string,
164 func OrderAppend(property string,
170 func OrderPrepend(property string,
176 func OrderReplace(property string,
191 func extendPropertyErrorf(property string, format string, a ...interface{}) *ExtendPropertyError {
194 Property: property,
Dextend_test.go954 filter: func(property string,
971 filter: func(property string,
988 filter: func(property string,
991 return property == "s" &&
1043 filter: func(property string,
1085 order := func(property string,
1422 order := func(property string,
/build/soong/android/soongconfig/
Dmodules_test.go72 property string
80 property: "a",
88 property: "a",
96 property: "b",
106 property: "a.b",
116 property: "a.c",
124 property: "a.b",
134 property: "a.b",
146 property: "a.b",
158 property: "a.b",
[all …]
Dmodules.go368 func typeForPropertyFromPropertyStructs(psList []interface{}, property string) reflect.Type {
370 if typ := typeForPropertyFromPropertyStruct(ps, property); typ != nil {
378 func typeForPropertyFromPropertyStruct(ps interface{}, property string) reflect.Type {
380 for len(property) > 0 {
405 if index := strings.IndexRune(property, '.'); index >= 0 {
406 prefix := property[:index]
407 property = property[index+1:]
411 f := v.FieldByName(proptools.FieldNameForProperty(property))
/build/soong/android/
Dvisibility.go238 func checkRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) {
244 ctx.PropertyErrorf(property, "must contain at least one visibility rule")
249 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
258 ctx.PropertyErrorf(property, "//visibility:legacy_public must not be used")
264 ctx.PropertyErrorf(property, "unrecognized visibility rule %q", v)
269 ctx.PropertyErrorf(property, `"%v" may only be used at the start of the visibility rules`, v)
272 ctx.PropertyErrorf(property, "cannot mix %q with any other visibility rules", v)
281 ctx.PropertyErrorf(property,
316 func parseRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) compositeR…
322 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
[all …]
Dpackage_test.go23 `top/Blueprints:3:10: unrecognized property "name"`,
24 `top/Blueprints:4:16: unrecognized property "visibility"`,
Dvariable.go411 property := "product_variables." + proptools.PropertyNameForField(name)
430 a.setVariableProperties(mctx, property, variableValue, val.Interface())
454 property := prefix + "." + proptools.PropertyNameForField(field)
455 ctx.PropertyErrorf(property, "%s", err)
Dsdk.go77 func ParseSdkRef(ctx BaseModuleContext, str string, property string) SdkRef {
80 ctx.PropertyErrorf(property, "%q does not follow name#version syntax", str)
Dlicense_test.go24 `top/Blueprints:5:14: unrecognized property "licenses"`,
/build/make/core/
Ddex_preopt_config.mk48 define get-product-default-property
54 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms)
55 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx)
56 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms)
57 DEX2OAT_XMX := $(call get-product-default-property,dalvik.vm.dex2oat-Xmx)
/build/blueprint/parser/
Dparser.go282 property := p.parseProperty(isModule, compat)
283 properties = append(properties, property)
296 func (p *parser) parseProperty(isModule, compat bool) (property *Property) {
297 property = new(Property)
322 property.Name = name
323 property.NamePos = namePos
324 property.Value = value
325 property.ColonPos = pos
Dprinter.go206 func (p *printer) printProperty(property *Property) {
207 p.printToken(property.Name, property.NamePos)
208 p.printToken(":", property.ColonPos)
210 p.printExpression(property.Value)
Dast.go76 for i, property := range m.Properties {
77 propertyStrings[i] = property.String()
267 for i, property := range x.Properties {
268 propertyStrings[i] = property.String()
/build/soong/sh/
Dsh_binary.go291 property := "data_bins"
293 property = "data_device_bins"
295 …ctx.PropertyErrorf(property, "%q of type %q is not supported", dep.Name(), ctx.OtherModuleType(dep…
318 property := "data_libs"
320 property = "data_device_libs"
322 …ctx.PropertyErrorf(property, "%q of type %q is not supported", dep.Name(), ctx.OtherModuleType(dep…
/build/soong/
DREADME.md33 Every module must have a `name` property, and the value must be unique across
157 Unlike most module type `package` does not have a `name` property. Instead the name is set to the
282 The `visibility` property on a module controls whether the module can be
286 If specified the `visibility` property must contain at least one rule.
288 Each rule in the property must be in one of the following forms:
318 through the `defaults` property.
325 If a module does not specify the `visibility` property then it uses the
326 `default_visibility` property of the `package` module in the module's package.
328 If the `default_visibility` property is not set for the module's package then
330 a `default_visibility` property is specified.
[all …]
/build/blueprint/
Dmodule_ctx_test.go254 expectedErrors(t, errs, `path/Blueprint:3:5: unrecognized property "nam"`)
264 expectedErrors(t, errs, `path/Blueprint:3:8: can't assign bool value to string property "name"`)
279 `path/Blueprint:3:8: can't assign bool value to string property "name"`,
Dmodule_ctx.go159 PropertyErrorf(property, fmt string, args ...interface{}) argument
395 func (d *baseModuleContext) PropertyErrorf(property, format string,
398 pos := d.module.propertyPos[property]
412 property: property,
/build/soong/sdk/
Dupdate.go1347 property := extractorProperty{
1354 e.properties = append(e.properties, property)
1416 for _, property := range e.properties {
1417 fieldGetter := property.getter
1418 filter := property.filter
1442 expectedValue := property.emptyValue.Interface()
1445 … %q is supposed to be ignored for %q but is set to %#v instead of %#v", property, container, actua…
1467 emptyValue := property.emptyValue
1477 if valuesDiffer && !property.archVariant {
1489 …is not tagged as \"arch_variant\" but has arch specific properties:%s", property.String(), details…
/build/soong/bpfix/bpfix/
Dbpfix.go998 property := (*properties)[i]
999 if prev, exists := seen[property.Name]; exists {
1000 err := mergeProperties(prev, property, buf, patchlist)
1006 seen[property.Name] = property
1007 if mapProperty, ok := property.Value.(*parser.Map); ok {
/build/soong/cc/
Dlibrary_sdk_member.go269 for property, dirs := range includeDirs {
270 outputProperties.AddProperty(property, dirs)
/build/make/tools/fs_config/
Dfs_config_generator.py449 @property
458 @property
730 @property
739 @property
748 @property
/build/soong/docs/
Dbest_practices.md103 target specific property.
105 inheritable groups that can be selected with a single property.
199 `ro.hardware.gralloc` system property:
252 `ro.hardware.gralloc` system property:
279 autodetecting the correct value or loading the value from a system property
/build/make/tools/releasetools/
Drangelib.py70 @property
Dcommon.py397 @property
401 @property
405 @property
409 @property
2666 @property
3132 @property
3138 @property

12