Searched refs:MH_step (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/lang/invoke/ |
D | CountedLoopIterationCountsTest.java | 65 … MH_step); // increment loop counter by one in each iteration in run() 79 static final MethodHandle MH_step; field in CountedLoopIterationCountsTest 83 … MH_step = MethodHandles.lookup().findStatic(CountedLoopIterationCountsTest.class, "step",
|
D | LoopCombinatorTest.java | 170 List<MethodHandle> finis = Arrays.asList(Fac.MH_fin, Fac.MH_inc, Counted.MH_step); in negativeTestData() 192 {null, Counted.MH_start, null, Counted.MH_step}}, in negativeTestData() 234 MethodHandle MH_step, in testWhileLoop() argument 238 MethodHandle loop = MethodHandles.whileLoop(MH_zero, MH_pred, MH_step); in testWhileLoop() 240 if (MH_step.type().equals(While.MH_step.type())) in testWhileLoop() 242 assertEquals(MH_step.type().dropParameterTypes(0, 1), loop.type()); in testWhileLoop() 267 stepII = While.MH_step, in whileLoopTestData() 338 MethodHandle MH_step, in testDoWhileLoop() argument 342 MethodHandle loop = MethodHandles.doWhileLoop(MH_zero, MH_step, MH_pred); in testDoWhileLoop() 344 if (MH_step.type().equals(While.MH_step.type())) in testDoWhileLoop() [all …]
|
D | JavaDocExamplesTest.java | 807 MethodHandle MH_zero, MH_step, MH_pred; in testDoWhileLoop() local 810 MH_step = LOOKUP.findStatic(THIS_CLASS, "step", methodType(I, I, I)); in testDoWhileLoop() 815 MethodHandle loop = MethodHandles.doWhileLoop(MH_zero, MH_step, MH_pred); in testDoWhileLoop() 827 MethodHandle MH_step; in testCountedLoop() local 830 MH_step = LOOKUP.findStatic(THIS_CLASS, "step", methodType(S, S, I, S)); in testCountedLoop() 837 MethodHandle loop = MethodHandles.countedLoop(fit13, start, MH_step); // (v, i, _) -> "na " + v in testCountedLoop() 842 MH_step = LOOKUP.findStatic(THIS_CLASS, "step", methodType(S, S, I)); in testCountedLoop() 849 MethodHandle loop = MethodHandles.countedLoop(count, start, MH_step); // (v, i) -> "na " + v in testCountedLoop() 858 MH_step = LOOKUP.findStatic(THIS_CLASS, "step", methodType(S, S, I, I, S, S)); in testCountedLoop() 865 MethodHandle loop = MethodHandles.countedLoop(count, start, MH_step); // (v, i, _, pre, _) -> pre … in testCountedLoop() [all …]
|