Searched refs:componentType (Results 1 - 25 of 91) sorted by relevance

1234

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
H A DArrayTypeName.java22 private final TypeName componentType; field in class:ArrayTypeName
24 ArrayTypeName(TypeName componentType) { argument
25 this.componentType = componentType;
30 return componentType.referencedClasses();
35 return componentType.write(appendable, context).append("[]");
41 && this.componentType.equals(((ArrayTypeName) obj).componentType);
46 return componentType.hashCode();
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
H A DGenericProperty.java50 Type componentType = ((GenericArrayType) actualTypeArguments[i])
52 if (componentType instanceof Class<?>) {
53 actualClasses[i] = Array.newInstance((Class<?>) componentType, 0)
66 Type componentType = ((GenericArrayType) genType).getGenericComponentType();
67 if (componentType instanceof Class<?>) {
68 actualClasses = new Class<?>[] { (Class<?>) componentType };
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
H A DToStringHelper.java109 Class<?> componentType = objectClass.getComponentType();
112 if (componentType.isPrimitive() == false) {
121 if (Boolean.TYPE.equals(componentType)) {
129 } else if (Integer.TYPE.equals(componentType)) {
138 } else if (Long.TYPE.equals(componentType)) {
146 } else if (Double.TYPE.equals(componentType)) {
154 } else if (Float.TYPE.equals(componentType)) {
162 } else if (Character.TYPE.equals(componentType)) {
170 } else if (Short.TYPE.equals(componentType)) {
178 } else if (Byte.TYPE.equals(componentType)) {
[all...]
/external/junit-params/src/main/java/junitparams/internal/
H A DUtils.java145 String componentType = arrayOfPrimitives.getClass().getComponentType().getName();
146 if ("byte".equals(componentType)) {
148 } else if ("short".equals(componentType)) {
150 } else if ("int".equals(componentType)) {
152 } else if ("long".equals(componentType)) {
154 } else if ("float".equals(componentType)) {
156 } else if ("double".equals(componentType)) {
158 } else if ("boolean".equals(componentType)) {
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
H A DReturnsMoreEmptyValues.java69 Class<?> componentType = type.getComponentType();
70 return Array.newInstance(componentType, 0);
/external/skia/src/sksl/ir/
H A DSkSLIndexExpression.h22 if (type.componentType() == *context.fFloat_Type) {
30 ASSERT(type.componentType() == *context.fDouble_Type);
39 return type.componentType();
H A DSkSLType.cpp20 return this->componentType().determineCoercionCost(other.componentType(), outCost);
27 return this->componentType().determineCoercionCost(other.componentType(), outCost);
H A DSkSLType.h90 Type(SkString name, const Type& componentType, int columns) argument
91 : Type(name, kVector_Kind, componentType, columns) {}
94 Type(SkString name, Kind kind, const Type& componentType, int columns) argument
97 , fComponentType(&componentType)
103 Type(SkString name, const Type& componentType, int columns, int rows) argument
106 , fComponentType(&componentType)
173 const Type& componentType() const { function in class:SkSL::Type
H A DSkSLInterfaceBlock.h42 structType = &structType->componentType();
H A DSkSLSwizzle.h23 const Type& base = value.fType.componentType();
/external/guava/guava/src/com/google/common/reflect/
H A DTypes.java69 /** Returns the array type of {@code componentType}. */
70 static Type newArrayType(Type componentType) { argument
71 if (componentType instanceof WildcardType) {
72 WildcardType wildcard = (WildcardType) componentType;
83 return JavaVersion.CURRENT.newArrayType(componentType);
215 Type componentType = getComponentType(bound);
216 if (componentType != null) {
219 if (componentType instanceof Class) {
220 Class<?> componentClass = (Class<?>) componentType;
225 return subtypeOf(componentType);
234 private final Type componentType; field in class:Types.GenericArrayTypeImpl
236 GenericArrayTypeImpl(Type componentType) argument
523 getArrayClass(Class<?> componentType) argument
593 newArrayType(Type componentType) argument
[all...]
H A DTypeResolver.java140 Type componentType = Types.getComponentType(to);
141 checkArgument(componentType != null, "%s is not an array type.", to);
142 populateTypeMappings(mappings, fromArrayType.getGenericComponentType(), componentType);
189 Type componentType = type.getGenericComponentType();
190 Type resolvedComponentType = resolveType(componentType);
H A DTypeToken.java482 Type componentType = Types.getComponentType(runtimeType);
483 if (componentType == null) {
486 return of(componentType);
1000 TypeToken componentType = checkNotNull(getComponentType(),
1004 TypeToken<?> componentSupertype = componentType.getSupertype(supertype.getComponentType());
1045 * Creates an array class if {@code componentType} is a class, or else, a
1049 private static Type newArrayClassOrGenericArrayType(Type componentType) { argument
1050 return Types.JavaVersion.JAVA7.newArrayType(componentType);
/external/skia/src/sksl/
H A DSkSLMemoryLayout.h51 return vector_alignment(this->size(type.componentType()), type.columns());
53 return this->roundUpIfNeeded(vector_alignment(this->size(type.componentType()),
56 return this->roundUpIfNeeded(this->alignment(type.componentType()));
99 return type.columns() * this->size(type.componentType());
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DBuilderValidator.java54 private final ComponentDescriptor.Kind componentType; field in class:BuilderValidator
56 BuilderValidator(Elements elements, Types types, ComponentDescriptor.Kind componentType) { argument
59 this.componentType = componentType;
66 ErrorMessages.ComponentBuilderMessages msgs = ErrorMessages.builderMsgsFor(componentType);
67 Class<? extends Annotation> componentAnnotation = componentType.annotationType();
68 Class<? extends Annotation> builderAnnotation = componentType.builderAnnotationType();
H A DComponentValidator.java66 private final ComponentDescriptor.Kind componentType; field in class:ComponentValidator
77 this.componentType = ComponentDescriptor.Kind.SUBCOMPONENT;
90 this.componentType = ComponentDescriptor.Kind.COMPONENT;
138 componentType.annotationType().getSimpleName()),
143 enclosedBuilders(subject, componentType.builderAnnotationType());
146 String.format(ErrorMessages.builderMsgsFor(componentType).moreThanOne(), builders),
227 getAnnotationMirror(subject, componentType.annotationType()).get();
H A DBindingGraphValidator.java218 DeclaredType componentType =
221 asExecutable(types.asMemberOf(componentType, factoryMethod));
521 TypeElement componentType = descriptor.componentDefinitionType();
522 validateComponentHierarchy(componentType, componentType, new ArrayDeque<TypeElement>());
530 TypeElement componentType,
533 if (componentStack.contains(componentType)) {
538 componentStack.push(componentType);
546 getAnnotationMirror(componentType, Component.class);
548 componentStack.push(componentType);
528 validateComponentHierarchy( TypeElement rootComponent, TypeElement componentType, Deque<TypeElement> componentStack) argument
672 validateScopeHierarchy(TypeElement rootComponent, TypeElement componentType, Deque<Scope> scopeStack, Deque<TypeElement> scopedDependencyStack) argument
[all...]
/external/conscrypt/api-doclet/src/main/java/org/conscrypt/doclet/
H A DFilterDoclet.java99 Class<?> componentType = expected.getComponentType();
100 if (componentType == null) {
110 list.add(filterHidden(entry, componentType));
112 return list.toArray((Object[]) Array.newInstance(componentType, list.size()));
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
H A DBaseConstructor.java280 final Class<?> componentType = node.getType().getComponentType();
286 child.setType(componentType);
291 if (componentType.isPrimitive()) {
298 if (byte.class.equals(componentType)) {
301 } else if (short.class.equals(componentType)) {
304 } else if (int.class.equals(componentType)) {
307 } else if (long.class.equals(componentType)) {
310 } else if (float.class.equals(componentType)) {
313 } else if (double.class.equals(componentType)) {
316 } else if (char.class.equals(componentType)) {
[all...]
/external/guice/core/src/com/google/inject/util/
H A DTypes.java66 * {@code componentType}.
70 public static GenericArrayType arrayOf(Type componentType) { argument
71 return new GenericArrayTypeImpl(componentType);
/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp44 VertexComponentType componentType; member in struct:glu::__anon4122::VertexAttributeDescriptor
59 , componentType (componentType_)
70 , componentType (VTX_COMP_TYPE_LAST)
278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents;
285 va.pointer.componentType,
303 DE_ASSERT(dstVA.componentType == srcPtr.componentType &&
307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents;
394 vertexArray.pointer.componentType,
405 const bool isIntType = de::inRange<int>(va.componentType, VTX_COMP_UNSIGNED_INT
[all...]
H A DgluDrawUtil.hpp114 VertexComponentType componentType; //!< Component type. member in struct:glu::VertexArrayPointer
123 : componentType (componentType_)
133 : componentType (VTX_COMP_TYPE_LAST)
/external/guice/core/src/com/google/inject/internal/
H A DMoreTypes.java199 Type componentType = ((GenericArrayType)type).getGenericComponentType();
200 return Array.newInstance(getRawType(componentType), 0).getClass();
446 private final Type componentType; field in class:MoreTypes.GenericArrayTypeImpl
448 public GenericArrayTypeImpl(Type componentType) { argument
449 this.componentType = canonicalize(componentType);
453 return componentType;
457 return MoreTypes.isFullySpecified(componentType);
466 return componentType.hashCode();
470 return typeToString(componentType)
[all...]
/external/guice/core/src/com/google/inject/
H A DTypeLiteral.java196 Type componentType = original.getGenericComponentType();
197 Type newComponentType = resolveType(componentType);
198 return componentType == newComponentType
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesShaderIntrinsicsBase.hpp95 const std::string& componentType,

Completed in 494 milliseconds

1234