Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 30) sorted by relevance

12

/build/blueprint/bootstrap/bpdoc/
Dbpdoc_test.go11 typ string member
73 typ: "string",
77 typ: "",
81 typ: "string",
85 typ: "structToNest",
89 typ: "string",
93 typ: "StructWithEmbedded",
97 typ: "structToNest",
101 typ: "string",
105 typ: "string",
[all …]
Dproperties.go233 typ, innerProps, err := getType(f.Type)
240 Type: typ,
251 func getType(expr ast.Expr) (typ string, innerProps []Property, err error) {
265 typ = "list of " + elt
267 typ = "interface"
269 typ = a.Name
289 typ = "configurable " + innerType
291 typ = fmt.Sprintf("%T", expr)
294 return typ, innerProps, nil
Dreader.go168 for _, typ := range goPkg.Types {
169 for _, fn := range typ.Funcs {
Dbpdoc.go197 typ := structValue.Type()
199 field := typ.Field(i)
/build/blueprint/
Dprovider.go52 typ string member
88 typ := fmt.Sprintf("%T", *new(K))
94 typ: typ,
128 provider.typ))
131 provider.typ))
137 provider.typ, provider.mutator))
140 provider.typ, provider.mutator))
143 provider.typ, provider.mutator))
152 panic(fmt.Sprintf("Value of provider %s is already set", provider.typ))
163 panic(fmt.Sprintf("Can't set value of provider %s: %s", provider.typ, err.Error()))
[all …]
/build/bazel/product_config/
Dproduct_variables_for_attributes.bzl21 typ = type(value)
22 if typ == "bool":
24 elif typ == "list":
26 elif typ == "int":
28 elif typ == "string":
/build/bazel/scripts/bp2build_progress/
Dsoong_module_json.py36 typ, argument
45 'Type': typ,
/build/blueprint/proptools/
Dclone.go49 typ := dstValue.Type()
50 if srcValue.Type() != typ {
55 for i, field := range typeFields(typ) {
166 typ := structValue.Type()
168 for i, field := range typeFields(typ) {
227 typ := srcValue.Type()
228 for i, field := range typeFields(typ) {
287 func typeFields(typ reflect.Type) []reflect.StructField {
294 if typeFields, ok := typeFieldCache.Load(typ); ok {
299 typeFields := make([]reflect.StructField, typ.NumField())
[all …]
Dconfigurable.go148 typ configurableValueType member
154 switch c.typ {
172 typ: configurableValueTypeString,
179 typ: configurableValueTypeBool,
186 typ: configurableValueTypeUndefined,
222 typ configurablePatternType member
229 typ: configurablePatternTypeString,
236 typ: configurablePatternTypeBool,
243 typ: configurablePatternTypeDefault,
248 if p.typ == configurablePatternTypeDefault {
[all …]
Dfilter.go97 typ := field.Type
100 typ = typ.Elem()
102 nestedTypes, subFiltered := filterPropertyStruct(typ, subPrefix, subMaxTypeNameSize, predicate)
Dfilter_test.go549 typ := reflect.StructOf(filteredFields)
550 if test.maxTypeNameSize > 0 && len(typ.String()) > test.maxTypeNameSize {
552 typ.String(), test.maxTypeNameSize, len(typ.String()))
554 out = append(out, reflect.Zero(typ).Interface())
Dunpack_test.go825 typ: configurablePatternTypeString,
832 typ: configurablePatternTypeString,
839 typ: configurablePatternTypeDefault,
883 typ: configurablePatternTypeString,
890 typ: configurablePatternTypeString,
897 typ: configurablePatternTypeDefault,
915 typ: configurablePatternTypeString,
922 typ: configurablePatternTypeString,
929 typ: configurablePatternTypeDefault,
Dextend_test.go1272 typ: configurablePatternTypeString,
1293 typ: configurablePatternTypeString,
1315 typ: configurablePatternTypeString,
1331 typ: configurablePatternTypeString,
1358 typ: configurablePatternTypeString,
1379 typ: configurablePatternTypeString,
1400 typ: configurablePatternTypeString,
1417 typ: configurablePatternTypeString,
1907 typ: configurablePatternTypeString,
1913 typ: configurablePatternTypeDefault,
[all …]
Dunpack.go463 patterns[i].typ = configurablePatternTypeDefault
465 patterns[i].typ = configurablePatternTypeString
469 patterns[i].typ = configurablePatternTypeBool
648 func propertyToValue(typ reflect.Type, property *parser.Property) (reflect.Value, error) {
651 isPtr := typ.Kind() == reflect.Ptr
653 baseType = typ.Elem()
655 baseType = typ
702 …f("cannot assign %s value %s to %s property %s", property.Value.Type(), property.Value, kind, typ),
/build/soong/android/soongconfig/
Dmodules.go282 typ := reflect.StructOf([]reflect.StructField{{
287 props := reflect.New(typ)
337 typ := typeForPropertyFromPropertyStructs(factoryProps, p)
338 if typ != nil {
341 Type: typ,
349 var typ reflect.Type
351 typ = reflect.StructOf(fields)
353 return affectableProperties, typ
356 affectableProperties, typ := recurse("", affectableProperties)
361 if typ != nil {
[all …]
Dmodules_test.go178 typ := typeForPropertyFromPropertyStruct(tt.ps, tt.property)
180 if typ != nil {
181 got = typ.String()
279 typ := createAffectablePropertiesType(tt.affectableProperties, []interface{}{tt.factoryProps})
281 if typ != nil {
282 got = typ.String()
/build/soong/mk2rbc/
Dexpr.go25 typ() starlarkType methodSpec
52 func (_ *stringLiteralExpr) typ() starlarkType { func
77 func (_ *intLiteralExpr) typ() starlarkType { func
106 func (_ *boolLiteralExpr) typ() starlarkType { func
129 func (g *globalsExpr) typ() starlarkType { func
194 if arg.typ() == starlarkTypeList {
215 func (_ *interpolateExpr) typ() starlarkType { func
249 func (v *variableRefExpr) typ() starlarkType { func
255 if v.typ() == starlarkTypeList {
273 switch s.expr.typ() {
[all …]
Dvariable.go34 typ starlarkType member
43 return v.typ
47 v.typ = t
89 if pcv.typ == starlarkTypeList {
293 v = &productConfigVariable{baseVariable{nam: name, typ: vi.valueType, preset: preset}}
295 v = &otherGlobalVariable{baseVariable{nam: name, typ: vi.valueType, preset: preset}}
298 v = &localVariable{baseVariable{nam: name, typ: hintType}}
313 v = &otherGlobalVariable{baseVariable{nam: name, typ: vt}}
Dmk2rbc.go542 baseVariable: baseVariable{nam: item.name, typ: starlarkTypeString},
603 inferred_type := asgn.value.typ()
627 asgn.value.typ() != starlarkTypeUnknown &&
628 asgn.value.typ() != starlarkTypeString {
760 switch x.typ() {
1124 if stringOperand == "true" && otherOperand.typ() == starlarkTypeBool {
1131 if otherOperand.typ() == starlarkTypeList {
1143 …strconv.Atoi(strings.TrimSpace(stringOperand)); err == nil && otherOperand.typ() == starlarkTypeIn…
1209 …ngLiteralExpr); ok && !strings.ContainsRune(xInList.literal, '%') && xText.typ() == starlarkTypeLi…
1218 if expr.typ() == starlarkTypeList {
[all …]
/build/soong/finder/fs/
Dreaddir.go96 typ, ok := direntType(rec)
118 mode, modeExists := direntTypeToFileMode(typ)
194 func direntTypeToFileMode(typ uint64) (os.FileMode, bool) {
197 switch typ {
/build/soong/cmd/symbols_map/
Dsymbols_map.go114 var typ symbols_map_proto.Mapping_Type
118 typ = symbols_map_proto.Mapping_ELF
126 typ = symbols_map_proto.Mapping_R8
140 Type: typ.Enum(),
/build/bazel/mkcompare/cmd/
Dmkcompare.go88 for _, typ := range sortedTypes {
89 fmt.Printf("%s %s (%d modules)\n", prefix, typ, len(byType[typ]))
93 for _, m := range byType[typ] {
/build/bazel/rules/
Dproto_file_utils.bzl23 for typ in type_dictionary:
24 ret[typ] = []
27 for typ, ext in type_dictionary.items():
34 ret[typ].append(declared)
/build/soong/android/
Dvariable.go824 typ, _ := variablePropTypeMap.Once(NewCustomOnceKey(key), func() interface{} {
829 if typ == nil {
834 return reflect.New(typ).Interface()
840 typ, _ := proptools.FilterPropertyStruct(reflect.TypeOf(productVariables),
865 return typ
/build/soong/androidmk/androidmk/
Dandroidmk.go392 typ bpparser.Type) (bpparser.Expression, error) {
396 switch typ {

12