Searched refs:channels (Results 201 - 225 of 590) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/java/nio/channels/FileChannel/
H A DLoopingTruncate.java34 import java.nio.channels.FileChannel;
35 import java.nio.channels.ClosedByInterruptException;
H A DGetClosedChannel.java34 import java.nio.channels.ClosedChannelException;
35 import java.nio.channels.FileChannel;
108 " number of open channels: expected: 0 " +
H A DTransferTo6GBFile.java37 import java.nio.channels.FileChannel;
38 import java.nio.channels.ServerSocketChannel;
39 import java.nio.channels.SocketChannel;
H A DTransfer.java45 import java.nio.channels.FileChannel;
46 import java.nio.channels.NonReadableChannelException;
47 import java.nio.channels.Pipe;
48 import java.nio.channels.ServerSocketChannel;
49 import java.nio.channels.SocketChannel;
50 import java.nio.channels.spi.SelectorProvider;
/openjdk10/jdk/test/java/nio/channels/Selector/
H A DCloseWhenKeyIdle.java32 import java.nio.channels.*;
34 import java.nio.channels.*;
/openjdk10/jdk/test/javax/sound/sampled/Clip/
H A DIsRunningHang.java60 private static final int[] channels = {1, 2, 3, 5}; field in class:IsRunningHang
66 for (final int channel : channels) {
/openjdk10/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DConnect.java35 import java.nio.channels.AlreadyConnectedException;
36 import java.nio.channels.ClosedChannelException;
37 import java.nio.channels.ConnectionPendingException;
38 import java.nio.channels.NoConnectionPendingException;
39 import java.nio.channels.UnresolvedAddressException;
40 import java.nio.channels.UnsupportedAddressTypeException;
/openjdk10/jdk/test/com/sun/nio/sctp/SctpServerChannel/
H A DNonBlockingAccept.java37 import java.nio.channels.AlreadyConnectedException;
38 import java.nio.channels.Selector;
39 import java.nio.channels.SelectionKey;
85 Set<SctpChannel> channels = new HashSet<SctpChannel>(NUM_TEST_CONNECTIONS);
90 channels.add(SctpChannel.open(peerAddress, 0, 0));
94 /* don't close the channels until they have been accepted */
97 for(SctpChannel sc: channels)
154 "channels should be equal");
H A DAccept.java34 import java.nio.channels.AlreadyConnectedException;
35 import java.nio.channels.AsynchronousCloseException;
36 import java.nio.channels.NotYetBoundException;
37 import java.nio.channels.ClosedByInterruptException;
38 import java.nio.channels.ClosedChannelException;
/openjdk10/jdk/src/java.desktop/unix/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCM.c130 unsigned int channels, minChannels, maxChannels; local
169 // report the maximum number of channels (which is the only way to talk
172 // also the channels 1..maxChannels are available.
201 // avoid too many channels explicitly listed
215 for (channels = minChannels; channels <= maxChannels; channels++) {
217 sampleSizeInBytes * channels,
218 channels, rate,
306 int channels,
304 setHWParams(AlsaPcmInfo* info, float sampleRate, int channels, int bufferSizeInFrames, snd_pcm_format_t format) argument
417 DAUDIO_Open(INT32 mixerIndex, INT32 deviceID, int isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, int isSigned, int isBigEndian, int bufferSizeInBytes) argument
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c130 unsigned int channels, minChannels, maxChannels; local
169 // report the maximum number of channels (which is the only way to talk
172 // also the channels 1..maxChannels are available.
201 // avoid too many channels explicitly listed
215 for (channels = minChannels; channels <= maxChannels; channels++) {
217 sampleSizeInBytes * channels,
218 channels, rate,
306 int channels,
304 setHWParams(AlsaPcmInfo* info, float sampleRate, int channels, int bufferSizeInFrames, snd_pcm_format_t format) argument
417 DAUDIO_Open(INT32 mixerIndex, INT32 deviceID, int isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, int isSigned, int isBigEndian, int bufferSizeInBytes) argument
[all...]
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/
H A DIocp.java28 import java.nio.channels.*;
29 import java.nio.channels.spi.AsynchronousChannelProvider;
144 * the channels when not holding the write lock.
147 OverlappedChannel channels[] = new OverlappedChannel[MAX_BATCH_SIZE];
150 // grab a batch of up to 32 channels
155 channels[count++] = keyToChannel.get(key);
166 channels[i].close();
H A DPipeImpl.java35 import java.nio.channels.*;
36 import java.nio.channels.spi.*;
57 // Source and sink channels
148 // Create source and sink channels
H A DSourceChannelImpl.java34 import java.nio.channels.*;
35 import java.nio.channels.spi.*;
H A DSinkChannelImpl.java34 import java.nio.channels.*;
35 import java.nio.channels.spi.*;
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DWaveExtensibleFileReader.java181 int channels = 1;
201 channels = chunk.readUnsignedShort();
239 samplerate, bits, channels, framesize, samplerate,
243 bits, channels, framesize, samplerate, false, p);
247 samplerate, bits, channels, framesize, samplerate, false, p);
/openjdk10/jdk/src/java.desktop/share/native/libjsound/
H A DDirectAudioDevice.c53 int channels; member in struct:__anon997
304 #define FORMAT2CODE(channels, bits, inSigned, outSigned, inBigEndian, outBigEndian) \
305 (channels << 20) \
312 #define FORMAT2CODE8(channels, inSigned, outSigned) \
313 FORMAT2CODE(channels, 8, inSigned, outSigned, 0, 0)
315 #define FORMAT2CODE16(channels, inBigEndian, outBigEndian) \
316 FORMAT2CODE(channels, 16, 1, 1, inBigEndian, outBigEndian)
345 TRACE3("channels=%d, sampleSizeInBits=%d, frameSize=%d, ",
346 (int) info->channels, (int) info->sampleSizeInBits, (int) info->frameSize);
352 switch (FORMAT2CODE(info->channels,
445 DAUDIO_AddAudioFormat(void* creatorV, int significantBits, int frameSizeInBytes, int channels, float sampleRate, int encoding, int isSigned, int bigEndian) argument
497 Java_com_sun_media_sound_DirectAudioDevice_nOpen(JNIEnv* env, jclass clazz, jint mixerIndex, jint deviceID, jboolean isSource, jint encoding, jfloat sampleRate, jint sampleSizeInBits, jint frameSize, jint channels, jboolean isSigned, jboolean isBigendian, jint bufferSizeInBytes) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/
H A DFileChannelLinesSpliterator.java31 import java.nio.channels.Channels;
32 import java.nio.channels.FileChannel;
33 import java.nio.channels.ReadableByteChannel;
/openjdk10/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DLauncher.java31 import java.nio.channels.DatagramChannel;
32 import java.nio.channels.ServerSocketChannel;
33 import java.nio.channels.SocketChannel;
/openjdk10/jdk/test/jdk/net/Sockets/
H A DTest.java42 import java.nio.channels.AsynchronousSocketChannel;
43 import java.nio.channels.DatagramChannel;
44 import java.nio.channels.SocketChannel;
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/NetworkConnection/src/com/sun/hotspot/igv/connection/
H A DServer.java32 import java.nio.channels.ServerSocketChannel;
33 import java.nio.channels.SocketChannel;
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/transport/
H A DDefaultSocketFactoryImpl.java33 import java.nio.channels.SocketChannel;
34 import java.nio.channels.ServerSocketChannel;
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/xml/
H A DXMLCodec.java45 import java.nio.channels.ReadableByteChannel;
46 import java.nio.channels.WritableByteChannel;
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/
H A DAsynchronousSocketChannel.java26 package java.nio.channels;
28 import java.nio.channels.spi.*;
39 * <p> Asynchronous socket channels are created in one of two ways. A newly-created
63 * setOption} method. Asynchronous socket channels support the following options:
H A DFileChannel.java26 package java.nio.channels;
31 import java.nio.channels.spi.AbstractInterruptibleChannel;
55 * channels, this class defines the following file-specific operations: </p>
84 * <p> File channels are safe for use by multiple concurrent threads. The
270 * support creating file channels, or an unsupported open option is
320 * support creating file channels, or an unsupported open option is
569 * natures and states of the channels. Fewer than the requested number of
618 * transfer is in progress, thereby closing both channels and
636 * upon the natures and states of the channels. Fewer than the requested
685 * transfer is in progress, thereby closing both channels an
[all...]

Completed in 224 milliseconds

1234567891011>>