Searched refs:command (Results 1 - 25 of 241) sorted by relevance

12345678910

/openjdk9/jdk/src/java.base/share/classes/java/util/concurrent/
H A DExecutor.java127 * Executes the given command at some time in the future. The command
131 * @param command the runnable task
134 * @throws NullPointerException if command is null
136 void execute(Runnable command); argument
H A DScheduledExecutorService.java97 * @param command the task to execute
105 * @throws NullPointerException if command is null
107 public ScheduledFuture<?> schedule(Runnable command, argument
151 * @param command the task to execute
162 * @throws NullPointerException if command is null
165 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
190 * @param command the task to execute
202 * @throws NullPointerException if command is null
205 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
/openjdk9/hotspot/test/compiler/compilercontrol/share/scenario/
H A DCompileCommand.java32 public final Command command; field in class:CompileCommand
37 public CompileCommand(Command command, argument
41 this.command = command;
48 * Shows that this compile command is valid
50 * @return true if this is a valid command
53 if (command == Command.NONEXISTENT) {
60 * Prints compile command to the system output
63 System.out.printf("%s (type: %s): %s (valid: %b)%n", command.name(),
H A DJcmdCommand.java31 public JcmdCommand(Command command, argument
36 super(command, methodDescriptor, compiler, type);
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/asm/
H A DCover.java41 public Cover(int type, long addr, int command) { argument
44 NumCommand=command;
/openjdk9/jdk/test/java/lang/Runtime/exec/
H A DExecWithLotsOfArgs.java48 String[] command = new String[300];
55 command[n++] = System.getProperty("java.home") + File.separator +
58 command[n++] = "-classpath";
59 command[n++] = System.getProperty("java.class.path");
65 command[n++] = "ExecWithLotsOfArgs$EchoingHelper";
70 for (int i = n; i < command.length; i++) {
71 command[i] = new String(new Integer(i).toString());
78 p = Runtime.getRuntime().exec(command);
88 if (count >= command.length) {
89 failed("Was expecting " + (command
[all...]
H A DUnixCommands.java29 * Utility class for finding the command on the current system
42 * Throws Error unless every listed command is available on the system
45 for (String command : commands) {
46 if (findCommand(command) == null) {
47 throw new Error("Command '" + command + "' not found; bailing out");
53 * If the path to the command could be found, returns the command with the full path.
67 String command = findCommand0(name);
68 nameToCommand.put(name, command);
69 return command;
[all...]
/openjdk9/hotspot/test/compiler/compilercontrol/share/processors/
H A DCommandProcessor.java39 + "\\b(unrecognized command|Bad pattern|"
64 CompileCommand command = nonQuietedIterator.next();
65 if (command.isValid()) {
66 Asserts.assertTrue(input.contains(getOutputString(command)),
67 getOutputString(command) + "missing in output");
71 command));
74 CompileCommand command = quietedIterator.next();
75 if (command.isValid()) {
76 Asserts.assertFalse(input.contains(getOutputString(command)));
80 command));
85 getOutputString(CompileCommand command) argument
[all...]
/openjdk9/langtools/test/tools/lib/toolbox/
H A DExecTask.java33 * A task to configure and run a general command.
36 private final String command; field in class:ExecTask
40 * Create a task to execute a given command, to be run using {@code EXEC} mode.
42 * @param command the command to be executed
44 public ExecTask(ToolBox toolBox, String command) { argument
46 this.command = command;
50 * Create a task to execute a given command, to be run using {@code EXEC} mode.
52 * @param command th
54 ExecTask(ToolBox toolBox, Path command) argument
[all...]
/openjdk9/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A DeventHelper.c33 * Event helper thread command commandKinds
41 * Event helper thread command singleKinds
133 commandSize(HelperCommand *command) argument
136 if (command->commandKind == COMMAND_REPORT_EVENT_COMPOSITE) {
143 (command->u.reportEventComposite.eventCount - 1));
149 freeCommand(HelperCommand *command) argument
151 if ( command == NULL )
153 jvmtiDeallocate(command);
157 enqueueCommand(HelperCommand *command, argument
162 jint size = commandSize(command);
205 completeCommand(HelperCommand *command) argument
221 HelperCommand *command = NULL; local
403 handleEventCommandSingle(JNIEnv *env, PacketOutputStream *out, EventCommandSingle *command) argument
452 handleUnloadCommandSingle(JNIEnv* env, PacketOutputStream *out, UnloadCommandSingle *command) argument
463 handleFrameEventCommandSingle(JNIEnv* env, PacketOutputStream *out, FrameEventCommandSingle *command) argument
560 handleReportInvokeDoneCommand(JNIEnv* env, ReportInvokeDoneCommand *command) argument
567 handleReportVMInitCommand(JNIEnv* env, ReportVMInitCommand *command) argument
593 handleSuspendThreadCommand(JNIEnv* env, SuspendThreadCommand *command) argument
604 handleCommand(JNIEnv *env, HelperCommand *command) argument
696 HelperCommand *command = dequeueCommand(); local
889 CommandSingle *command = cv; local
924 CommandSingle *command = cv; local
942 enumForCopyingSingles(void *command, void *tv) argument
960 HelperCommand *command; local
1000 CommandSingle *command = bagAdd(eventBag); local
1020 CommandSingle *command = bagAdd(eventBag); local
1039 CommandSingle *command = bagAdd(eventBag); local
1080 HelperCommand *command = jvmtiAllocate(sizeof(*command)); local
1098 HelperCommand *command = jvmtiAllocate(sizeof(*command)); local
1114 HelperCommand *command = jvmtiAllocate(sizeof(*command)); local
[all...]
/openjdk9/jdk/src/java.smartcardio/share/classes/javax/smartcardio/
H A DCardChannel.java78 * Transmits the specified command APDU to the Smart Card and returns the
81 * <p>The CLA byte of the command APDU is automatically adjusted to
96 * implementation should issue a <code>GET RESPONSE</code> command
103 * should reissue the command using <code>XX</code> as the
110 * @param command the command APDU
117 * <code>MANAGE CHANNEL</code> command
118 * @throws NullPointerException if command is null
121 public abstract ResponseAPDU transmit(CommandAPDU command) throws CardException; argument
124 * Transmits the command APD
163 transmit(ByteBuffer command, ByteBuffer response) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DCompiler.java37 * controllable by implementation-specific mechanisms such as command-line
92 public static Object command(Object any) { method in class:Compiler
/openjdk9/hotspot/test/runtime/NMT/
H A DJcmdScale.java46 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=KB"});
50 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=MB"});
54 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=GB"});
58 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=apa"});
62 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary", "scale=GB"});
66 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary", "scale=apa"});
H A DJcmdScaleDetail.java46 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=KB"});
50 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=MB"});
54 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=GB"});
58 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=apa"});
62 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary", "scale=GB"});
66 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary", "scale=apa"});
H A DJcmdDetailDiff.java57 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "baseline=true"});
64 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});
70 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});
76 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});
82 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});
/openjdk9/jaxp/test/javax/xml/jaxp/libs/jdk/testlibrary/
H A DJDKToolLauncher.java31 * A utility for constructing command lines for starting JDK tool processes.
122 * Returns the command that can be used for running the tool.
124 * @return An array whose elements are the arguments of the command.
127 List<String> command = new ArrayList<String>();
128 command.add(executable);
131 command.add("-J" + arg);
133 command.addAll(toolArgs);
134 return command.toArray(new String[command.size()]);
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/event/
H A DActionEvent.java144 * A {@code null command} string is legal,
151 * @param command A string that may specify a command (possibly one
158 public ActionEvent(Object source, int id, String command) { argument
159 this(source, id, command, 0);
168 * A {@code null command} string is legal,
175 * @param command A string that may specify a command (possibly one
187 public ActionEvent(Object source, int id, String command, int modifiers) { argument
188 this(source, id, command,
223 ActionEvent(Object source, int id, String command, long when, int modifiers) argument
[all...]
/openjdk9/jdk/test/java/math/BigInteger/
H A DModPowPowersof2.java45 // Construct a command that runs the test in other vm
46 String[] command = new String[4];
49 command[n++] = System.getProperty("java.home") + File.separator +
52 command[n++] = "-classpath";
53 command[n++] = System.getProperty("java.class.path");
56 command[n++] = "ModPowPowersof2$ModTester";
60 p = Runtime.getRuntime().exec(command);
/openjdk9/jdk/test/javax/swing/JColorChooser/
H A DTest4759934.java54 String command = event.getActionCommand();
55 if (CMD_DIALOG.equals(command)) {
60 else if (CMD_CHOOSER.equals(command)) {
70 private void show(Window window, String command) { argument
71 JButton button = new JButton(command);
72 button.setActionCommand(command);
/openjdk9/jdk/test/lib/testlibrary/jdk/testlibrary/
H A DJDKToolLauncher.java31 * A utility for constructing command lines for starting JDK tool processes.
122 * Returns the command that can be used for running the tool.
124 * @return An array whose elements are the arguments of the command.
127 List<String> command = new ArrayList<String>();
128 command.add(executable);
131 command.add("-J" + arg);
133 command.addAll(toolArgs);
134 return command.toArray(new String[command.size()]);
/openjdk9/test/lib/jdk/test/lib/
H A DJDKToolLauncher.java32 * A utility for constructing command lines for starting JDK tool processes.
121 * Returns the command that can be used for running the tool.
123 * @return An array whose elements are the arguments of the command.
126 List<String> command = new ArrayList<String>();
127 command.add(executable);
130 command.add("-J" + arg);
132 command.addAll(toolArgs);
133 return command.toArray(new String[command.size()]);
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/
H A DMimeEntry.java37 private String command; field in class:MimeEntry
76 command = null;
83 MimeEntry(String typeName, int action, String command, argument
87 this.command = command;
95 MimeEntry(String typeName, int action, String command, argument
100 this.command = command;
120 public synchronized void setAction(int action, String command) { argument
122 this.command
133 setCommand(String command) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/im/
H A DInputMethodPopupMenu.java78 abstract void addMenuItem(String label, String command, String currentSelection); argument
80 abstract void addMenuItem(Object targetMenu, String label, String command, argument
86 String command = locator.getActionCommandString();
107 command = locator.deriveLocator(locales[0]).getActionCommandString();
109 addMenuItem(label, command, currentSelection);
123 * Returns whether command indicates the same input method as currentSelection,
124 * taking into account that command may not specify a locale where currentSelection does.
126 static boolean isSelected(String command, String currentSelection) { argument
127 if (command == null || currentSelection == null) {
130 if (command
201 addMenuItem(String label, String command, String currentSelection) argument
205 addMenuItem(Object targetMenu, String label, String command, String currentSelection) argument
259 addMenuItem(String label, String command, String currentSelection) argument
263 addMenuItem(Object targetMenu, String label, String command, String currentSelection) argument
[all...]
/openjdk9/jdk/src/java.smartcardio/share/classes/sun/security/smartcardio/
H A DChannelImpl.java81 ("Manage channel command not allowed, use openLogicalChannel()");
85 public ResponseAPDU transmit(CommandAPDU command) throws CardException { argument
88 byte[] commandBytes = command.getBytes();
93 public int transmit(ByteBuffer command, ByteBuffer response) throws CardException { argument
96 if ((command == null) || (response == null)) {
102 if (command == response) {
104 ("command and response must not be the same object");
110 byte[] commandBytes = new byte[command.remaining()];
111 command.get(commandBytes);
155 private byte[] doTransmit(byte[] command) throw argument
[all...]
/openjdk9/hotspot/test/compiler/compilercontrol/share/
H A DSingleCommand.java36 private final Command command; field in class:SingleCommand
39 public SingleCommand(Command command, Scenario.Type type) { argument
40 this.command = command;
50 CompileCommand compileCommand = cmdGen.generateCompileCommand(command,

Completed in 346 milliseconds

12345678910