/libcore/ojluni/src/tools/build/tools/java.nio-generator/ |
D | gen_java_nio.py | 135 command = SPP 136 command = command + " -K" + the_type 137 command = command + " -K" + the_category 138 command = command + " -K" + the_streams 139 command = command + " -Dtype=" + the_type 140 command = command + " -DType=" + the_Type 141 command = command + " -Dfulltype=" + the_fulltype 142 command = command + " -DFulltype=" + the_Fulltype 143 command = command + " -Dstreamtype=" + the_streamtype 144 command = command + " -DStreamtype=" + the_Streamtype [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessBuilder.java | 180 private List<String> command; field in ProcessBuilder 198 public ProcessBuilder(List<String> command) { in ProcessBuilder() argument 199 if (command == null) in ProcessBuilder() 201 this.command = command; in ProcessBuilder() 215 public ProcessBuilder(String... command) { in ProcessBuilder() argument 216 this.command = new ArrayList<>(command.length); in ProcessBuilder() 217 for (String arg : command) in ProcessBuilder() 218 this.command.add(arg); in ProcessBuilder() 234 public ProcessBuilder command(List<String> command) { in command() argument 235 if (command == null) in command() [all …]
|
D | Runtime.java | 432 public Process exec(String command) throws IOException { in exec() argument 433 return exec(command, null, null); in exec() 473 public Process exec(String command, String[] envp) throws IOException { in exec() argument 474 return exec(command, envp, null); in exec() 527 public Process exec(String command, String[] envp, File dir) in exec() argument 529 if (command.length() == 0) in exec() 532 StringTokenizer st = new StringTokenizer(command); in exec()
|
D | Compiler.java | 78 public static Object command(Object cmd) { in command() method in Compiler
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessBuilderTest.java | 44 assertEquals(1, pb.command().size()); in testCommand() 45 assertEquals("command", pb.command().get(0)); in testCommand() 49 pb.command("BBB", "CCC"); in testCommand() 50 List<String> list = pb.command(); in testCommand() 52 String[] command = new String[3]; in testCommand() local 53 list.toArray(command); in testCommand() 54 assertTrue(Arrays.equals(new String[] { "BBB", "CCC", "DDD" }, command)); in testCommand() 59 ProcessBuilder pbReturn = pb.command("cmd"); in testCommandStringArray() 61 assertEquals(1, pb.command().size()); in testCommandStringArray() 62 assertEquals("cmd", pb.command().get(0)); in testCommandStringArray() [all …]
|
D | CompilerTest.java | 28 assertNull("Incorrect behavior.", Compiler.command(new Object())); in test_commandLjava_lang_Object()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 106 public ScheduledFuture<?> schedule(Runnable command, in schedule() argument 164 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() argument 204 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, in scheduleWithFixedDelay() argument
|
D | ScheduledThreadPoolExecutor.java | 560 public ScheduledFuture<?> schedule(Runnable command, in schedule() argument 563 if (command == null || unit == null) in schedule() 565 RunnableScheduledFuture<Void> t = decorateTask(command, in schedule() 566 new ScheduledFutureTask<Void>(command, null, in schedule() 623 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() argument 627 if (command == null || unit == null) in scheduleAtFixedRate() 632 new ScheduledFutureTask<Void>(command, in scheduleAtFixedRate() 637 RunnableScheduledFuture<Void> t = decorateTask(command, sft); in scheduleAtFixedRate() 671 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, in scheduleWithFixedDelay() argument 675 if (command == null || unit == null) in scheduleWithFixedDelay() [all …]
|
D | Executors.java | 676 public void execute(Runnable command) { 678 e.execute(command); 769 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 770 return e.schedule(command, delay, unit); 775 …public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, Ti… 776 return e.scheduleAtFixedRate(command, initialDelay, period, unit); 778 …public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, … 779 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
|
D | CyclicBarrier.java | 219 Runnable command = barrierCommand; in dowait() local 220 if (command != null) { in dowait() 222 command.run(); in dowait()
|
D | ThreadPoolExecutor.java | 841 final void reject(Runnable command) { in reject() argument 842 handler.rejectedExecution(command, this); in reject() 1337 public void execute(Runnable command) { in execute() argument 1338 if (command == null) in execute() 1362 if (addWorker(command, true)) in execute() 1366 if (isRunning(c) && workQueue.offer(command)) { in execute() 1368 if (! isRunning(recheck) && remove(command)) in execute() 1369 reject(command); in execute() 1373 else if (!addWorker(command, false)) in execute() 1374 reject(command); in execute()
|
D | Executor.java | 136 void execute(Runnable command); in execute() argument
|
/libcore/tools/expected_upstream/ |
D | ojluni_modify_expectation.py | 149 if args.command == 'modify' or args.command == 'remove': 165 elif no_args == 3 and args.command == 'modify': 167 elif args.command == 'add': 204 if args.command == 'modify': 230 elif args.command == 'remove': 242 elif args.command == 'add': 267 elif args.command == 'sort':
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 171 builder.command().add("-cp"); in test_deleteOnExit() 172 builder.command().add(System.getProperty("java.class.path")); in test_deleteOnExit() 173 builder.command().add("tests.support.Support_DeleteOnExitTest"); in test_deleteOnExit() 174 builder.command().add(dir.getAbsolutePath()); in test_deleteOnExit() 175 builder.command().add(subDir.getAbsolutePath()); in test_deleteOnExit()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 51 builder.command().add(againstDalvik ? "dalvikvm" : "java"); in javaProcessBuilder() 56 builder.command().addAll(Arrays.asList(testVMArgs.split("\\s+"))); in javaProcessBuilder() 106 "Failed to execute " + builder.command() + "; output was:\n" + out); in execAndGetOutput()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AbstractExecutorServiceTest.java | 62 public void execute(Runnable command) { in execute() argument 63 command.run(); in execute()
|
D | CompletionStageTest.java | 433 public void execute(Runnable command) { in execute() argument 435 command.run(); in execute()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Runtime.java | 66 public java.lang.Process exec(java.lang.String command) throws java.io.IOException { in exec() argument 70 public java.lang.Process exec(java.lang.String command, java.lang.String[] envp) in exec() argument 76 java.lang.String command, java.lang.String[] envp, java.io.File dir) in exec() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 106 .command(commandPath("/bin/sleep"), "5") // in seconds in testRedirectInherit() 215 .command(shell()) in testRedirect_nullStreams() 229 .command(shell()) in testRedirectErrorStream_nullStream() 436 assertEquals(expected, new ProcessBuilder().command(expected).command()); in testCommand_setAndGet() 437 assertEquals(expected, new ProcessBuilder().command("echo", "fake", "command", "for", TAG) in testCommand_setAndGet() 438 .command()); in testCommand_setAndGet()
|
D | OldRuntimeTest.java | 295 String command = "mkdir " + folder; in checkExec() local 301 proc = Runtime.getRuntime().exec(command, envp); in checkExec() 304 proc = Runtime.getRuntime().exec(command); in checkExec() 307 proc = Runtime.getRuntime().exec(command, envp, file); in checkExec()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | Executors.java | 193 public void execute(java.lang.Runnable command) { in execute() argument 277 java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit) { in schedule() argument 289 java.lang.Runnable command, in scheduleAtFixedRate() argument 297 java.lang.Runnable command, in scheduleWithFixedDelay() argument
|
D | ThreadPoolExecutor.java | 143 final void reject(java.lang.Runnable command) { in reject() argument 180 public void execute(java.lang.Runnable command) { in execute() argument
|
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
D | MetricsRunner.java | 156 String command = String.format( in runInstrumentation() local 159 testDevice.executeShellCommand(command); in runInstrumentation()
|
/libcore/tools/testmapping/ |
D | README | 26 adjust. (These could be converted to command-line options if convenient.)
|
/libcore/luni/src/main/java/java/util/logging/ |
D | logging.properties | 22 # passed to "java" command, or as property definition passed to JNI_CreateJavaVM.
|