Searched refs:parameterCount (Results 1 – 11 of 11) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodTypeTest.java | 115 assertEquals(0, mt.parameterCount()); in test_methodType_basicTestsReturnTypeOnly() 174 assertEquals(0, mt.parameterCount()); in testGenericMethodType() 180 assertEquals(3, mt.parameterCount()); in testGenericMethodType() 231 assertEquals(mt.parameterCount(), changed.parameterCount()); in testChangeParameterType() 425 assertEquals(0, dropAll.parameterCount()); in testDropParameterTypes() 510 assertEquals(generic, MethodType.genericMethodType(mt.parameterCount())); in testGeneric() 570 assertEquals(3, mt.parameterCount()); in testParameterListAndArray() 579 assertEquals(0, mt.parameterCount()); in testParameterListAndArray() 680 assertEquals(params.length, type.parameterCount()); in assertParameterTypes()
|
D | MethodHandlesTest.java | 95 assertEquals(1, handle.type().parameterCount()); in test_findStatic() 153 assertEquals(1, handle.type().parameterCount()); in test_findConstructor() 213 assertEquals(3, handle.type().parameterCount()); in test_findVirtual()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandle.java | 995 final int targetParamCount = postSpreadType.parameterCount(); in asSpreader() 1010 int nargs = type().parameterCount(); in asSpreaderChecks() 1144 int nargs = type().parameterCount(); in asCollectorChecks()
|
D | MethodHandles.java | 1566 adapterType.parameterType(adapterType.parameterCount() - 1)); in bind() 2384 if (leadingArgCount < 0 || leadingArgCount > type.parameterCount()) in spreadInvoker() 2388 int spreadArgCount = type.parameterCount() - leadingArgCount; in spreadInvoker() 2615 if (target.type().parameterCount() != newType.parameterCount()) { in explicitCastArgumentsChecks() 2696 if (reorder.length == oldType.parameterCount()) { in permuteArgumentChecks() 2697 int limit = newType.parameterCount(); in permuteArgumentChecks() 2847 int outargs = oldType.parameterCount(); in insertArgumentsChecks() 2920 int outargs = oldType.parameterCount(); in dropArgumentChecks() 3059 int maxPos = targetType.parameterCount(); in filterArgumentsCheckArity() 3067 if (filterType.parameterCount() != 1 in filterArgumentChecks() [all …]
|
D | MethodType.java | 417 return insertParameterTypes(parameterCount(), ptypesToInsert); in appendParameterTypes() 445 return insertParameterTypes(parameterCount(), ptypesToInsert); in appendParameterTypes() 480 assert(parameterCount() >= arrayLength); in asSpreaderType() 523 assert(parameterCount() >= 1); in asCollectorType() 651 return genericMethodType(parameterCount()); in generic() 721 public int parameterCount() { in parameterCount() method in MethodType
|
D | CallSite.java | 115 if (type.parameterCount() > 0) { in CallSite()
|
D | Transformers.java | 167 (handler.type().parameterCount() - 1)); in CatchException() 218 … testArgsRange = EmulatedStackFrame.Range.of(target.type(), 0, test.type().parameterCount()); in GuardWithTest() 1006 copyRange = EmulatedStackFrame.Range.of(type(), 1, type().parameterCount()); in Invoker() 1071 arrayOffset = spreaderType.parameterCount() - 1; in Spreader() 1337 arrayOffset = delegate.type().parameterCount() - 1; in Collector() 1563 final int numFilterArgs = collector.type().parameterCount(); in CollectArguments() 1564 final int numAdapterArgs = type().parameterCount(); in CollectArguments() 1708 range2 = Range.of(type, pos, type.parameterCount()); in InsertArguments()
|
D | MethodTypeForm.java | 278 public int parameterCount() { // # outgoing values in parameterCount() method in MethodTypeForm
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodType.java | 89 public int parameterCount() { return 0; } in parameterCount() method in MethodType
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 995 final int parameterCount = executable.getParameterCount(); in getParameterTestHelpers() local 996 ParameterTestHelper[] parameterTestHelpers = new ParameterTestHelper[parameterCount]; in getParameterTestHelpers() 997 for (int i = 0; i < parameterCount; i++) { in getParameterTestHelpers()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 121 return of(frameType, 0, frameType.parameterCount()); in all()
|