/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
D | ArrayType.java | 71 private Type componentType; field in ArrayType 76 public ArrayType(Type componentType, Origin origin, NodeList<AnnotationExpr> annotations) { in ArrayType() argument 77 this(null, componentType, origin, annotations); in ArrayType() 88 …public ArrayType(TokenRange tokenRange, Type componentType, Origin origin, NodeList<AnnotationExpr… in ArrayType() argument 90 setComponentType(componentType); in ArrayType() 109 return componentType; in getComponentType() 113 public ArrayType setComponentType(final Type componentType) { in setComponentType() argument 114 assertNotNull(componentType); in setComponentType() 115 if (componentType == this.componentType) { in setComponentType() 118 notifyPropertyChange(ObservableProperty.COMPONENT_TYPE, this.componentType, componentType); in setComponentType() [all …]
|
/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 …]
|
/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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/ |
D | ArrayType.java | 20 private Type componentType; field in ArrayType 22 public ArrayType(Type componentType, List<AnnotationExpr> annotations) { in ArrayType() argument 23 setComponentType(componentType); in ArrayType() 27 public ArrayType(Range range, Type componentType, List<AnnotationExpr> annotations) { in ArrayType() argument 29 setComponentType(componentType); in ArrayType() 42 return componentType; in getComponentType() 46 this.componentType = type; in setComponentType() 47 setAsParentNodeOf(this.componentType); in setComponentType()
|
/external/annotation-tools/scene-lib/src/type/ |
D | ArrayType.java | 11 private Type componentType; field in ArrayType 17 public ArrayType(Type componentType) { in ArrayType() argument 19 this.componentType = componentType; in ArrayType() 27 return componentType; in getComponentType()
|
/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/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/skqp/src/sksl/ir/ |
D | SkSLIndexExpression.h | 22 if (type.componentType() == *context.fFloat_Type) { in index_type() 29 } else if (type.componentType() == *context.fHalf_Type) { in index_type() 37 ASSERT(type.componentType() == *context.fDouble_Type); in index_type() 46 return type.componentType(); in index_type()
|
D | SkSLType.h | 134 Type(String name, const Type& componentType, int columns) in Type() argument 135 : Type(name, kVector_Kind, componentType, columns) {} in Type() 138 Type(String name, Kind kind, const Type& componentType, int columns) in Type() argument 143 , fComponentType(&componentType) in Type() 152 Type(String name, const Type& componentType, int columns, int rows) in Type() argument 157 , fComponentType(&componentType) in Type() 266 const Type& componentType() const { in componentType() function
|
D | SkSLType.cpp | 19 return this->componentType().coercionCost(other.componentType()); in coercionCost() 25 return this->componentType().coercionCost(other.componentType()); in coercionCost()
|
/external/skia/src/sksl/ir/ |
D | SkSLIndexExpression.h | 22 if (type.componentType() == *context.fFloat_Type) { in index_type() 29 } else if (type.componentType() == *context.fHalf_Type) { in index_type() 37 ASSERT(type.componentType() == *context.fDouble_Type); in index_type() 46 return type.componentType(); in index_type()
|
D | SkSLType.h | 134 Type(String name, const Type& componentType, int columns) in Type() argument 135 : Type(name, kVector_Kind, componentType, columns) {} in Type() 138 Type(String name, Kind kind, const Type& componentType, int columns) in Type() argument 143 , fComponentType(&componentType) in Type() 152 Type(String name, const Type& componentType, int columns, int rows) in Type() argument 157 , fComponentType(&componentType) in Type() 266 const Type& componentType() const { in componentType() function
|
D | SkSLType.cpp | 19 return this->componentType().coercionCost(other.componentType()); in coercionCost() 25 return this->componentType().coercionCost(other.componentType()); in coercionCost()
|
/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/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 …]
|
/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/skqp/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/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/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/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_type_ArrayType.txt | 1 …Line 23) setComponentType(componentType) ==> com.github.javaparser.ast.type.ArrayType.setComponent… 3 …Line 29) setComponentType(componentType) ==> com.github.javaparser.ast.type.ArrayType.setComponent… 7 …Line 47) setAsParentNodeOf(this.componentType) ==> com.github.javaparser.ast.Node.setAsParentNodeO…
|
/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()
|