/libcore/dex/src/main/java/com/android/dex/ |
H A D | TypeList.java | 26 private final short[] types; field in class:TypeList 28 public TypeList(Dex dex, short[] types) { argument 30 this.types = types; 34 return types; 38 for (int i = 0; i < types.length && i < other.types.length; i++) { 39 if (types[i] != other.types[i]) { 40 return Unsigned.compare(types[ [all...] |
H A D | Dex.java | 429 short[] types = new short[size]; 431 types[i] = data.getShort(position); 434 return types; 486 * Look up interface types indices from a return type index from a method index. Cheaper than: 505 short[] types = new short[size]; 507 types[i] = data.getShort(position); 510 return types; 579 short[] types = readShortArray(size); 581 return new TypeList(Dex.this, types); 867 short[] types [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | ListOfTypes.java | 27 private final ArrayList<Type> types; field in class:ListOfTypes 31 types = new ArrayList<Type>(capacity); 34 ListOfTypes(Type[] types) { argument 35 this.types = new ArrayList<Type>(types.length); 36 for (Type type : types) { 37 this.types.add(type); 45 types.add(type); 49 return types.size(); 55 result = resolveTypes(types); [all...] |
H A D | Types.java | 46 public static Type[] getTypeArray(ListOfTypes types, boolean clone) { argument 47 if (types.length() == 0) { 50 Type[] result = types.getResolvedTypes(); 77 * Returns the names of {@code types} separated by commas. 79 public static String toString(Class<?>[] types) { argument 80 if (types.length == 0) { 84 appendTypeName(result, types[0]); 85 for (int i = 1; i < types.length; i++) { 87 appendTypeName(result, types[i]); 112 * Appends names of the {@code types} t 114 appendArrayGenericType(StringBuilder out, Type[] types) argument [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldAuthenticatorRequestorTypeTest.java | 42 Authenticator.RequestorType[] types = Authenticator.RequestorType.values(); 43 assertEquals(expectedTypes.length, types.length); 46 assertEquals(expectedTypes[i], types[i]);
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
H A D | AttributeListImpl.java | 142 types.add(type); 165 types.remove(i); 183 types.clear(); 233 if (i < 0 || i >= types.size()) { 236 return types.get(i); 290 private ArrayList<String> types = new ArrayList<String>(); 287 private ArrayList<String> types = new ArrayList<String>(); field in class:AttributeListImpl
|
/libcore/luni/src/test/java/tests/support/ |
H A D | MockCallback.java | 41 public void types(String[] types) { argument
|
/libcore/libart/src/main/java/java/lang/reflect/ |
H A D | AbstractMethod.java | 154 * Returns an array of {@code Class} objects associated with the parameter types of this 158 * @return the parameter types 162 short[] types = dex.parameterTypeIndicesFromMethodIndex(dexMethodIndex); 163 if (types.length == 0) { 166 Class<?>[] parametersArray = new Class[types.length]; 167 for (int i = 0; i < types.length; i++) { 168 // Note, in the case of a Proxy the dex cache types are equal. 169 parametersArray[i] = declaringClassOfOverriddenMethod.getDexCacheType(dex, types[i]); 296 short[] types = dex.parameterTypeIndicesFromMethodIndex(dexMethodIndex); 297 if (types [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | ConstructorTest.java | 276 Class[] types = null; 280 types = ctor.getParameterTypes(); 285 assertEquals("Incorrect parameter returned", 0, types.length); 293 types = ctor.getParameterTypes(); 298 assertTrue("Incorrect parameter returned", types[0].equals(parms[0])); 303 Type[] types = null; 307 types = ctor.getGenericParameterTypes(); 311 assertEquals("Incorrect parameter returned", 0, types.length); 318 types = ctor.getGenericParameterTypes(); 322 assertTrue("Incorrect parameter returned", types[ [all...] |
/libcore/ojluni/src/main/native/ |
H A D | nio_util.h | 31 #include <sys/types.h>
|
H A D | jvm_md.h | 64 #include <sys/types.h>
|
H A D | FileDescriptor_md.c | 26 #include <sys/types.h>
|
H A D | NativeThread.c | 26 #include <sys/types.h>
|
H A D | ServerSocketChannelImpl.c | 28 #include <sys/types.h>
|
H A D | SocketChannelImpl.c | 27 #include <sys/types.h>
|
H A D | SocketInputStream.c | 29 #include <sys/types.h>
|
H A D | SocketOutputStream.c | 29 #include <sys/types.h>
|
H A D | FileInputStream.c | 27 #include <sys/types.h> 94 // types. For regular files, this is specified to return the difference 113 // Raise an exception for all other error types.
|
H A D | FileSystemPreferences.c | 31 #include <sys/types.h>
|
H A D | net_util_md.h | 30 #include <sys/types.h>
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ClassLoaderReflectionTest.java | 93 Type[] types = eClass.getGenericInterfaces(); 94 assertEquals(2, types.length); 96 assertParameterizedType(types[0], Callable.class, aClass); 97 assertParameterizedType(types[1], dClass, aClass); 121 Type[] types = method.getGenericParameterTypes(); 122 assertEquals(2, types.length); 123 assertParameterizedType(types[0], bClass, String.class); 124 assertParameterizedType(types[1], List.class, aClass);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyRepTypeTest.java | 62 KeyRep.Type[] types = new KeyRep.Type[] { KeyRep.Type.SECRET, 65 assertTrue(Arrays.equals(types, KeyRep.Type.values()));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | ProxyTest.java | 231 Proxy.Type types[] = Proxy.Type.values(); 232 assertEquals(3, types.length); 233 assertEquals(Proxy.Type.DIRECT, types[0]); 234 assertEquals(Proxy.Type.HTTP, types[1]); 235 assertEquals(Proxy.Type.SOCKS, types[2]);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldClassTest.java | 428 Type [] types = ExtendTestClass1.class.getGenericInterfaces(); 429 assertEquals(0, types.length); 433 types = PublicTestClass.class.getGenericInterfaces(); 434 assertEquals(interfaces.length, types.length); 435 for(int i = 0; i < types.length; i++) { 436 assertEquals(interfaces[i], types[i]); 439 types = TestInterface.class.getGenericInterfaces(); 440 assertEquals(0, types.length); 442 types = List.class.getGenericInterfaces(); 443 assertEquals(1, types [all...] |
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | MimeTable.java | 55 System.getProperty("content.types.temp.file.template", 74 private static final String filePreamble = "sun.net.www MIME content-types table"; 236 System.getProperty("content.types.user.table"); 245 "content-types.properties"); 254 "content-types.properties"); 278 Enumeration<?> types = entries.propertyNames(); 279 while (types.hasMoreElements()) { 280 String type = (String)types.nextElement(); 393 "content-types.properties");
|