Home
last modified time | relevance | path

Searched refs:mh (Results 1 – 7 of 7) sorted by relevance

/dalvik/dx/tests/132-invoke-polymorphic/
DTestInvokePolymorphic.java20 public static void testInvokeVoidReturnNoArgs(MethodHandle mh) throws Throwable { in testInvokeVoidReturnNoArgs() argument
21 mh.invoke(); in testInvokeVoidReturnNoArgs()
24 public static void testInvokeExactVoidReturnNoArgs(MethodHandle mh) throws Throwable { in testInvokeExactVoidReturnNoArgs() argument
25 mh.invokeExact(); in testInvokeExactVoidReturnNoArgs()
28 public static int testInvokeIntReturnNoArgs(MethodHandle mh) throws Throwable { in testInvokeIntReturnNoArgs() argument
29 return (int) mh.invoke(); in testInvokeIntReturnNoArgs()
32 public static int testInvokeExactIntReturnNoArgs(MethodHandle mh) throws Throwable { in testInvokeExactIntReturnNoArgs() argument
33 return (int) mh.invokeExact(); in testInvokeExactIntReturnNoArgs()
36 public static long testInvokeLongReturnNoArgs(MethodHandle mh) throws Throwable { in testInvokeLongReturnNoArgs() argument
37 return (long) mh.invoke(); in testInvokeLongReturnNoArgs()
[all …]
DTestInvokePolymorphic.class ... lang.Throwable java.lang.invoke.MethodHandle mh public static void testInvokeExactVoidReturnNoArgs (java.lang.invoke ...
Dexpected.txt93 |[20] "mh"
435 | parameter mh v2
456 | parameter mh v2
475 | parameter mh v2
496 | parameter mh v2
515 | parameter mh v2
539 | parameter mh v1
558 | parameter mh v2
576 | parameter mh v0
599 | parameter mh v0
[all …]
/dalvik/dx/tests/142-const-method-handle/src/constmethodhandle/
DConstTest.java23 private static void displayMethodHandle(MethodHandle mh) throws Throwable { in displayMethodHandle() argument
24 System.out.println("MethodHandle " + mh + " => " + in displayMethodHandle()
25 (Class) mh.invoke((Object) Float.valueOf(1.23e4f))); in displayMethodHandle()
DTestGenerator.java92 Handle mh = new Handle(Opcodes.H_INVOKEVIRTUAL, Type.getInternalName(Object.class), in generateMethodTest1() local
94 mv.visitLdcInsn(mh); in generateMethodTest1()
/dalvik/dx/tests/137-dexmerger-dex38/src/invokecustom/
DInvokeCustom.java154 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallSite() argument
156 System.out.println("bsmCreateCallSite [" + mh + "]"); in bsmCreateCallSite()
157 return new ConstantCallSite(mh); in bsmCreateCallSite()
/dalvik/dx/tests/135-invoke-custom/src/invokecustom/
DInvokeCustom.java158 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallSite() argument
160 System.out.println("bsmCreateCallSite [" + mh + "]"); in bsmCreateCallSite()
161 return new ConstantCallSite(mh); in bsmCreateCallSite()