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

1 2 3 4 5 6 7

  /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() + "[]";
  /frameworks/base/tools/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...]
  /cts/tools/signature-tools/src/signature/model/impl/
SigArrayType.java 26 private ITypeReference componentType;
28 public SigArrayType(ITypeReference componentType) {
29 this.componentType = componentType;
33 return componentType;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericArrayTypeTest.java 39 Type componentType = ((GenericArrayType) genericType).getGenericComponentType();
40 assertEquals(getTypeParameter(clazz), componentType);
41 assertInstanceOf(TypeVariable.class, componentType);
42 TypeVariable<?> componentTypeVariable = (TypeVariable<?>) componentType;
58 Type componentType = arrayType.getGenericComponentType();
59 assertInstanceOf(ParameterizedType.class, componentType);
60 ParameterizedType parameteriezdType = (ParameterizedType) componentType;
  /frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
ext.kt 61 val componentType : String;
63 'Z' -> componentType = "boolean"
64 'B' -> componentType = "byte"
65 'C' -> componentType = "char"
66 'L' -> componentType = name.substring(numArray + 1, name.length() - 1).replace('$', '.');
67 'D' -> componentType = "double"
68 'F' -> componentType = "float"
69 'I' -> componentType = "int"
70 'J' -> componentType = "long"
71 'S' -> componentType = "short
    [all...]
  /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...]
  /external/guava/guava/src/com/google/common/reflect/
Types.java 62 /** Returns the array type of {@code componentType}. */
63 static Type newArrayType(Type componentType) {
64 if (componentType instanceof WildcardType) {
65 WildcardType wildcard = (WildcardType) componentType;
76 return JavaVersion.CURRENT.newArrayType(componentType);
208 Type componentType = getComponentType(bound);
209 if (componentType != null) {
212 if (componentType instanceof Class) {
213 Class<?> componentClass = (Class<?>) componentType;
218 return subtypeOf(componentType);
    [all...]
TypeResolver.java 140 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);
  /libcore/luni/src/main/java/java/lang/reflect/
Array.java 315 * dimensions. Equivalent to {@code new componentType[d0][d1]...[dn]} for a
325 public static Object newInstance(Class<?> componentType, int... dimensions) throws NegativeArraySizeException, IllegalArgumentException {
329 if (componentType == void.class) {
332 if (componentType == null) {
333 throw new NullPointerException("componentType == null");
335 return createMultiArray(componentType, dimensions);
341 private static native Object createMultiArray(Class<?> componentType, int[] dimensions) throws NegativeArraySizeException;
345 * Equivalent to {@code new componentType[size]}.
352 public static Object newInstance(Class<?> componentType, int size) throws NegativeArraySizeException {
353 if (!componentType.isPrimitive())
    [all...]
  /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;
137 STDMETHOD_(HRESULT,SetBackupSucceeded)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSucceeded) PURE;
138 STDMETHOD_(HRESULT,SetBackupOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszBackupOptions) PURE;
139 STDMETHOD_(HRESULT,SetSelectedForRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore) PURE;
140 STDMETHOD_(HRESULT,SetRestoreOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreOptions) PURE;
141 STDMETHOD_(HRESULT,SetAdditionalRestores)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAdditionalResources) PURE;
142 STDMETHOD_(HRESULT,SetPreviousBackupStamp)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPreviousBackupStamp) PURE;
145 STDMETHOD_(HRESULT,AddAlternativeLocationMapping)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFilespec,BOOLEAN bRecursive,LPCWSTR wszDestination) PURE;
146 STDMETHOD_(HRESULT,AddRestoreSubcomponent)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszSubComponentLogicalPath,LPCWSTR wszSubComponentName,BOOLEAN bRepair) PURE;
147 STDMETHOD_(HRESULT,SetFileRestoreStatus)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_FILE_RESTORE_STATUS status) PURE
    [all...]
  /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...]
gluDrawUtil.hpp 114 VertexComponentType componentType; //!< Component type.
123 : componentType (componentType_)
133 : componentType (VTX_COMP_TYPE_LAST)
  /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 258 public native Object newNonMovableArray(Class<?> componentType, int length);
263 * componentType and the memory allocator implementation.
265 public native Object newUnpaddedArray(Class<?> componentType, int minLength);
  /cts/tools/signature-tools/src/signature/model/util/
ITypeFactory.java 47 * @param componentType
51 public SigArrayType getArrayType(ITypeReference componentType);
TypePool.java 70 public SigArrayType getArrayType(ITypeReference componentType) {
71 assert componentType != null;
72 return new SigArrayType(componentType);
  /dalvik/dexgen/src/com/android/dexgen/rop/type/
Type.java 289 private Type componentType;
512 this.componentType = null;
860 if (componentType == null) {
865 componentType = intern(descriptor.substring(1));
868 return componentType;
  /dalvik/dx/src/com/android/dx/rop/type/
Type.java 273 private Type componentType;
445 this.componentType = null;
793 if (componentType == null) {
798 componentType = intern(descriptor.substring(1));
801 return componentType;
  /external/dexmaker/src/dx/java/com/android/dx/rop/type/
Type.java 274 private Type componentType;
446 this.componentType = null;
794 if (componentType == null) {
799 componentType = intern(descriptor.substring(1));
802 return componentType;
  /hardware/ti/omap4-aah/domx/omx_core/src/
OMX_Core.c 167 * Description: This method will create the handle of the COMPONENTTYPE
196 OMX_COMPONENTTYPE *componentType;
313 componentType = (OMX_COMPONENTTYPE *) * pHandle;
314 componentType->nSize = sizeof(OMX_COMPONENTTYPE);
316 componentType->nVersion.s.nVersionMajor = 1;
317 componentType->nVersion.s.nVersionMinor = 1;
318 componentType->nVersion.s.nRevision = 0;
319 componentType->nVersion.s.nStep = 0;
326 (componentType->SetCallbacks) (*pHandle, pCallBacks,
  /hardware/ti/omap4xxx/domx/omx_core/src/
OMX_Core.c 160 * Description: This method will create the handle of the COMPONENTTYPE
189 OMX_COMPONENTTYPE *componentType;
300 componentType = (OMX_COMPONENTTYPE *) * pHandle;
301 componentType->nSize = sizeof(OMX_COMPONENTTYPE);
303 componentType->nVersion.s.nVersionMajor = 1;
304 componentType->nVersion.s.nVersionMinor = 1;
305 componentType->nVersion.s.nRevision = 0;
306 componentType->nVersion.s.nStep = 0;
313 (componentType->SetCallbacks) (*pHandle, pCallBacks,
  /libcore/luni/src/main/java/java/io/
ObjectOutputStream.java     [all...]
  /hardware/ti/omap3/omx/system/src/openmax_il/omx_core/src/
OMX_Core.c 146 * Description: This method will create the handle of the COMPONENTTYPE
174 OMX_COMPONENTTYPE *componentType;
269 componentType = (OMX_COMPONENTTYPE*) *pHandle;
270 componentType->nSize = sizeof(OMX_COMPONENTTYPE);
273 err = (componentType->SetCallbacks)(*pHandle, pCallBacks, pAppData);

Completed in 1554 milliseconds

1 2 3 4 5 6 7