HomeSort by relevance Sort by last modified time
    Searched refs:componentType (Results 1 - 25 of 448) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/libcore/reflect/
GenericArrayTypeImpl.java 24 private final Type componentType;
26 public GenericArrayTypeImpl(Type componentType) {
27 this.componentType = componentType;
32 return ((ParameterizedTypeImpl)componentType).getResolvedType();
34 return componentType;
53 return componentType.toString() + "[]";
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
ArrayTypeName.java 22 private final TypeName componentType;
24 ArrayTypeName(TypeName componentType) {
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();
  /frameworks/layoutlib/bridge/src/dalvik/system/
VMRuntime_Delegate.java 31 /*package*/ static Object newUnpaddedArray(VMRuntime runtime, Class<?> componentType,
35 if (!componentType.isPrimitive()) {
37 return java.lang.reflect.Array.newInstance(componentType, size);
38 } else if (componentType == char.class) {
44 } else if (componentType == int.class) {
47 } else if (componentType == byte.class) {
53 } else if (componentType == boolean.class) {
59 } else if (componentType == short.class) {
65 } else if (componentType == float.class) {
68 } else if (componentType == long.class)
    [all...]
  /frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
ext.kt 56 val componentType : String;
58 'Z' -> componentType = "boolean"
59 'B' -> componentType = "byte"
60 'C' -> componentType = "char"
61 'L' -> componentType = name.substring(numArray + 1, name.length - 1).replace('$', '.');
62 'D' -> componentType = "double"
63 'F' -> componentType = "float"
64 'I' -> componentType = "int"
65 'J' -> componentType = "long"
66 'S' -> componentType = "short
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericArrayTypeTest.java 42 Type componentType = ((GenericArrayType) genericType).getGenericComponentType();
43 assertEquals(getTypeParameter(clazz), componentType);
44 assertInstanceOf(TypeVariable.class, componentType);
45 TypeVariable<?> componentTypeVariable = (TypeVariable<?>) componentType;
65 Type componentType = arrayType.getGenericComponentType();
66 assertInstanceOf(ParameterizedType.class, componentType);
67 ParameterizedType parameterizedType = (ParameterizedType) componentType;
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
GenericProperty.java 50 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/
ToStringHelper.java 109 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...]
  /libcore/luni/src/test/java/dalvik/system/
VMRuntimeTest.java 27 private void doTestNewNonMovableArray(Class<?> componentType, int step, int maxLength) {
30 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1);
36 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE);
43 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i);
45 assertEquals(array.getClass().getComponentType(), componentType);
81 private void doTestNewUnpaddedArray(Class<?> componentType, int step, int maxLength) {
84 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1);
90 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE);
97 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i);
99 assertEquals(array.getClass().getComponentType(), componentType);
    [all...]
  /libcore/ojluni/src/main/java/java/lang/reflect/
Array.java 57 * Array.newInstance(componentType, x);
63 * @param componentType the {@code Class} object representing the
68 * {@code componentType} parameter is null
69 * @exception IllegalArgumentException if componentType is {@link
75 public static Object newInstance(Class<?> componentType, int length)
77 return newArray(componentType, length);
83 * If {@code componentType}
86 * {@code componentType} as its component type. If
87 * {@code componentType} represents an array class, the
90 * dimensions of {@code componentType}. In this case, th
    [all...]
  /external/junit-params/src/main/java/junitparams/internal/
Utils.java 145 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/
ReturnsMoreEmptyValues.java 69 Class<?> componentType = type.getComponentType();
70 return Array.newInstance(componentType, 0);
  /external/skia/src/sksl/ir/
SkSLIndexExpression.h 22 if (type.componentType() == *context.fFloat_Type) {
30 ASSERT(type.componentType() == *context.fDouble_Type);
39 return type.componentType();
SkSLType.cpp 20 return this->componentType().determineCoercionCost(other.componentType(), outCost);
27 return this->componentType().determineCoercionCost(other.componentType(), outCost);
SkSLType.h 90 Type(String name, const Type& componentType, int columns)
91 : Type(name, kVector_Kind, componentType, columns) {}
94 Type(String name, Kind kind, const Type& componentType, int columns)
97 , fComponentType(&componentType)
103 Type(String name, const Type& componentType, int columns, int rows)
106 , fComponentType(&componentType)
173 const Type& componentType() const {
  /external/guava/guava/src/com/google/common/reflect/
Types.java 69 /** Returns the array type of {@code componentType}. */
70 static Type newArrayType(Type componentType) {
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);
    [all...]
  /external/skia/src/sksl/
SkSLMemoryLayout.h 51 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/
BuilderValidator.java 54 private final ComponentDescriptor.Kind componentType;
56 BuilderValidator(Elements elements, Types types, ComponentDescriptor.Kind componentType) {
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();
  /external/conscrypt/api-doclet/src/main/java/org/conscrypt/doclet/
FilterDoclet.java 99 Class<?> componentType = expected.getComponentType();
100 if (componentType == null) {
110 list.add(filterHidden(entry, componentType));
112 return list.toArray((Object[]) Array.newInstance(componentType, list.size()));
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
vsbackup.h 131 STDMETHOD_(HRESULT,AddComponent)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName) PURE;
138 STDMETHOD_(HRESULT,SetBackupSucceeded)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSucceeded) PURE;
139 STDMETHOD_(HRESULT,SetBackupOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszBackupOptions) PURE;
140 STDMETHOD_(HRESULT,SetSelectedForRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore) PURE;
141 STDMETHOD_(HRESULT,SetRestoreOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreOptions) PURE;
142 STDMETHOD_(HRESULT,SetAdditionalRestores)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAdditionalResources) PURE;
143 STDMETHOD_(HRESULT,SetPreviousBackupStamp)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPreviousBackupStamp) PURE;
146 STDMETHOD_(HRESULT,AddAlternativeLocationMapping)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFilespec,BOOLEAN bRecursive,LPCWSTR wszDestination) PURE;
147 STDMETHOD_(HRESULT,AddRestoreSubcomponent)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszSubComponentLogicalPath,LPCWSTR wszSubComponentName,BOOLEAN bRepair) PURE;
148 STDMETHOD_(HRESULT,SetFileRestoreStatus)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_FILE_RESTORE_STATUS status) PURE
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
BaseConstructor.java 280 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/
Types.java 66 * {@code componentType}.
70 public static GenericArrayType arrayOf(Type componentType) {
71 return new GenericArrayTypeImpl(componentType);
  /frameworks/base/core/java/android/hardware/camera2/utils/
TypeReference.java 199 private static final Class<?> getArrayClass(Class<?> componentType) {
200 return Array.newInstance(componentType, 0).getClass();
209 Type componentType = getComponentType(mType);
211 return (componentType != null) ?
212 createSpecializedTypeReference(componentType) :
  /external/deqp/framework/opengl/
gluDrawUtil.cpp 44 VertexComponentType componentType;
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_INT8, VTX_COMP_SIGNED_INT32)
    [all...]
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
AnnotationTypeUtil.java 78 final String componentType = getDescription(arrayType.getComponentType());
79 return ARRAY + componentType;
  /libcore/libart/src/main/java/dalvik/system/
VMRuntime.java 267 public native Object newNonMovableArray(Class<?> componentType, int length);
272 * componentType and the memory allocator implementation.
275 public native Object newUnpaddedArray(Class<?> componentType, int minLength);

Completed in 571 milliseconds

1 2 3 4 5 6 7 8 91011>>