/libcore/ojluni/src/test/java/lang/invoke/ |
D | TryFinallyTest.java | 78 MethodHandles.dropArguments(identity, 0, Throwable.class)); in testTryFinally() 88 MethodHandles.dropArguments(identity, 0, TryFinally.T1.class)); in testTryFinallyException() 112 {MethodHandles.dropArguments(c, 1, int.class)}, in omitTrailingArguments() 113 {MethodHandles.dropArguments(c, 1, int.class, long.class)}, in omitTrailingArguments() 114 {MethodHandles.dropArguments(c, 1, int.class, long.class, Object.class, int.class)}, in omitTrailingArguments() 115 … {MethodHandles.dropArguments(c, 1, int.class, long.class, Object.class, int.class, long.class)} in omitTrailingArguments() 129 …MethodHandle errTarget = MethodHandles.dropArguments(intco, 0, int.class, double.class, String.cla… in negativeTestData() 130 …MethodHandle errCleanup = MethodHandles.dropArguments(MethodHandles.constant(int.class, 0), 0, Thr… in negativeTestData() 133 … MethodHandle voidICleanup = MethodHandles.dropArguments(TryFinally.MH_voidCleanup, 1, int.class); in negativeTestData() 137 {intid, MethodHandles.dropArguments(intid, 0, String.class), in negativeTestData() [all …]
|
D | PermuteArgsReturnVoidTest.java | 40 import static java.lang.invoke.MethodHandles.dropArguments; 76 MethodHandle consumeIdentity = dropArguments( in testReturnFromArg()
|
D | JavaDocExamplesTest.java | 235 MethodHandle d0 = dropArguments(cat, 0, String.class); in testPermuteArguments() 237 MethodHandle d1 = dropArguments(cat, 1, String.class); in testPermuteArguments() 239 MethodHandle d2 = dropArguments(cat, 2, String.class); in testPermuteArguments() 241 MethodHandle d12 = dropArguments(cat, 1, int.class, boolean.class); in testPermuteArguments() 264 MethodHandle d0 = dropArguments(cat, 0, bigType.parameterList().subList(0,2)); in testDropArguments() 273 MethodHandle d0 = dropArguments(cat, 0, String.class); in testDropArguments() 275 MethodHandle d1 = dropArguments(cat, 1, String.class); in testDropArguments() 277 MethodHandle d2 = dropArguments(cat, 2, String.class); in testDropArguments() 279 MethodHandle d12 = dropArguments(cat, 1, int.class, boolean.class); in testDropArguments() 290 MethodHandle h2 = dropArguments(h1, 0, bigType.parameterList()); in testDropArgumentsToMatch() [all …]
|
D | LoopCombinatorTest.java | 141 MethodHandles.dropArguments(LoopWithVirtuals.MH_one, 0, LoopWithVirtuals.class), in testLoopWithVirtuals() 164 MethodHandle ii = MethodHandles.dropArguments(i0, 0, int.class, int.class); in negativeTestData() 165 MethodHandle id = MethodHandles.dropArguments(i0, 0, int.class, double.class); in negativeTestData() 166 MethodHandle i3 = MethodHandles.dropArguments(i0, 0, int.class, int.class, int.class); in negativeTestData() 173 MethodHandle eek = MethodHandles.dropArguments(i0, 0, int.class, int.class, double.class); in negativeTestData() 324 return MethodHandles.dropArguments(mh, mh.type().parameterCount(), addType); in slap() 439 …MethodHandle fit13 = MethodHandles.dropArguments(MethodHandles.constant(int.class, 13), 0, String.… in testCountedLoop() 454 if (addInitArg) init = MethodHandles.dropArguments(init, 0, int.class); in testCountedLoopVoidInit() 455 if (addBodyArg) body = MethodHandles.dropArguments(body, 1, int.class); in testCountedLoopVoidInit() 472 …MethodHandle fit13 = MethodHandles.dropArguments(MethodHandles.constant(int.class, 13), 0, int[].c… in testCountedArrayLoop() [all …]
|
D | MethodHandlesGeneralTest.java | 1333 MethodHandle target2 = MethodHandles.dropArguments(target, pos, in testDropArguments() 1502 h = MethodHandles.dropArguments(h, 1, lArgTypes.subList(i + 1, nargs)); in testGenericLoopCombinator() 1505 h = MethodHandles.dropArguments(h, 0, lArgTypes.subList(0, i)); in testGenericLoopCombinator() 1513 MethodHandle genericFini = MethodHandles.dropArguments( in testGenericLoopCombinator() 1520 preds[i] = MethodHandles.dropArguments( in testGenericLoopCombinator() 1521 … MethodHandles.dropArguments(preds[i], i + 1, additionalLocalStateArgTypes), nargs, lArgTypes); in testGenericLoopCombinator() 1522 steps[i] = MethodHandles.dropArguments( in testGenericLoopCombinator() 1523 … MethodHandles.dropArguments(steps[i], i + 1, additionalLocalStateArgTypes), nargs, lArgTypes); in testGenericLoopCombinator() 1636 MethodHandle targetThrow = MethodHandles.dropArguments( in testTryFinally() 1638 …MethodHandle cleanupPassThrough = MethodHandles.dropArguments(MethodHandles.identity(String.class)… in testTryFinally() [all …]
|
D | RicochetTest.java | 375 proj = dropArguments(proj, j, Object.class); in testReturns() 380 MethodHandle vgFilter = dropArguments(valGetter, 0, Object.class); in testReturns() 393 proj = dropArguments(proj, arg0, Object.class); in testReturns() 400 vgFilter = dropArguments(vgFilter, j, Object.class); in testReturns()
|
D | SpreadCollectTest.java | 93 …MethodHandle h = MethodHandles.dropArguments(MethodHandles.constant(String.class, ""), 0, int.clas… in testAsSpreaderIllegalMethodType()
|
D | InvokeGenericTest.java | 513 mh = MethodHandles.dropArguments(mh, 1, int.class); in testBoxConversions()
|
D | MethodHandlesTest.java | 398 return MethodHandles.dropArguments(target, targetLen, fakeArgs); in addTrailingArgs()
|
/libcore/ojluni/src/main/java/java/lang/runtime/ |
D | ObjectMethods.java | 211 …MethodHandle instanceFalse = MethodHandles.dropArguments(FALSE, 0, receiverClass, Object.class); /… in makeEquals() 212 …MethodHandle instanceTrue = MethodHandles.dropArguments(TRUE, 0, receiverClass, Object.class); // … in makeEquals() 214 …MethodHandle isInstance = MethodHandles.dropArguments(CLASS_IS_INSTANCE.bindTo(receiverClass), 0, … in makeEquals() 215 …MethodHandle accumulator = MethodHandles.dropArguments(TRUE, 0, receiverClass, receiverClass); // … in makeEquals() 236 MethodHandle accumulator = MethodHandles.dropArguments(ZERO, 0, receiverClass); // (R)I in makeHashCode() 286 formatter = MethodHandles.dropArguments(formatter, 0, receiverClass); in makeToString()
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 124 …MethodHandle dropArguments(MethodHandle target, int pos, List<Class<?>> valueTypes) { return null;… in dropArguments() method in MethodHandles 127 … MethodHandle dropArguments(MethodHandle target, int pos, Class<?>... valueTypes) { return null; } in dropArguments() method in MethodHandles
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | CallSite.java | 116 this.target = MethodHandles.dropArguments(this.target, 0, type.ptypes()); in CallSite()
|
D | MethodHandles.java | 3080 return dropArguments(zero(type.returnType()), 0, type.parameterList()); in empty() 3262 MethodHandle dropArguments(MethodHandle target, int pos, List<Class<?>> valueTypes) { in dropArguments() method in MethodHandles 3348 MethodHandle dropArguments(MethodHandle target, int pos, Class<?>... valueTypes) { in dropArguments() method in MethodHandles 4086 test = dropArguments(test, gpc, targs.subList(gpc, tpc)); in guardWithTest() 5196 incr = dropArguments(incr, 1, returnType); // (limit, v, i) => (limit, i) in countedLoop() 5197 pred = dropArguments(pred, 1, returnType); // ditto in countedLoop() 5198 retv = dropArguments(identity(returnType), 0, counterType); in countedLoop() 5200 body = dropArguments(body, 0, counterType); // ignore the limit variable in countedLoop() 5436 retv = dropArguments(identity(returnType), 0, Iterator.class); in iteratedLoop()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 63 MethodHandle transform = MethodHandles.dropArguments( in testDropArguments() 77 transform = MethodHandles.dropArguments(delegate, 1, int.class, Object.class); in testDropArguments() 82 transform = MethodHandles.dropArguments(delegate, 2, int.class, Object.class); in testDropArguments() 98 transform = MethodHandles.dropArguments(delegate, 0, int.class, Object.class); in testDropArguments() 105 MethodHandles.dropArguments(delegate, -1, int.class, Object.class); in testDropArguments() 112 MethodHandles.dropArguments(delegate, 3, int.class, Object.class); in testDropArguments() 118 MethodHandles.dropArguments(delegate, 1, void.class); in testDropArguments() 129 MethodHandle transform = MethodHandles.dropArguments( in testDropArguments_List() 1741 MethodHandle mh = MethodHandles.dropArguments(delegate, 0, int.class, Object.class); in testDropInsertArgumentsMultithreaded() 1758 thrower = MethodHandles.dropArguments(thrower, 0, int.class, int.class, long.class); in testThrowCatchExceptionMultiThreaded()
|
/libcore/ojluni/src/test/java/lang/invoke/MethodHandles/ |
D | TestTableSwitch.java | 67 return MethodHandles.dropArguments(MethodHandles.constant(type, value), 0, int.class); in simpleTestCase()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 260 public static java.lang.invoke.MethodHandle dropArguments( in dropArguments() method in MethodHandles 279 public static java.lang.invoke.MethodHandle dropArguments( in dropArguments() method in MethodHandles
|
/libcore/ojluni/src/test/java/lang/invoke/common/test/java/lang/invoke/lib/ |
D | Helper.java | 182 return MethodHandles.dropArguments(target, targetLen, fakeArgs); in addTrailingArgs()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 2725 … mh = MethodHandles.dropArguments(mh, mh.type().parameterCount(), byte[].class, Object[].class); in deserializationCtr() 2791 mh = MethodHandles.dropArguments(mh, 1, Object[].class); in streamFieldExtractor() 2806 mh = MethodHandles.dropArguments(mh, 0, byte[].class); in streamFieldExtractor()
|
/libcore/api/ |
D | current.txt | 4690 …method public static java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, in… 4691 …method public static java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, in…
|