Searched refs:Kind (Results 1 – 25 of 32) sorted by relevance
12
/build/soong/android/ |
D | sdk_version.go | 80 Kind SdkKind member 86 return fmt.Sprintf("%s_%s", s.Kind, s.ApiLevel) 92 return s.Kind != SdkInvalid 97 return s.Valid() && s.Kind != SdkPrivate 106 switch s.Kind { 115 panic(fmt.Errorf("unknown SdkKind=%v", s.Kind)) 125 return s.Kind != SdkPrivate && s.Kind != SdkNone && s.Kind != SdkCorePlatform 136 if s.Kind == SdkPublic || s.Kind == SdkSystem { 140 return SdkSpec{s.Kind, apiLevel, s.Raw} 160 if s.Kind != SdkPublic && s.Kind != SdkSystem && s.Kind != SdkTest && s.Kind != SdkModule { [all …]
|
D | path_properties.go | 64 if v.Kind() != reflect.Ptr || v.Elem().Kind() != reflect.Struct { 91 if sv.Kind() == reflect.Ptr { 99 switch sv.Kind() { 125 if v.Kind() == reflect.Ptr { 137 if v.Kind() == reflect.Ptr { 155 return v.Kind() == reflect.Slice && v.Type().Elem().Kind() == reflect.Struct
|
D | prebuilt.go | 201 if srcPropsValue.Kind() != reflect.Struct && srcPropsValue.Kind() != reflect.Interface { 213 if value.Kind() == reflect.Ptr { 216 if value.Kind() != reflect.String { 217 …ld %q should be a string or a pointer to one but was %d %q", srcPropertyName, value.Kind(), value))
|
D | variable.go | 537 if !val.IsValid() || val.Kind() != reflect.Ptr || val.IsNil() { 544 if val.Kind() == reflect.Bool && val.Bool() == false { 585 kind := propertyValue.Kind() 592 switch propertyValue.Kind() { 610 panic(fmt.Errorf("unsupported field kind %q", propertyValue.Kind())) 744 if t.Kind() != reflect.Struct { 760 if ft.Kind() == reflect.Ptr { 763 if ft.Kind() != reflect.Struct {
|
D | arch.go | 448 if f.Kind() == reflect.Struct { 982 if propertiesValue.Kind() != reflect.Ptr { 988 if propertiesValue.Kind() != reflect.Struct { 1020 if src.Kind() == reflect.Struct { 1061 if src.Kind() == reflect.Ptr { 1748 if src.Kind() == reflect.Ptr { 1759 if !src.IsValid() || src.Kind() != reflect.Struct { 1818 if src.Kind() == reflect.Ptr { 1830 if !src.IsValid() || src.Kind() != reflect.Ptr || src.Elem().Kind() != reflect.Struct { 1972 if src.Kind() == reflect.Ptr { [all …]
|
D | neverallow.go | 639 if value.Kind() == reflect.Ptr { 646 switch value.Kind() { 666 panic("Can't handle type: " + value.Kind().String())
|
/build/blueprint/proptools/ |
D | typeequal.go | 31 if v1.Kind() == reflect.Interface { 45 if v1.Kind() == reflect.Ptr { 46 if v1.Type().Elem().Kind() != reflect.Struct { 61 if v1.Kind() != reflect.Struct { 69 switch kind := v1.Kind(); kind { 82 if v.Kind() == reflect.Interface { 86 if v.Kind() == reflect.Ptr { 93 if v.Kind() != reflect.Struct { 100 switch kind := v.Kind(); kind {
|
D | clone.go | 52 dstValue.Kind(), srcValue.Kind())) 65 switch srcFieldValue.Kind() { 111 switch srcFieldValue.Elem().Kind() { 160 switch fieldValue.Kind() { 177 switch fieldValue.Type().Elem().Kind() { 187 field.Name, fieldValue.Elem().Kind())) 193 field.Name, fieldValue.Kind())) 222 switch srcFieldValue.Kind() { 244 switch srcFieldValue.Type().Elem().Kind() { 259 field.Name, srcFieldValue.Elem().Kind())) [all …]
|
D | proptools.go | 118 return t.Kind() == reflect.Struct 122 return t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Struct 126 return t.Kind() == reflect.Slice
|
D | extend.go | 264 if srcFieldValue.Kind() == reflect.Interface { 271 if srcFieldValue.Kind() != reflect.Ptr { 313 if dstFieldValue.Kind() == reflect.Interface { 320 if dstFieldValue.Kind() != reflect.Ptr { 335 switch srcFieldValue.Kind() { 355 switch ptrKind := srcFieldValue.Type().Elem().Kind(); ptrKind { 363 srcFieldValue.Kind()) 416 switch srcFieldValue.Kind() { 451 switch ptrKind := srcFieldValue.Type().Elem().Kind(); ptrKind {
|
D | tag.go | 60 if ft.Kind() == reflect.Ptr || ft.Kind() == reflect.Slice {
|
D | unpack.go | 219 switch kind := fieldValue.Kind(); kind { 228 if elemType.Kind() != reflect.Ptr { 233 switch ptrKind := fieldValue.Type().Elem().Kind(); ptrKind { 363 isPtr := elemType.Kind() == reflect.Ptr 390 isPtr := typ.Kind() == reflect.Ptr 397 switch kind := baseType.Kind(); kind {
|
D | filter.go | 161 ptr := prop.Kind() == reflect.Ptr
|
/build/blueprint/bootstrap/bpdoc/ |
D | bpdoc.go | 215 switch fieldValue.Kind() { 226 if fieldValue.Kind() == reflect.Interface { 227 if elem.Kind() != reflect.Ptr { 233 if elem.Kind() == reflect.Struct { 239 field.Name, fieldValue.Kind()))
|
D | properties.go | 80 if f.Kind() == reflect.Interface { 84 if f.Kind() == reflect.Ptr { 91 if f.Kind() == reflect.Struct {
|
/build/soong/cc/ |
D | linkable.go | 285 return libraryDependencyTag{Kind: sharedLibraryDependency} 290 return libraryDependencyTag{Kind: staticLibraryDependency, wholeStatic: wholeStatic} 303 return libraryDependencyTag{Kind: headerLibraryDependency}
|
D | image.go | 157 if v.Kind() != reflect.Struct { 162 if prop.Kind() == reflect.Struct && v.Type().Field(i).Name == "Target" { 165 if vendor_prop.Kind() != reflect.Struct && product_prop.Kind() != reflect.Struct { 169 if vendor_prop.Kind() != reflect.Struct || product_prop.Kind() != reflect.Struct ||
|
/build/soong/bp2build/ |
D | build_conversion.go | 377 return t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Struct 398 switch propertyValue.Kind() { 464 "unexpected kind for property struct field: %s", propertyValue.Kind()) 474 if structValue.Kind() != reflect.Struct { 475 panic(fmt.Errorf("Expected a reflect.Struct type, but got %s", structValue.Kind())) 510 switch value.Kind() {
|
D | bzl_conversion.go | 177 switch t.Kind() { 183 if t.Elem().Kind() != reflect.String {
|
D | configurability.go | 89 if value.Kind() != reflect.Invalid {
|
/build/blueprint/gotestmain/ |
D | gotestmain.go | 55 if obj.Kind != ast.Fun || !strings.HasPrefix(obj.Name, "Test") { 74 return reflect.TypeOf(testing.MainStart).In(0).Kind() == reflect.Interface
|
/build/soong/sdk/ |
D | bp.go | 49 switch fieldVal.Type().Kind() { 61 if fieldVal.Type().Kind() == reflect.Struct { 73 switch val.Kind() { 81 if derefValue.Kind() != reflect.Struct {
|
/build/soong/java/ |
D | sdk.go | 79 dir := filepath.Join("prebuilts", "sdk", sdkVersion.ApiLevel.String(), sdkVersion.Kind.String()) 92 …bootclasspath: []string{fmt.Sprintf("sdk_%s_%s_android", sdkVersion.Kind, sdkVersion.ApiLevel.Str… 130 switch sdkVersion.Kind {
|
/build/soong/android/soongconfig/ |
D | modules.go | 376 if v.Kind() == reflect.Interface { 384 if v.Kind() == reflect.Ptr { 392 if v.Kind() != reflect.Struct { 677 kind := field.Kind()
|
/build/blueprint/ |
D | package_ctx.go | 444 if methodType.Kind() != reflect.Func { 456 if kind := methodType.Out(0).Kind(); kind != reflect.String {
|
12