Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 40) 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.go423 property := "product_variables." + proptools.PropertyNameForField(name)
442 a.setVariableProperties(mctx, property, variableValue, val.Interface())
466 property := prefix + "." + proptools.PropertyNameForField(field)
467 ctx.PropertyErrorf(property, "%s", err)
Dsdk.go82 func ParseSdkRef(ctx BaseModuleContext, str string, property string) SdkRef {
85 ctx.PropertyErrorf(property, "%q does not follow name#version syntax", str)
/build/make/core/
Ddex_preopt_config.mk60 define get-product-default-property
66 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms)
67 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx)
68 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms)
69 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/
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
408 func (d *baseModuleContext) PropertyErrorf(property, format string,
411 pos := d.module.propertyPos[property]
425 property: property,
/build/soong/sdk/
Dupdate.go1391 property := extractorProperty{
1398 e.properties = append(e.properties, property)
1460 for _, property := range e.properties {
1461 fieldGetter := property.getter
1462 filter := property.filter
1486 expectedValue := property.emptyValue.Interface()
1489 … %q is supposed to be ignored for %q but is set to %#v instead of %#v", property, container, actua…
1511 emptyValue := property.emptyValue
1521 if valuesDiffer && !property.archVariant {
1533 …is not tagged as \"arch_variant\" but has arch specific properties:%s", property.String(), details…
/build/soong/bpfix/bpfix/
Dbpfix.go1003 property := (*properties)[i]
1004 if prev, exists := seen[property.Name]; exists {
1005 err := mergeProperties(prev, property, buf, patchlist)
1011 seen[property.Name] = property
1012 if mapProperty, ok := property.Value.(*parser.Map); ok {
/build/soong/cc/
Dlibrary_sdk_member.go277 for property, dirs := range includeDirs {
278 outputProperties.AddProperty(property, dirs)
/build/make/tools/fs_config/
Dfs_config_generator.py448 @property
457 @property
729 @property
738 @property
747 @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
Dmap_files.md51 the `version_script` property of `cc_library`. This has the effect of limiting
92 determine which API level an API was added in. The `first_version` property of
167 `ndk_library` Soong module may define a `unversioned_until` property that sets
/build/make/tools/releasetools/
Drangelib.py70 @property
Dcommon.py421 @property
425 @property
429 @property
433 @property
2734 @property
3200 @property
3206 @property
Dedify_generator.py34 @property

12