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

12345

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DExecutor.java131 * Executes the given command at some time in the future. The command
135 * @param command the runnable task
138 * @throws NullPointerException if command is null
140 void execute(Runnable command); argument
H A DScheduledExecutorService.java102 * @param command the task to execute
110 * @throws NullPointerException if command is null
112 public ScheduledFuture<?> schedule(Runnable command, argument
143 * @param command the task to execute
152 * @throws NullPointerException if command is null
155 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
169 * @param command the task to execute
179 * @throws NullPointerException if command is null
182 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
/openjdk7/jdk/src/share/classes/sun/tools/asm/
H A DCover.java41 public Cover(int type, long addr, int command) { argument
44 NumCommand=command;
/openjdk7/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...]
/openjdk7/jdk/src/share/back/
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...]
/openjdk7/jdk/src/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...]
H A DCard.java82 * opened by issuing a <code>MANAGE CHANNEL</code> command that should use
133 * Transmits a control command to the terminal device.
138 * @param controlCode the control code of the command
139 * @param command the command data
144 * @throws NullPointerException if command is null
150 byte[] command) throws CardException;
149 transmitControlCommand(int controlCode, byte[] command) argument
/openjdk7/hotspot/test/runtime/NMT/
H A DJcmdWithNMTDisabled.java55 public static void jcmdCommand(String command) throws Exception { argument
57 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", command});
H A DBaselineWithParameter.java45 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "baseline=false"});
49 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary=false"});
51 output.shouldContain("No command to execute");
H A DJcmdScale.java42 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=KB"});
46 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=MB"});
50 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=GB"});
54 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "scale=apa"});
58 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary", "scale=GB"});
62 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary", "scale=apa"});
H A DSummaryAfterShutdown.java43 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "shutdown"});
50 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary"});
H A DJcmdDiffCallsite.java57 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "baseline"});
67 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff"});
/openjdk7/jdk/src/share/classes/java/lang/
H A DProcessBuilder.java51 * <li>a <i>command</i>, a list of strings which signifies the
53 * Which string lists represent a valid operating system command is
56 * systems where programs are expected to tokenize command line
134 * #start()} will fail. For example, setting the command attribute to
181 private List<String> command; field in class:ProcessBuilder
190 * make a copy of the {@code command} list. Subsequent
193 * {@code command} corresponds to a valid operating system
194 * command.
196 * @param command the list containing the program and its arguments
199 public ProcessBuilder(List<String> command) { argument
216 ProcessBuilder(String... command) argument
235 command(List<String> command) argument
253 command(String... command) argument
268 public List<String> command() { method in class:ProcessBuilder
[all...]
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DActionEvent.java144 * A <code>null</code> <code>command</code> 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</code> <code>command</code> 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...]
/openjdk7/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);
/openjdk7/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);
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMimeEntry.java36 private String command; field in class:MimeEntry
75 command = null;
82 MimeEntry(String typeName, int action, String command, argument
86 this.command = command;
94 MimeEntry(String typeName, int action, String command, argument
99 this.command = command;
119 public synchronized void setAction(int action, String command) { argument
121 this.command
132 setCommand(String command) argument
[all...]
/openjdk7/jdk/src/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...]
/openjdk7/jdk/src/share/classes/sun/security/smartcardio/
H A DChannelImpl.java82 ("Manage channel command not allowed, use openLogicalChannel()");
86 public ResponseAPDU transmit(CommandAPDU command) throws CardException { argument
89 byte[] commandBytes = command.getBytes();
94 public int transmit(ByteBuffer command, ByteBuffer response) throws CardException { argument
97 if ((command == null) || (response == null)) {
103 if (command == response) {
105 ("command and response must not be the same object");
111 byte[] commandBytes = new byte[command.remaining()];
112 command.get(commandBytes);
155 private byte[] doTransmit(byte[] command) throw argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/
H A DOkCancelDialog.java66 String command = evt.getActionCommand();
67 if(command.equals("ok-command"))
73 if(command.equals("cancel-command"))
/openjdk7/jdk/test/java/awt/regtesthelpers/process/
H A DProcessCommunicator.java50 private static String command = ""; field in class:ProcessCommunicator
67 String command = buildCommand(classToExecute, classPathArguments, args);
68 Process process = Runtime.getRuntime().exec(command);
136 /** Builds command on the basis of the passed class name,
143 * @return command to execute the {@code Process}
161 command = commandBuilder.toString();
162 return command;
167 * @return command that was build to execute the child process
170 return command;
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftShortMessage.java43 public void setMessage(int command, int channel, int data1, int data2) argument
46 super.setMessage(command, channel & 0xF, data1, data2);
/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DShortMessage.java41 * the upper four bits of the status byte are specified by a command value and
245 * @param command the MIDI command represented by this message
249 * @throws InvalidMidiDataException if the command value, channel value
261 public ShortMessage(int command, int channel, int data1, int data2) argument
264 setMessage(command, channel, data1, data2);
356 * @param command the MIDI command represented by this message
371 public void setMessage(int command, int channel, int data1, int data2) throws InvalidMidiDataException { argument
373 if (command >
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DdiagnosticFramework.cpp51 // Look for end of the command name
67 // handling end of command line
93 "Format error in diagnostic command arguments", false);
124 "Format error in diagnostic command arguments", false);
208 jio_snprintf(buf, buflen - 1, "Unknown argument '%s' in diagnostic command.", argbuf);
390 DCmd* command = DCmdFactory::create_local_DCmd(line, out, CHECK); local
391 assert(command != NULL, "command error must be handled before this line");
392 DCmdMark mark(command);
393 command
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/activation/
H A DActivationGroupDesc.java95 * the group implementation's VM). The command
96 * environment can control the exact command/options used in
186 * Returns the group's command-environment control object.
187 * @return the command-environment object, or <code>null</code>
208 private String command; field in class:ActivationGroupDesc.CommandEnvironment
233 this.command = cmdpath; // might be null
245 * Fetch the configured path-qualified java command name.
252 return (this.command);
256 * Fetch the configured java command options.
258 * @return An array of the command option
[all...]

Completed in 149 milliseconds

12345