Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/libcore/luni/src/main/java/libcore/reflect/
DParameterizedTypeImpl.java23 private final ListOfTypes args; field in ParameterizedTypeImpl
31 ListOfTypes args, ClassLoader loader) { in ParameterizedTypeImpl() argument
34 this.args = args; in ParameterizedTypeImpl()
41 return args.getResolvedTypes().clone(); in getActualTypeArguments()
71 if (args.getResolvedTypes().length == 0) { in getResolvedType()
82 if (args.length() > 0) { in toString()
83 sb.append("<").append(args).append(">"); in toString()
/libcore/luni/src/test/java/tests/support/
DMockFunction.java35 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/luni/src/test/java/libcore/sqlite/
DOldFunctionContextTest.java203 public void function(FunctionContext fc, String args[]) { in function() argument
209 public void step(FunctionContext fc, String[] args) {} in step() argument
216 public void function(FunctionContext fc, String args[]) { in function() argument
223 public void step(FunctionContext fc, String[] args) {} in step() argument
230 public void function(FunctionContext fc, String args[]) { in function() argument
236 public void step(FunctionContext fc, String[] args) {} in step() argument
243 public void function(FunctionContext fc, String args[]) { in function() argument
244 assertNotNull(args); in function()
246 fc.set_result(args[0]); in function()
250 public void step(FunctionContext fc, String[] args) {} in step() argument
[all …]
/libcore/luni/src/main/java/java/io/
DConsole.java76 public Console format(String format, Object... args) { in format() argument
78 f.format(format, args); in format()
86 public Console printf(String format, Object... args) { in printf() argument
87 return format(format, args); in printf()
124 public String readLine(String format, Object... args) { in readLine() argument
126 format(format, args); in readLine()
169 public char[] readPassword(String format, Object... args) { in readPassword() argument
171 format(format, args); in readPassword()
DPrintStream.java283 public PrintStream format(String format, Object... args) { in format() argument
284 return format(Locale.getDefault(), format, args); in format()
306 public PrintStream format(Locale l, String format, Object... args) { in format() argument
310 new Formatter(this, l).format(format, args); in format()
333 public PrintStream printf(String format, Object... args) { in printf() argument
334 return format(format, args); in printf()
356 public PrintStream printf(Locale l, String format, Object... args) { in printf() argument
357 return format(l, format, args); in printf()
DPrintWriter.java281 public PrintWriter format(String format, Object... args) { in format() argument
282 return format(Locale.getDefault(), format, args); in format()
305 public PrintWriter format(Locale l, String format, Object... args) { in format() argument
309 new Formatter(this, l).format(format, args); in format()
335 public PrintWriter printf(String format, Object... args) { in printf() argument
336 return format(format, args); in printf()
358 public PrintWriter printf(Locale l, String format, Object... args) { in printf() argument
359 return format(l, format, args); in printf()
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DProxyTest.java52 public Object invoke(Object proxy, Method method, Object[] args) in invoke() argument
54 return args[1]; in invoke()
101 public Object invoke(Object proxy, Method method, Object[] args) in test_ProxyLjava_lang_reflect_InvocationHandler()
118 public Object invoke(Object proxy, Method method, Object[] args) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
121 return new Boolean(proxy == args[0]); in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
123 return new int[] { (int) ((long[]) args[0])[1], -1 }; in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
125 if ("".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
127 if ("clone".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
129 if ("error".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
131 if ("any".equals(args[0])) in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_DeleteOnExitTest.java11 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/java/tests/api/org/xml/sax/support/
DMethodLogger.java41 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/dalvik/src/main/java/dalvik/system/
DZygote.java184 String[] args = { "/system/bin/sh", "-c", command }; in execShell() local
186 Libcore.os.execv(args[0], args); in execShell()
201 public static void appendQuotedShellArgs(StringBuilder command, String[] args) { in appendQuotedShellArgs() argument
202 for (String arg : args) { in appendQuotedShellArgs()
/libcore/support/src/test/java/libcore/java/io/
DNullPrintStream.java36 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/support/src/test/java/tests/io/
DMockOs.java46 @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/dalvik/src/main/java/dalvik/system/profiler/
DHprofBinaryToAscii.java40 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/dom/src/test/java/org/w3c/domts/level1/core/
Dnodedocumentnodetype.java79 public static void main(final String[] args) { in main() argument
80 DOMTestCase.doMain(nodedocumentnodetype.class, args); in main()
Dhc_nodedocumentnodetype.java78 public static void main(final String[] args) { in main() argument
79 DOMTestCase.doMain(hc_nodedocumentnodetype.class, args); in main()
Ddocumentgetelementsbytagnamelength.java81 public static void main(final String[] args) { in main() argument
82 DOMTestCase.doMain(documentgetelementsbytagnamelength.class, args); in main()
Dhc_elementgetelementsbytagnamenomatch.java79 public static void main(final String[] args) { in main() argument
80 DOMTestCase.doMain(hc_elementgetelementsbytagnamenomatch.class, args); in main()
Dhc_documentgetelementsbytagnamelength.java80 public static void main(final String[] args) { in main() argument
81 DOMTestCase.doMain(hc_documentgetelementsbytagnamelength.class, args); in main()
Delementgetelementsbytagname.java82 public static void main(final String[] args) { in main() argument
83 DOMTestCase.doMain(elementgetelementsbytagname.class, args); in main()
Dnodedocumentnodevalue.java80 public static void main(final String[] args) { in main() argument
81 DOMTestCase.doMain(nodedocumentnodevalue.class, args); in main()
Dhc_elementgetelementsbytagname.java81 public static void main(final String[] args) { in main() argument
82 DOMTestCase.doMain(hc_elementgetelementsbytagname.class, args); in main()
Dhc_nodedocumentnodeattribute.java79 public static void main(final String[] args) { in main() argument
80 DOMTestCase.doMain(hc_nodedocumentnodeattribute.class, args); in main()
Dhc_nodegetownerdocumentnull.java78 public static void main(final String[] args) { in main() argument
79 DOMTestCase.doMain(hc_nodegetownerdocumentnull.class, args); in main()
Dnodedocumentnodeattribute.java77 public static void main(final String[] args) { in main() argument
78 DOMTestCase.doMain(nodedocumentnodeattribute.class, args); in main()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DdocumentgetelementsbytagnameNS05.java86 public static void main(final String[] args) { in main() argument
87 DOMTestCase.doMain(documentgetelementsbytagnameNS05.class, args); in main()

12345678910>>...35