Home
last modified time | relevance | path

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

123

/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,
Dunpack_test.go807 errors: []string{`<input>:3:13: unrecognized property "missing"`},
823 errors: []string{`<input>:4:14: unrecognized property "nested.missing"`},
871 `<input>:4:12: property "exists" already defined`,
893 `<input>:5:13: property "nested.exists" already defined`,
910 `<input>:3:11: can't assign string value to int64 property "int"`,
928 `<input>:3:11: can't assign string value to map property "map"`,
944 `<input>:3:12: can't assign string value to list property "list"`,
962 `<input>:3:16: can't assign string value to list property "map_list"`,
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/blueprint/bpmodify/
Dbpmodify_test.go29 property string
47 property: "deps",
64 property: "deps",
86 property: "arch.arm.deps",
115 property: "arch.arm.deps",
146 property: "arch.arm.deps",
177 property: "arch.arm.deps",
192 property: "deps",
209 property: "arch.arm.deps",
230 property: "versions",
[all …]
/build/soong/bp2build/
Dbzl_conversion.go129 type property struct { struct
132 properties []property argument
139 func (p *property) attributeString() string { argument
156 func extractPropertyDescriptionsFromStruct(structType reflect.Type) []property {
157 properties := make([]property, 0)
169 func extractPropertyDescriptions(name string, t reflect.Type) []property {
175 props := make([]property, 0)
185 return []property{}
195 return []property{}
198 prop := property{
[all …]
/build/soong/android/soongconfig/
Dmodules_test.go74 property string
82 property: "a",
90 property: "a",
98 property: "b",
108 property: "a.b",
118 property: "a.c",
126 property: "a.b",
136 property: "a.b",
148 property: "a.b",
160 property: "a.b",
[all …]
Dmodules.go359 func typeForPropertyFromPropertyStructs(psList []interface{}, property string) reflect.Type {
361 if typ := typeForPropertyFromPropertyStruct(ps, property); typ != nil {
369 func typeForPropertyFromPropertyStruct(ps interface{}, property string) reflect.Type {
371 for len(property) > 0 {
396 if index := strings.IndexRune(property, '.'); index >= 0 {
397 prefix := property[:index]
398 property = property[index+1:]
402 f := v.FieldByName(proptools.FieldNameForProperty(property))
/build/soong/android/
Dvisibility.go248 func checkRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) {
254 ctx.PropertyErrorf(property, "must contain at least one visibility rule")
259 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
268 ctx.PropertyErrorf(property, "//visibility:legacy_public must not be used")
274 ctx.PropertyErrorf(property, "unrecognized visibility rule %q", v)
279 ctx.PropertyErrorf(property, `"%v" may only be used at the start of the visibility rules`, v)
282 ctx.PropertyErrorf(property, "cannot mix %q with any other visibility rules", v)
291 ctx.PropertyErrorf(property,
326 func parseRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) compositeR…
332 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
[all …]
Dpackage_test.go24 `top/Blueprints:5:14: unrecognized property "licenses"`,
25 `top/Blueprints:3:10: unrecognized property "name"`,
26 `top/Blueprints:4:16: unrecognized property "visibility"`,
Dlicense_test.go38 `top/Blueprints:5:14: unrecognized property "licenses"`,
88 `top/Blueprints:6:5: module "top_proprietary": license_kinds property ` +
Dvariable.go491 property := variableValue.Field(j)
493 if property.IsZero() {
502 Property: property.Interface(),
531 property := "product_variables." + proptools.PropertyNameForField(name)
550 a.setVariableProperties(mctx, property, variableValue, val.Interface())
574 property := prefix + "." + proptools.PropertyNameForField(field)
575 ctx.PropertyErrorf(property, "%s", err)
Dlicense_kind_test.go24 `top/Blueprints:4:14: unrecognized property "licenses"`,
Dsdk.go117 func ParseSdkRef(ctx BaseModuleContext, str string, property string) SdkRef {
120 ctx.PropertyErrorf(property, "%q does not follow name@version syntax", str)
/build/make/core/tasks/
Dhost_init_verifier.mk44 …--property-contexts=$(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_context…
45 …--property-contexts=$(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_prop…
46 …--property-contexts=$(call intermediates-dir-for,ETC,product_property_contexts)/product_property_c…
47 …--property-contexts=$(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_con…
48 …--property-contexts=$(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts \
/build/make/core/
Ddex_preopt_config.mk79 define get-product-default-property
85 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms)
86 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx)
87 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms)
88 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/sdk/
Dbp_test.go87 …nicMessageContains(t, "adding x again should panic", `Property "x" already exists in property set`,
89 …essageContains(t, "adding arr again should panic", `Property "arr" already exists in property set`,
127 …nicMessageContains(t, "adding x again should panic", `Property "x" already exists in property set`,
Dupdate.go342 property := "default_applicable_licenses"
343 pkg.AddCommentForProperty(property, `
345 be unnecessary as every module in the sdk already has its own licenses property.
347 pkg.AddProperty(property, []string{"Android-Apache-2.0"})
1792 property := extractorProperty{
1799 e.properties = append(e.properties, property)
1862 for _, property := range e.properties {
1863 fieldGetter := property.getter
1864 filter := property.filter
1888 expectedValue := property.emptyValue.Interface()
[all …]
/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/soong/cc/
Dlibrary_sdk_member.go319 for _, property := range android.SortedStringKeys(includeDirs) {
320 outputProperties.AddProperty(property, includeDirs[property])
/build/bazel/examples/queryview/
DREADME.md36 * `apex_available`: modules with `//apex_available:platform` in the `apex_available` list property
/build/blueprint/
Dmodule_ctx_test.go504 expectedErrors(t, errs, `path/Blueprint:3:5: unrecognized property "nam"`)
514 expectedErrors(t, errs, `path/Blueprint:3:8: can't assign bool value to string property "name"`)
529 `path/Blueprint:3:8: can't assign bool value to string property "name"`,

123