Searched refs:open (Results 76 - 100 of 366) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DGraphViewerImplementation.java40 tc.open();
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DConnectedSend.java47 DatagramChannel sndChannel = DatagramChannel.open();
57 DatagramChannel rcvChannel = DatagramChannel.open();
85 DatagramChannel sndChannel = DatagramChannel.open();
95 DatagramChannel rcvChannel = DatagramChannel.open();
H A DSendToUnresolved.java38 DatagramChannel dc = DatagramChannel.open();
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DBasicAccept.java40 Selector acceptSelector = Selector.open();
73 this.ssc = ServerSocketChannel.open()
95 SocketChannel sc = SocketChannel.open();
105 sc = SocketChannel.open();
H A DRacyDeregister.java55 ServerSocketChannel sc = ServerSocketChannel.open();
58 SocketChannel.open(new InetSocketAddress(addr,
64 SocketChannel.open(new InetSocketAddress(addr,
69 final Selector sel = Selector.open();
H A DSelectAndClose.java38 selector = Selector.open();
H A DTemporarySelector.java55 // Create a server socket that will open and accept on loopback connection
56 ServerSocketChannel ssc = ServerSocketChannel.open();
64 SocketChannel channel = SocketChannel.open(new InetSocketAddress("localhost", localPort));
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DStream.java41 SocketChannel sc = SocketChannel.open();
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftAudioSynthesizer/
H A DOpen.java27 @summary Test SoftAudioSynthesizer open method */
51 synth.open(line, null);
H A DDummySourceDataLine.java108 public void open() throws LineUnavailableException { method in class:DummySourceDataLine
109 open(format);
112 public void open(AudioFormat format) throws LineUnavailableException { method in class:DummySourceDataLine
116 open(format, bufferSize);
119 public void open(AudioFormat format, int bufferSize) method in class:DummySourceDataLine
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/
H A DGetLatency.java53 synth.open(new DummySourceDataLine(), null);
H A DDummySourceDataLine.java108 public void open() throws LineUnavailableException { method in class:DummySourceDataLine
109 open(format);
112 public void open(AudioFormat format) throws LineUnavailableException { method in class:DummySourceDataLine
116 open(format, bufferSize);
119 public void open(AudioFormat format, int bufferSize) method in class:DummySourceDataLine
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DAbstractSelector.java105 boolean open = selectorOpen.getAndSet(false);
106 if (!open)
/openjdk7/jdk/src/macosx/native/jobjc/
H A Drun-and-write-if-okay45 File.open(OUTPATH, 'w') {|f| f.write(output) }
/openjdk7/jdk/test/java/awt/Desktop/OpenByUNCPathNameTest/
H A DOpenByUNCPathNameTest.java26 @summary java.awt.Desktop cannot open file with Windows UNC filename
51 desktop.open(file);
68 desktop.open(uncFile);
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DBasic.java93 case 0 : ch = AsynchronousSocketChannel.open(group); break;
94 case 1 : ch = AsynchronousServerSocketChannel.open(group); break;
131 .open(group).bind(new InetSocketAddress(0));
155 AsynchronousSocketChannel ch = AsynchronousSocketChannel.open(group);
156 AsynchronousServerSocketChannel listener = AsynchronousServerSocketChannel.open(group);
169 AsynchronousSocketChannel.open(group);
174 AsynchronousServerSocketChannel.open(group);
205 AsynchronousSocketChannel.open().connect(isa);
218 // group should *not* terminate as channels are open
/openjdk7/jdk/test/java/nio/channels/AsynchronousServerSocketChannel/
H A DWithSecurityManager.java52 AsynchronousServerSocketChannel.open().bind(new InetSocketAddress(0));
58 SocketChannel sc = SocketChannel.open(new InetSocketAddress(lh, port));
H A DBasic.java50 AsynchronousServerSocketChannel ch = AsynchronousServerSocketChannel.open();
71 ch = AsynchronousServerSocketChannel.open();
84 AsynchronousServerSocketChannel.open().bind(new InetSocketAddress(0));
92 SocketChannel sc = SocketChannel.open(isa);
140 AsynchronousServerSocketChannel ch = AsynchronousServerSocketChannel.open();
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DReleaseOnCloseDeadlock.java54 FileChannel fc = FileChannel.open(file, READ, WRITE);
60 AsynchronousFileChannel ch = AsynchronousFileChannel.open(file, READ, WRITE);
/openjdk7/jdk/test/java/nio/charset/Charset/
H A Ddefault.sh93 go ja x-eucjp-open
94 go ja_JP.eucJP x-eucjp-open
/openjdk7/jdk/test/sun/misc/IoTrace/
H A DIoTraceFileChannelReadWrite.java40 try (FileChannel fc = FileChannel.open(f.toPath(),
52 try (FileChannel fc = FileChannel.open(f.toPath(),
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftMixingSourceDataLine.java47 private boolean open = false; field in class:SoftMixingSourceDataLine
277 public void open() throws LineUnavailableException { method in class:SoftMixingSourceDataLine
278 open(format);
281 public void open(AudioFormat format) throws LineUnavailableException { method in class:SoftMixingSourceDataLine
285 open(format, bufferSize);
288 public void open(AudioFormat format, int bufferSize) method in class:SoftMixingSourceDataLine
300 mixer.open();
314 open = true;
378 "Line is already open with format " + getFormat()
510 open
[all...]
H A DAbstractMidiDevice.java68 private boolean open = false; field in class:AbstractMidiDevice
110 * Setting the open reference count to -1 here prevents Transmitters and Receivers that
114 public final void open() throws MidiUnavailableException { method in class:AbstractMidiDevice
115 if (Printer.trace) Printer.trace("> AbstractMidiDevice: open()");
120 if (Printer.trace) Printer.trace("< AbstractMidiDevice: open() completed");
134 * @object The Receiver or Transmitter instance that triggered this implicit open.
143 // double calls to doOpens() will be catched by the open flag.
155 open = true;
205 open = false;
213 return open;
480 private boolean open = true; field in class:AbstractMidiDevice.AbstractReceiver
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixChannelFactory.java54 * Represents the flags from a user-supplied set of open options.
101 * Constructs a file channel from an existing (open) file descriptor
106 return FileChannelImpl.open(fdObj, path, reading, writing, null);
136 FileDescriptor fdObj = open(dfd, path, pathForPermissionCheck, flags, mode);
137 return FileChannelImpl.open(fdObj, path.toString(),
173 FileDescriptor fdObj = open(-1, path, null, flags, mode);
174 return SimpleAsynchronousFileChannelImpl.open(fdObj, flags.read, flags.write, pool);
179 * encapsulating the handle to the open file.
181 protected static FileDescriptor open(int dfd, method in class:UnixChannelFactory
240 // permission check before we open th
[all...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousFileChannel.java43 * one of the {@link #open open} methods defined by this class. The file contains
200 * Shutting down the executor service while the channel is open results in
211 * The path of the file to open or create
228 * open option is specified, or the array contains an attribute that
241 public static AsynchronousFileChannel open(Path file, method in class:AsynchronousFileChannel
260 * ch.{@link #open(Path,Set,ExecutorService,FileAttribute[])
261 * open}(file, opts, null, new FileAttribute&lt;?&gt;[0]);
272 * The path of the file to open or create
282 * support creating file channels, or an unsupported open optio
295 public static AsynchronousFileChannel open(Path file, OpenOption... options) method in class:AsynchronousFileChannel
[all...]

Completed in 74 milliseconds

1234567891011>>