/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | SimpleMethodHandle.java | 60 MethodHandle permuteArguments(MethodType newType, int[] reorder) { argument 61 LambdaForm form2 = internalForm().permuteArguments(1, reorder, basicTypes(newType.parameterList()));
|
H A D | MethodHandle.java | 1328 MethodHandle permuteArguments(MethodType newType, int[] reorder) { argument 1330 return rebind().permuteArguments(newType, reorder);
|
H A D | BoundMethodHandle.java | 123 MethodHandle permuteArguments(MethodType newType, int[] reorder) { argument 125 return clone(newType, form.permuteArguments(1, reorder, basicTypes(newType.parameterList())));
|
H A D | LambdaForm.java | 903 LambdaForm permuteArguments(int skip, int[] reorder, char[] types) { argument 904 // Note: When inArg = reorder[outArg], outArg is fed by a copy of inArg. 908 int outArgs = reorder.length; 910 assert(permutedTypesMatch(reorder, types, names, skip)); 913 while (pos < outArgs && reorder[pos] == pos) pos += 1; 924 result2 = reorder[result2-skip]; 932 int i = reorder[j]; 962 static boolean permutedTypesMatch(int[] reorder, char[] types, Name[] names, int skip) { argument 964 int outArgs = reorder.length; 967 assert(names[skip+i].type == types[reorder[ [all...] |
H A D | MethodHandleImpl.java | 402 MethodHandle permuteArguments(MethodType newType, int[] reorder) { argument 403 return asFixedArity().permuteArguments(newType, reorder);
|
H A D | MethodHandles.java | 1559 * argument, where {@code I} is {@code reorder[N]}. 1594 * @param reorder an index array which controls the reordering 1605 MethodHandle permuteArguments(MethodHandle target, MethodType newType, int... reorder) { argument 1606 checkReorder(reorder, newType, target.type()); 1607 return target.permuteArguments(newType, reorder); 1610 private static void checkReorder(int[] reorder, MethodType newType, MethodType oldType) { argument 1614 if (reorder.length == oldType.parameterCount()) { 1617 for (int j = 0; j < reorder.length; j++) { 1618 int i = reorder[j]; 1625 throw newIllegalArgumentException("parameter types do not match after reorder", [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | KhmerReordering.cpp | 384 le_int32 KhmerReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 /*scriptCode*/, function in class:KhmerReordering
|
H A D | TibetanReordering.cpp | 347 le_int32 TibetanReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32, function in class:TibetanReordering
|
H A D | IndicReordering.cpp | 650 le_int32 IndicReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 scriptCode, function in class:IndicReordering
|
/openjdk7/jdk/test/java/lang/invoke/ |
H A D | MethodHandlesTest.java | 1558 int[] reorder = new int[outargs]; 1562 Arrays.fill(reorder, i); 1563 testPermuteArguments(args, types, reorder); 1567 reorder[j] += 1; 1568 testPermuteArguments(args, types, reorder); 1569 testPermuteArguments(args, types, reverse(reorder)); 1576 reorder[j] = (i + (j % len)) % inargs; 1577 testPermuteArguments(args, types, reorder); 1578 testPermuteArguments(args, types, reverse(reorder)); 1589 int[] reorder 1600 reverse(int[] reorder) argument 1611 testPermuteArguments(Object[] args, Class<?>[] types, int[] reorder) argument [all...] |