Home
last modified time | relevance | path

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

/build/blueprint/
Dprovider.go47 typ reflect.Type member
82 typ := reflect.TypeOf(exampleValue)
83 zero := reflect.Zero(typ).Interface()
87 typ: typ,
120 provider.typ))
123 provider.typ))
129 provider.typ, provider.mutator))
132 provider.typ, provider.mutator))
135 provider.typ, provider.mutator))
139 if typ := reflect.TypeOf(value); typ != provider.typ {
[all …]
Dcontext.go546 typ := reflect.TypeOf(singleton)
547 for typ.Kind() == reflect.Ptr {
548 typ = typ.Elem()
550 return typ.PkgPath()
554 typ := reflect.TypeOf(singleton)
555 for typ.Kind() == reflect.Ptr {
556 typ = typ.Elem()
558 return typ.PkgPath() + "." + typ.Name()
/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.go213 typ, innerProps, err := getType(f.Type)
220 Type: typ,
231 func getType(expr ast.Expr) (typ string, innerProps []Property, err error) {
245 typ = "list of " + elt
247 typ = "interface"
249 typ = a.Name
256 typ = fmt.Sprintf("%T", expr)
259 return typ, innerProps, nil
Dreader.go129 for _, typ := range goPkg.Types {
130 for _, fn := range typ.Funcs {
Dbpdoc.go202 typ := structValue.Type()
204 field := typ.Field(i)
/build/soong/android/soongconfig/
Dmodules.go273 typ := reflect.StructOf([]reflect.StructField{{
278 props := reflect.New(typ)
328 typ := typeForPropertyFromPropertyStructs(factoryProps, p)
329 if typ != nil {
332 Type: typ,
340 var typ reflect.Type
342 typ = reflect.StructOf(fields)
344 return affectableProperties, typ
347 affectableProperties, typ := recurse("", affectableProperties)
352 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/blueprint/proptools/
Dclone.go49 typ := dstValue.Type()
50 if srcValue.Type() != typ {
55 for i, field := range typeFields(typ) {
150 typ := structValue.Type()
152 for i, field := range typeFields(typ) {
211 typ := srcValue.Type()
212 for i, field := range typeFields(typ) {
271 func typeFields(typ reflect.Type) []reflect.StructField {
278 if typeFields, ok := typeFieldCache.Load(typ); ok {
283 typeFields := make([]reflect.StructField, typ.NumField())
[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.go387 func propertyToValue(typ reflect.Type, property *parser.Property) (reflect.Value, error) {
390 isPtr := typ.Kind() == reflect.Ptr
392 baseType = typ.Elem()
394 baseType = typ
433 …f("cannot assign %s value %s to %s property %s", property.Value.Type(), property.Value, kind, typ),
/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/android/
Dvariable.go691 typ, _ := variablePropTypeMap.Once(NewCustomOnceKey(key), func() interface{} {
696 if typ == nil {
701 return reflect.New(typ).Interface()
707 typ, _ := proptools.FilterPropertyStruct(reflect.TypeOf(productVariables),
732 return typ
Ddepset_generic.go113 func newDepSetBuilder(order DepSetOrder, typ interface{}) *depSetBuilder {
114 empty := reflect.Zero(reflect.TypeOf(typ))
/build/soong/androidmk/androidmk/
Dandroidmk.go392 typ bpparser.Type) (bpparser.Expression, error) {
396 switch typ {
/build/blueprint/parser/
Dparser.go250 func (p *parser) parseModule(typ string, typPos scanner.Position) *Module {
270 Type: typ,
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-core.css1174 .typ { color: #606; }
1189 .typ { color: #404; font-weight: bold; }