/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | ArrayTypeName.java | 22 private final TypeName componentType; field in ArrayTypeName 24 ArrayTypeName(TypeName componentType) { in ArrayTypeName() argument 25 this.componentType = componentType; in ArrayTypeName() 30 return componentType.referencedClasses(); in referencedClasses() 35 return componentType.write(appendable, context).append("[]"); in write() 41 && this.componentType.equals(((ArrayTypeName) obj).componentType); in equals() 46 return componentType.hashCode(); in hashCode()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Types.java | 70 static Type newArrayType(Type componentType) { in newArrayType() argument 71 if (componentType instanceof WildcardType) { in newArrayType() 72 WildcardType wildcard = (WildcardType) componentType; in newArrayType() 83 return JavaVersion.CURRENT.newArrayType(componentType); in newArrayType() 215 Type componentType = getComponentType(bound); in subtypeOfComponentType() local 216 if (componentType != null) { in subtypeOfComponentType() 219 if (componentType instanceof Class) { in subtypeOfComponentType() 220 Class<?> componentClass = (Class<?>) componentType; in subtypeOfComponentType() 225 return subtypeOf(componentType); in subtypeOfComponentType() 234 private final Type componentType; field in Types.GenericArrayTypeImpl [all …]
|
D | TypeResolver.java | 140 Type componentType = Types.getComponentType(to); in populateTypeMappings() local 141 checkArgument(componentType != null, "%s is not an array type.", to); in populateTypeMappings() 142 populateTypeMappings(mappings, fromArrayType.getGenericComponentType(), componentType); in populateTypeMappings() 189 Type componentType = type.getGenericComponentType(); in resolveGenericArrayType() local 190 Type resolvedComponentType = resolveType(componentType); in resolveGenericArrayType()
|
D | TypeToken.java | 482 Type componentType = Types.getComponentType(runtimeType); in getComponentType() local 483 if (componentType == null) { in getComponentType() 486 return of(componentType); in getComponentType() 1000 TypeToken componentType = checkNotNull(getComponentType(), 1004 TypeToken<?> componentSupertype = componentType.getSupertype(supertype.getComponentType()); 1049 private static Type newArrayClassOrGenericArrayType(Type componentType) { 1050 return Types.JavaVersion.JAVA7.newArrayType(componentType);
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/ |
D | ToStringHelper.java | 109 Class<?> componentType = objectClass.getComponentType(); in renderArray() local 112 if (componentType.isPrimitive() == false) { in renderArray() 121 if (Boolean.TYPE.equals(componentType)) { in renderArray() 129 } else if (Integer.TYPE.equals(componentType)) { in renderArray() 138 } else if (Long.TYPE.equals(componentType)) { in renderArray() 146 } else if (Double.TYPE.equals(componentType)) { in renderArray() 154 } else if (Float.TYPE.equals(componentType)) { in renderArray() 162 } else if (Character.TYPE.equals(componentType)) { in renderArray() 170 } else if (Short.TYPE.equals(componentType)) { in renderArray() 178 } else if (Byte.TYPE.equals(componentType)) { in renderArray()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/ |
D | GenericProperty.java | 50 Type componentType = ((GenericArrayType) actualTypeArguments[i]) in getActualTypeArguments() local 52 if (componentType instanceof Class<?>) { in getActualTypeArguments() 53 actualClasses[i] = Array.newInstance((Class<?>) componentType, 0) in getActualTypeArguments() 66 Type componentType = ((GenericArrayType) genType).getGenericComponentType(); in getActualTypeArguments() local 67 if (componentType instanceof Class<?>) { in getActualTypeArguments() 68 actualClasses = new Class<?>[] { (Class<?>) componentType }; in getActualTypeArguments()
|
/external/junit-params/src/main/java/junitparams/internal/ |
D | Utils.java | 145 String componentType = arrayOfPrimitives.getClass().getComponentType().getName(); in convertFromArrayOfPrimitives() local 146 if ("byte".equals(componentType)) { in convertFromArrayOfPrimitives() 148 } else if ("short".equals(componentType)) { in convertFromArrayOfPrimitives() 150 } else if ("int".equals(componentType)) { in convertFromArrayOfPrimitives() 152 } else if ("long".equals(componentType)) { in convertFromArrayOfPrimitives() 154 } else if ("float".equals(componentType)) { in convertFromArrayOfPrimitives() 156 } else if ("double".equals(componentType)) { in convertFromArrayOfPrimitives() 158 } else if ("boolean".equals(componentType)) { in convertFromArrayOfPrimitives()
|
/external/skia/src/sksl/ir/ |
D | SkSLType.h | 90 Type(String name, const Type& componentType, int columns) in Type() argument 91 : Type(name, kVector_Kind, componentType, columns) {} in Type() 94 Type(String name, Kind kind, const Type& componentType, int columns) in Type() argument 97 , fComponentType(&componentType) in Type() 103 Type(String name, const Type& componentType, int columns, int rows) in Type() argument 106 , fComponentType(&componentType) in Type() 173 const Type& componentType() const { in componentType() function
|
D | SkSLType.cpp | 20 return this->componentType().determineCoercionCost(other.componentType(), outCost); in determineCoercionCost() 27 return this->componentType().determineCoercionCost(other.componentType(), outCost); in determineCoercionCost()
|
D | SkSLIndexExpression.h | 22 if (type.componentType() == *context.fFloat_Type) { in index_type() 30 ASSERT(type.componentType() == *context.fDouble_Type); in index_type() 39 return type.componentType(); in index_type()
|
D | SkSLConstructor.h | 102 if (fType.componentType() == *context.fFloat_Type) { in compareConstant() 105 ASSERT(fType.componentType() == *context.fInt_Type); in compareConstant()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
D | BaseConstructor.java | 280 final Class<?> componentType = node.getType().getComponentType(); in constructArrayStep2() local 286 child.setType(componentType); in constructArrayStep2() 291 if (componentType.isPrimitive()) { in constructArrayStep2() 298 if (byte.class.equals(componentType)) { in constructArrayStep2() 301 } else if (short.class.equals(componentType)) { in constructArrayStep2() 304 } else if (int.class.equals(componentType)) { in constructArrayStep2() 307 } else if (long.class.equals(componentType)) { in constructArrayStep2() 310 } else if (float.class.equals(componentType)) { in constructArrayStep2() 313 } else if (double.class.equals(componentType)) { in constructArrayStep2() 316 } else if (char.class.equals(componentType)) { in constructArrayStep2() [all …]
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | BuilderValidator.java | 54 private final ComponentDescriptor.Kind componentType; field in BuilderValidator 56 BuilderValidator(Elements elements, Types types, ComponentDescriptor.Kind componentType) { in BuilderValidator() argument 59 this.componentType = componentType; in BuilderValidator() 66 ErrorMessages.ComponentBuilderMessages msgs = ErrorMessages.builderMsgsFor(componentType); in validate() 67 Class<? extends Annotation> componentAnnotation = componentType.annotationType(); in validate() 68 Class<? extends Annotation> builderAnnotation = componentType.builderAnnotationType(); in validate()
|
D | BindingGraphValidator.java | 218 DeclaredType componentType = in subgraphFactoryMethodParameters() local 221 asExecutable(types.asMemberOf(componentType, factoryMethod)); in subgraphFactoryMethodParameters() 521 TypeElement componentType = descriptor.componentDefinitionType(); in validateComponentHierarchy() local 522 validateComponentHierarchy(componentType, componentType, new ArrayDeque<TypeElement>()); in validateComponentHierarchy() 530 TypeElement componentType, in validateComponentHierarchy() argument 533 if (componentStack.contains(componentType)) { in validateComponentHierarchy() 538 componentStack.push(componentType); in validateComponentHierarchy() 546 getAnnotationMirror(componentType, Component.class); in validateComponentHierarchy() 548 componentStack.push(componentType); in validateComponentHierarchy() 673 TypeElement componentType, in validateScopeHierarchy() argument [all …]
|
D | ComponentValidator.java | 66 private final ComponentDescriptor.Kind componentType; field in ComponentValidator 77 this.componentType = ComponentDescriptor.Kind.SUBCOMPONENT; in ComponentValidator() 90 this.componentType = ComponentDescriptor.Kind.COMPONENT; in ComponentValidator() 138 componentType.annotationType().getSimpleName()), in validate() 143 enclosedBuilders(subject, componentType.builderAnnotationType()); in validate() 146 String.format(ErrorMessages.builderMsgsFor(componentType).moreThanOne(), builders), in validate() 227 getAnnotationMirror(subject, componentType.annotationType()).get(); in validate()
|
/external/skia/src/sksl/ |
D | SkSLMemoryLayout.h | 51 return vector_alignment(this->size(type.componentType()), type.columns()); in alignment() 53 return this->roundUpIfNeeded(vector_alignment(this->size(type.componentType()), in alignment() 56 return this->roundUpIfNeeded(this->alignment(type.componentType())); in alignment() 99 return type.columns() * this->size(type.componentType()); in size()
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.cpp | 44 VertexComponentType componentType; member 59 , componentType (componentType_) in VertexAttributeDescriptor() 70 , componentType (VTX_COMP_TYPE_LAST) in VertexAttributeDescriptor() 278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents; in appendAttributeNonStrided() 285 va.pointer.componentType, in appendAttributeNonStrided() 303 DE_ASSERT(dstVA.componentType == srcPtr.componentType && in copyToLayout() 307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents; in copyToLayout() 394 vertexArray.pointer.componentType, in getUserPointerDescriptor() 405 …const bool isIntType = de::inRange<int>(va.componentType, VTX_COMP_UNSIGNED_INT8, VTX_COMP_SIGNE… in setVertexAttribPointer() 406 const bool isSpecialType = de::inRange<int>(va.componentType, VTX_COMP_FIXED, VTX_COMP_FLOAT); in setVertexAttribPointer() [all …]
|
D | gluDrawUtil.hpp | 114 VertexComponentType componentType; //!< Component type. member 123 : componentType (componentType_) in VertexArrayPointer() 133 : componentType (VTX_COMP_TYPE_LAST) in VertexArrayPointer()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 199 Type componentType = ((GenericArrayType)type).getGenericComponentType(); in getRawType() local 200 return Array.newInstance(getRawType(componentType), 0).getClass(); in getRawType() 446 private final Type componentType; field in MoreTypes.GenericArrayTypeImpl 448 public GenericArrayTypeImpl(Type componentType) { in GenericArrayTypeImpl() argument 449 this.componentType = canonicalize(componentType); in GenericArrayTypeImpl() 453 return componentType; in getGenericComponentType() 457 return MoreTypes.isFullySpecified(componentType); in isFullySpecified() 466 return componentType.hashCode(); in hashCode() 470 return typeToString(componentType) + "[]"; in toString()
|
/external/conscrypt/api-doclet/src/main/java/org/conscrypt/doclet/ |
D | FilterDoclet.java | 99 Class<?> componentType = expected.getComponentType(); in filterHidden() local 100 if (componentType == null) { in filterHidden() 110 list.add(filterHidden(entry, componentType)); in filterHidden() 112 return list.toArray((Object[]) Array.newInstance(componentType, list.size())); in filterHidden()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsMoreEmptyValues.java | 69 Class<?> componentType = type.getComponentType(); in returnValueFor() local 70 return Array.newInstance(componentType, 0); in returnValueFor()
|
/external/guice/core/src/com/google/inject/util/ |
D | Types.java | 70 public static GenericArrayType arrayOf(Type componentType) { in arrayOf() argument 71 return new GenericArrayTypeImpl(componentType); in arrayOf()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 196 Type componentType = original.getGenericComponentType(); in resolveType() local 197 Type newComponentType = resolveType(componentType); in resolveType() 198 return componentType == newComponentType in resolveType()
|
/external/python/cpython2/Mac/Modules/cm/ |
D | _Cmmodule.c | 40 PyMac_BuildOSType, itself->componentType, in CmpDesc_New() 50 PyMac_GetOSType, &p_itself->componentType, in CmpDesc_Convert() 862 OSType componentType; in Cm_OpenDefaultComponent() local 868 PyMac_GetOSType, &componentType, in Cm_OpenDefaultComponent() 871 _rv = OpenDefaultComponent(componentType, in Cm_OpenDefaultComponent()
|
/external/javassist/src/main/javassist/bytecode/ |
D | SignatureAttribute.java | 550 Type componentType; field in SignatureAttribute.ArrayType 554 componentType = comp; in ArrayType() 566 return componentType; in getComponentType() 573 StringBuffer sbuf = new StringBuffer(componentType.toString()); in toString()
|