/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | PSKKeyManagerProxy.java | 77 public final Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke() argument 84 return getKey((String) args[0], (String) args[1], (SSLEngine) args[2]); in invoke() 86 return getKey((String) args[0], (String) args[1], (Socket) args[2]); in invoke() 90 return chooseServerKeyIdentityHint((SSLEngine) args[0]); in invoke() 92 return chooseServerKeyIdentityHint((Socket) args[0]); in invoke() 96 return chooseClientKeyIdentity((String) args[0], (SSLEngine) args[1]); in invoke() 98 return chooseClientKeyIdentity((String) args[0], (Socket) args[1]); in invoke()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/ |
D | NullArgsTestCase.java | 43 public final Object[] args; field in NullArgsTestCase 45 protected NullArgsTestCase(String name, Consumer<Object[]> sink, Object[] args) { in NullArgsTestCase() argument 48 this.args = args; in NullArgsTestCase() 53 sink.accept(args); in goodNonNull() 58 for (int i=0; i<args.length; i++) { in throwWithNull() 59 Object[] temp = Arrays.copyOf(args, args.length); in throwWithNull()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | ParameterizedTypeImpl.java | 25 private final ListOfTypes args; field in ParameterizedTypeImpl 33 ListOfTypes args, ClassLoader loader) { in ParameterizedTypeImpl() argument 34 if (args == null) { in ParameterizedTypeImpl() 39 this.args = args; in ParameterizedTypeImpl() 45 return args.getResolvedTypes().clone(); in getActualTypeArguments() 75 if (args.getResolvedTypes().length == 0) { in getResolvedType() 90 Arrays.equals(args.getResolvedTypes(), that.getActualTypeArguments()); in equals() 96 Arrays.hashCode(args.getResolvedTypes()); in hashCode() 103 if (args.length() > 0) { in toString() 104 sb.append("<").append(args).append(">"); in toString()
|
/libcore/ojluni/src/main/native/ |
D | jni_util.c | 199 va_list args; in JNU_CallStaticMethodByName() local 219 va_start(args, signature); in JNU_CallStaticMethodByName() 222 (*env)->CallStaticVoidMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 226 result.l = (*env)->CallStaticObjectMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 229 result.z = (*env)->CallStaticBooleanMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 232 result.b = (*env)->CallStaticByteMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 235 result.c = (*env)->CallStaticCharMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 238 result.s = (*env)->CallStaticShortMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 241 result.i = (*env)->CallStaticIntMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() 244 result.j = (*env)->CallStaticLongMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName() [all …]
|
/libcore/luni/src/test/java/tests/support/ |
D | MockFunction.java | 35 public void function(FunctionContext fc, String args[]) { in function() argument 37 if (args.length > 0) { in function() 38 fc.set_result(args[0].toLowerCase()); in function() 42 public void step(FunctionContext fc, String args[]) { in step() argument 44 for (int i = 0; i < args.length; i++) { in step() 45 acc.append(args[i]); in step()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | MessageUtils.java | 43 String args[] = { arg }; in subst() local 44 return subst(patt, args); in subst() 48 String args[] = { arg1, arg2 }; in subst() local 49 return subst(patt, args); in subst() 54 String args[] = { arg1, arg2, arg3 }; in subst() local 55 return subst(patt, args); in subst() 58 public static String subst(String patt, String args[]) { in subst() argument 69 } else if (index < args.length) { in subst() 70 result.append(args[index]); in subst()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ProxyTest.java | 55 public Object invoke(Object proxy, Method method, Object[] args) in invoke() argument 57 return args[1]; in invoke() 104 public Object invoke(Object proxy, Method method, Object[] args) in test_ProxyLjava_lang_reflect_InvocationHandler() 122 public Object invoke(Object proxy, Method method, Object[] args) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 125 return new Boolean(proxy == args[0]); in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 127 return new int[] { (int) ((long[]) args[0])[1], -1 }; in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 129 if ("".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 131 if ("clone".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 133 if ("error".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 135 if ("any".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 69 byte[][] args = new byte[cmdarray.length-1][]; in start() 70 int size = args.length; // For added NUL bytes in start() 71 for (int i = 0; i < args.length; i++) { in start() 72 args[i] = cmdarray[i+1].getBytes(); in start() 73 size += args[i].length; in start() 77 for (byte[] arg : args) { in start() 130 argBlock, args.length, in start()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_DeleteOnExitTest.java | 11 public static void main(String[] args) throws Exception { in main() argument 12 File file1 = new File(args[0]); in main() 13 File file2 = new File(args[1]); in main()
|
/libcore/luni/src/test/native/ |
D | libcore_java_lang_ThreadTest.cpp | 34 JavaVMAttachArgs args; in TestThreadNaming() local 35 args.version = JNI_VERSION_1_6; in TestThreadNaming() 36 args.group = nullptr; in TestThreadNaming() 38 args.name = native_thread_name.c_str(); in TestThreadNaming() 40 args.name = nullptr; in TestThreadNaming() 43 if (javaVm->AttachCurrentThread(&env, &args) != JNI_OK) { in TestThreadNaming()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | MethodLogger.java | 41 public void add(String method, Object ... args) { in add() argument 42 Object[] argsCopy = new Object[args.length]; in add() 43 System.arraycopy(args, 0, argsCopy, 0, args.length); in add()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 40 private static final String args = null; field in Debug 117 if (args == null) in isOn() 120 if (args.indexOf("all") != -1) in isOn() 123 return (args.indexOf(option) != -1); in isOn() 186 private static String marshal(String args) { in marshal() argument 187 if (args != null) { in marshal() 189 StringBuffer source = new StringBuffer(args); in marshal()
|
/libcore/support/src/test/java/libcore/java/io/ |
D | NullPrintStream.java | 36 public PrintStream format(String format, Object... args) { return this; } in format() argument 37 public PrintStream format(Locale l, String format, Object... args) { return this; } in format() argument 38 public PrintStream printf(String format, Object... args) { return this; } in printf() argument 39 public PrintStream printf(Locale l, String format, Object... args) { return this; } in printf() argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Reflect.java | 68 static Object invoke(Constructor c, Object[] args) { in invoke() argument 70 return c.newInstance(args); in invoke() 96 static Object invoke(Method m, Object ob, Object[] args) { in invoke() argument 98 return m.invoke(ob, args); in invoke() 106 static Object invokeIO(Method m, Object ob, Object[] args) in invokeIO() argument 110 return m.invoke(ob, args); in invokeIO()
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | HprofBinaryToAscii.java | 40 public static void main(String[] args) { in main() argument 41 System.exit(convert(args) ? 0 : 1); in main() 48 private static boolean convert(String[] args) { in convert() argument 50 if (args.length != 1) { in convert() 54 File file = new File(args[0]); in convert()
|
/libcore/support/src/test/java/tests/io/ |
D | MockOs.java | 46 @Override public Object invoke(Object o, Method method, Object[] args) throws Throwable { 48 return method.invoke(delegate, args); 56 @Override public Object invoke(Object proxy, Method method, Object[] args) 62 return handler.invoke(proxy, method, args); 115 … @Override public Object invoke(Object proxy, Method method, Object[] args) throws ErrnoException { in enqueueFault()
|
/libcore/ojluni/src/main/java/java/io/ |
D | Console.java | 168 public Console format(String fmt, Object ...args) { in format() argument 169 formatter.format(fmt, args).flush(); in format() 207 public Console printf(String format, Object ... args) { in printf() argument 208 return format(format, args); in printf() 242 public String readLine(String fmt, Object ... args) { in readLine() argument 247 pw.format(fmt, args); in readLine() 306 public char[] readPassword(String fmt, Object ... args) { in readPassword() argument 318 pw.format(fmt, args); in readPassword()
|
D | PrintWriter.java | 803 public PrintWriter printf(String format, Object ... args) { in printf() argument 804 return format(format, args); in printf() 854 public PrintWriter printf(Locale l, String format, Object ... args) { in printf() argument 855 return format(l, format, args); in printf() 898 public PrintWriter format(String format, Object ... args) { in format() argument 905 formatter.format(Locale.getDefault(), format, args); in format() local 958 public PrintWriter format(Locale l, String format, Object ... args) { in format() argument 964 formatter.format(l, format, args); in format()
|
D | PrintStream.java | 888 public PrintStream printf(String format, Object ... args) { in printf() argument 889 return format(format, args); in printf() 938 public PrintStream printf(Locale l, String format, Object ... args) { in printf() argument 939 return format(l, format, args); in printf() 981 public PrintStream format(String format, Object ... args) { in format() argument 988 formatter.format(Locale.getDefault(), format, args); in format() local 1038 public PrintStream format(Locale l, String format, Object ... args) { in format() argument 1045 formatter.format(l, format, args); in format()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ProxyTest.java | 34 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 35 throw (Throwable) args[0]; 249 @Override public Object invoke(Object proxy, Method method, Object[] args) { in testEquals() 250 return args[0] == ProxyTest.class; // bogus as equals(), but good for testing in testEquals() 262 @Override public Object invoke(Object proxy, Method method, Object[] args) { in testHashCode() 272 @Override public Object invoke(Object proxy, Method method, Object[] args) { in testToString() 282 @Override public Object invoke(Object proxy, Method method, Object[] args) { in testReturnTypeDoesNotSatisfyAllConstraintsWithLenientCaller() 294 @Override public Object invoke(Object proxy, Method method, Object[] args) { in testReturnTypeDoesNotSatisfyAllConstraintsWithStrictCaller() 395 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke() argument 396 return args[0]; in invoke() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | hc_nodedocumentnodetype.java | 78 public static void main(final String[] args) { in main() argument 79 DOMTestCase.doMain(hc_nodedocumentnodetype.class, args); in main()
|
D | nodedocumentnodetype.java | 79 public static void main(final String[] args) { in main() argument 80 DOMTestCase.doMain(nodedocumentnodetype.class, args); in main()
|
D | hc_nodegetownerdocumentnull.java | 78 public static void main(final String[] args) { in main() argument 79 DOMTestCase.doMain(hc_nodegetownerdocumentnull.class, args); in main()
|
D | nodedocumentnodeattribute.java | 77 public static void main(final String[] args) { in main() argument 78 DOMTestCase.doMain(nodedocumentnodeattribute.class, args); in main()
|
/libcore/tzdata/tools/src/main/libcore/tzdata/update/tools/ |
D | CreateTzDataBundle.java | 40 public static void main(String[] args) throws Exception { in main() argument 41 if (args.length != 2) { in main() 45 File f = new File(args[0]); in main() 85 File outputFile = new File(args[1]); in main()
|