/libcore/ojluni/src/test/java/lang/invoke/ |
D | PermuteArgsTest.java | 180 for (int arity = arity0; arity <= MAX_ARITY; arity++) { in test() 183 mh1 = adjustArity(mh, arity); in test() 185 System.out.println("*** mh = "+name+" : "+mh+"; arity = "+arity+" => "+ex); in test() 189 test("("+arity+")"+name, mh1); in test() 190 arity = jump(arity, arity0*2, MAX_ARITY); in test() 197 static MethodHandle adjustArity(MethodHandle mh, int arity) { in adjustArity() argument 202 while (mt1.parameterCount() < arity) { in adjustArity() 217 int arity = perm.length; in findTestMH() local 225 if (mhArity-1 <= arity) in findTestMH() 226 return adjustArity(mh, arity); in findTestMH() [all …]
|
D | ExplicitCastArgumentsTest.java | 511 int arity = 1 + RNG.nextInt(Helper.MAX_ARITY / 2 - 2); in testMultipleArgs() local 512 int arityMinus = RNG.nextInt(arity); in testMultipleArgs() 513 int arityPlus = arity + RNG.nextInt(Helper.MAX_ARITY / 2 - arity) + 1; in testMultipleArgs() 514 MethodType mType = Helper.randomMethodTypeGenerator(arity); in testMultipleArgs() 515 MethodType mTypeNew = Helper.randomMethodTypeGenerator(arity); in testMultipleArgs() 528 original = Helper.addTrailingArgs(original, arity, mType.parameterList()); in testMultipleArgs()
|
D | MethodHandlesTest.java | 329 static MethodHandle varargsList(int arity) { in varargsList() argument 330 return ValueConversions.varargsList(arity); in varargsList() 334 static MethodHandle varargsArray(int arity) { in varargsArray() argument 335 return ValueConversions.varargsArray(arity); in varargsArray() 338 static MethodHandle varargsArray(Class<?> arrayType, int arity) { in varargsArray() argument 339 return ValueConversions.varargsArray(arrayType, arity); in varargsArray() 343 static MethodHandle varargsList(int arity, Class<?> rtype) { in varargsList() argument 344 MethodHandle list = varargsList(arity); in varargsList()
|
D | InvokeWithArgumentsTest.java | 43 static Object[] arity(Object o1, Object o2, Object... a) { in arity() method in InvokeWithArgumentsTest
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | X-VarHandleTestMethodType.java.template | 148 // Incorrect arity 171 // Incorrect arity 198 // Incorrect arity 221 // Incorrect arity 248 // Incorrect arity 271 // Incorrect arity 298 // Incorrect arity 321 // Incorrect arity 348 // Incorrect arity 374 // Incorrect arity [all …]
|
/libcore/ojluni/src/test/java/lang/invoke/common/test/java/lang/invoke/lib/ |
D | Helper.java | 185 public static MethodHandle varargsList(int arity) { in varargsList() argument 186 return AS_LIST.asCollector(Object[].class, arity); in varargsList() 335 public static MethodType randomMethodTypeGenerator(int arity) { in randomMethodTypeGenerator() argument 347 if (arity > MAX_ARITY) { in randomMethodTypeGenerator() 351 List<Class<?>> list = randomClasses(CLASSES, arity); in randomMethodTypeGenerator() 352 list = getParams(list, false, arity); in randomMethodTypeGenerator()
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFunctionResolver.java | 59 public XPathFunction resolveFunction(QName functionName, int arity); in resolveFunction() argument
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | XPathExFuncTest.java | 211 public XPathFunction resolveFunction(QName functionName, int arity) { in resolveFunction() argument
|
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/ |
D | Main.java | 72 @Parameter(required = true, arity = 1, 111 @Parameter(required = true, arity = 1,
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 5509 int arity = mh.type().parameterCount(); in swapArguments() local 5510 int[] order = new int[arity]; in swapArguments() 5511 for (int k = 0; k < arity; k++) order[k] = k; in swapArguments()
|