Searched refs:mt (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodTypeTest.java | 36 MethodType mt = MethodType.methodType(int.class, in test_methodType_basicTestsReturnTypeAndParameterClassArray() local 39 assertEquals(int.class, mt.returnType()); in test_methodType_basicTestsReturnTypeAndParameterClassArray() 40 assertParameterTypes(mt, String.class, long.class); in test_methodType_basicTestsReturnTypeAndParameterClassArray() 62 MethodType mt = MethodType.methodType(int.class, Arrays.asList(String.class, long.class)); in test_methodType_basicTestsReturnTypeAndParameterClassList() local 64 assertEquals(int.class, mt.returnType()); in test_methodType_basicTestsReturnTypeAndParameterClassList() 65 assertParameterTypes(mt, String.class, long.class); in test_methodType_basicTestsReturnTypeAndParameterClassList() 87 MethodType mt = MethodType.methodType(int.class, String.class, long.class); in test_methodType_basicTestsReturnTypeAndVarargsParameters() local 89 assertEquals(int.class, mt.returnType()); in test_methodType_basicTestsReturnTypeAndVarargsParameters() 90 assertParameterTypes(mt, String.class, long.class); in test_methodType_basicTestsReturnTypeAndVarargsParameters() 112 MethodType mt = MethodType.methodType(int.class); in test_methodType_basicTestsReturnTypeOnly() local [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | MacFunctionalTest.java | 25 MacThread mt = new MacThread(algArray); in test_Mac() local 26 mt.launcher(); in test_Mac() 28 assertEquals(mt.getFailureMessages(), 0, mt.getTotalFailuresNumber()); in test_Mac()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodType.java | 305 MethodType mt = internTable.get(new MethodType(ptypes, rtype)); in makeImpl() local 306 if (mt != null) in makeImpl() 307 return mt; in makeImpl() 311 mt = new MethodType(rtype, ptypes, trusted); in makeImpl() 313 mt.form = MethodTypeForm.findForm(mt); in makeImpl() 314 return internTable.add(mt); in makeImpl() 331 MethodType mt; in genericMethodType() local 336 mt = objectOnlyTypes[ootIndex]; in genericMethodType() 337 if (mt != null) return mt; in genericMethodType() 342 mt = makeImpl(Object.class, ptypes, true); in genericMethodType() [all …]
|
D | MethodTypeForm.java | 265 static MethodTypeForm findForm(MethodType mt) { in findForm() argument 266 MethodType erased = canonicalize(mt, ERASE, ERASE); in findForm() 269 return new MethodTypeForm(mt); in findForm() 292 public static MethodType canonicalize(MethodType mt, int howRet, int howArgs) { in canonicalize() argument 293 Class<?>[] ptypes = mt.ptypes(); in canonicalize() 295 Class<?> rtype = mt.returnType(); in canonicalize()
|