Searched refs:open (Results 1 - 25 of 366) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DSourceDataLine.java76 * IllegalArgumentException. The actual buffer size for the open line may
80 * If this operation succeeds, the line is marked as open, and an
84 * Invoking this method on a line which is already open is illegal
98 * @throws IllegalStateException if the line is already open
102 * @see #open(AudioFormat)
103 * @see Line#open
108 public void open(AudioFormat format, int bufferSize) throws LineUnavailableException; method in interface:SourceDataLine
121 * If this operation succeeds, the line is marked as open, and an
125 * Invoking this method on a line which is already open is illegal
137 * @throws IllegalStateException if the line is already open
147 public void open(AudioFormat format) throws LineUnavailableException; method in interface:SourceDataLine
[all...]
H A DTargetDataLine.java70 * IllegalArgumentException. The actual buffer size for the open line may
74 * If this operation succeeds, the line is marked as open, and an
78 * Invoking this method on a line that is already open is illegal
92 * @throws IllegalStateException if the line is already open
96 * @see #open(AudioFormat)
97 * @see Line#open
102 public void open(AudioFormat format, int bufferSize) throws LineUnavailableException; method in interface:TargetDataLine
114 * If this operation succeeds, the line is marked as open, and an
118 * Invoking this method on a line that is already open is illegal
130 * @throws IllegalStateException if the line is already open
140 public void open(AudioFormat format) throws LineUnavailableException; method in interface:TargetDataLine
[all...]
H A DClip.java70 * If this operation succeeds, the line is marked as open and an
74 * Invoking this method on a line which is already open is illegal
92 * @throws IllegalStateException if the line is already open
100 public void open(AudioFormat format, byte[] data, int offset, int bufferSize) throws LineUnavailableException; method in interface:Clip
107 * succeeds, the line is marked open and an
111 * Invoking this method on a line which is already open is illegal
126 * @throws IllegalStateException if the line is already open
134 public void open(AudioInputStream stream) throws LineUnavailableException, IOException; method in interface:Clip
139 * or <code>AudioSystem.NOT_SPECIFIED</code> if the line is not open.
147 * or <code>AudioSystem.NOT_SPECIFIED</code> if the line is not open
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelOscillator.java43 public ModelOscillatorStream open(float samplerate); method in interface:ModelOscillator
H A DSoftResamplerStreamer.java36 public void open(ModelWavetable osc, float outputsamplerate) method in interface:SoftResamplerStreamer
H A DAbstractLine.java50 private boolean open = false; field in class:AbstractLine
84 return open;
158 * This method sets the open state and generates
161 final void setOpen(boolean open) { argument
163 if (Printer.trace) Printer.trace("> "+getClass().getName()+" (AbstractLine): setOpen(" + open + ") this.open: " + this.open);
169 if (this.open != open) {
170 this.open
237 public abstract void open() throws LineUnavailableException; method in class:AbstractLine
[all...]
/openjdk7/jdk/test/java/nio/channels/
H A DConfigureBlocking.java36 DatagramChannel.open(),
37 SocketChannel.open(),
38 ServerSocketChannel.open()};
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DBindNull.java38 try (DatagramChannel dc = DatagramChannel.open()) {
41 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) {
44 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET6)) {
H A DDisconnect.java39 try (DatagramChannel dc = DatagramChannel.open()) {
45 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) {
57 try (DatagramChannel server = DatagramChannel.open()) {
H A DNotBound.java56 DatagramChannel sender = DatagramChannel.open();
78 dc = DatagramChannel.open();
80 DatagramChannel peer = DatagramChannel.open()
94 dc = DatagramChannel.open();
106 dc = DatagramChannel.open();
119 dc = DatagramChannel.open();
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DBadProperties.java39 AsynchronousSocketChannel.open();
/openjdk7/jdk/test/java/nio/channels/etc/
H A DNetworkChannelTests.java38 NetworkChannel open() throws IOException; method in interface:NetworkChannelTests.ChannelFactory
51 ch = factory.open().bind(new InetSocketAddress(0));
60 ch = factory.open().bind(null);
66 ch = factory.open();
89 ch = factory.open();
116 ServerSocketChannel ssc = ServerSocketChannel.open()
122 SocketChannel sc = SocketChannel.open();
150 public NetworkChannel open() throws IOException {
151 return SocketChannel.open();
162 public NetworkChannel open() throw
[all...]
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DCloseInvalidatesKeys.java35 DatagramChannel ch = DatagramChannel.open();
38 Selector sel = Selector.open();
H A DWakeupOverflow.java33 Selector selector = Selector.open();
H A DCloseThenRegister.java35 Selector sel = Selector.open();
37 ServerSocketChannel ssc = ServerSocketChannel.open();
H A DLotsOfUpdates.java29 Selector sel = Selector.open();
30 SocketChannel sc = SocketChannel.open();
H A DClose.java35 Selector sa = Selector.open();
36 Selector sb = Selector.open();
37 SocketChannel sc = SocketChannel.open();
H A DReadAfterConnect.java41 Selector sel = Selector.open();
42 SocketChannel sc = SocketChannel.open();
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DClose.java35 static SelectionKey open() throws IOException { method in class:Close
36 SocketChannel sc = SocketChannel.open();
37 Selector sel = Selector.open();
46 throw new RuntimeException("Channel still open");
48 // throw new RuntimeException("Socket still open");
52 SelectionKey sk = open();
58 SelectionKey sk = open();
H A DBind.java34 SocketChannel sc1 = SocketChannel.open();
38 SocketChannel sc2 = SocketChannel.open();
H A DOpen.java41 SocketChannel sc = SocketChannel.open();
43 // Presumably "Too many open files"
50 DatagramChannel sc = DatagramChannel.open();
52 // Presumably "Too many open files"
62 // Presumably "Too many open files"
69 ServerSocketChannel sc = ServerSocketChannel.open();
71 // Presumably "Too many open files"
79 DatagramChannel dc = DatagramChannel.open();
83 ServerSocketChannel ssc = ServerSocketChannel.open();
H A DCloseRegisteredChannel.java37 ServerSocketChannel server = ServerSocketChannel.open();
43 SocketChannel client = SocketChannel.open ();
48 Selector selector = Selector.open ();
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DAbstractInterruptibleChannel.java92 private volatile boolean open = true; field in class:AbstractInterruptibleChannel
112 if (!open)
114 open = false;
138 return open;
160 if (!open)
162 open = false;
204 if (!completed && !open)
/openjdk7/jdk/test/java/nio/channels/ServerSocketChannel/
H A DOpen.java38 ServerSocketChannel ssc = ServerSocketChannel.open();
/openjdk7/jdk/test/sun/nio/ch/
H A DBasic.java34 Pipe p = Pipe.open();

Completed in 78 milliseconds

1234567891011>>