Searched refs:channels (Results 176 - 200 of 511) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DAsynchronousChannelProvider.java26 package java.nio.channels.spi;
28 import java.nio.channels.*;
38 * Service-provider class for asynchronous channels.
93 String cn = System.getProperty("java.nio.channels.spi.AsynchronousChannelProvider");
140 * <tt>java.nio.channels.spi.AsynchronousChannelProvider</tt> is defined
148 * <tt>java.nio.channels.spi.AsynchronousChannelProvider</tt> in the resource
H A DSelectorProvider.java26 package java.nio.channels.spi;
30 import java.nio.channels.*;
40 * Service-provider class for selectors and selectable channels.
50 * methods of the {@link java.nio.channels.DatagramChannel#open
51 * DatagramChannel}, {@link java.nio.channels.Pipe#open Pipe}, {@link
52 * java.nio.channels.Selector#open Selector}, {@link
53 * java.nio.channels.ServerSocketChannel#open ServerSocketChannel}, and {@link
54 * java.nio.channels.SocketChannel#open SocketChannel} classes. It is also
88 String cn = System.getProperty("java.nio.channels.spi.SelectorProvider");
139 * <tt>java.nio.channels
[all...]
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DRead.java31 import java.nio.channels.*;
32 import java.nio.channels.FileChannel;
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DBasicConnect.java32 import java.nio.channels.*;
33 import java.nio.channels.spi.SelectorProvider;
H A DCloseWhenKeyIdle.java32 import java.nio.channels.*;
34 import java.nio.channels.*;
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCheck.h64 #define MLIB_IMAGE_HAVE_CHAN(image, channels) \
65 if (mlib_ImageGetChannels(image) != channels) \
/openjdk7/jdk/src/share/classes/sun/management/jdp/
H A DJdpBroadcaster.java36 import java.nio.channels.DatagramChannel;
37 import java.nio.channels.UnsupportedAddressTypeException;
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DChannelInputStream.java30 import java.nio.channels.*;
31 import java.nio.channels.spi.*;
35 * This class is defined here rather than in java.nio.channels.Channels
/openjdk7/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;
/openjdk7/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;
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageChannelExtract.c29 * mlib_ImageChannelExtract - Copy the selected channels of the source
42 * The bits with value 1 stand for the channels selected.
43 * If more than N channels are selected, the leftmost N
44 * channels are extracted, where N is the number of channels
49 * The src and dst can have 1, 2, 3 or 4 channels.
54 * Copy the selected channels of the source image into the
68 mlib_s32 channels, mlib_s32 channeld,
74 mlib_s32 channels, mlib_s32 channeld,
80 mlib_s32 channels, mlib_s3
351 mlib_s32 channels; /* number of channels for src */ local
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java28 import java.nio.channels.*;
29 import java.nio.channels.spi.AsynchronousChannelProvider;
154 * the channels when not holding the write lock.
157 OverlappedChannel channels[] = new OverlappedChannel[MAX_BATCH_SIZE];
160 // grab a batch of up to 32 channels
165 channels[count++] = keyToChannel.get(key);
176 channels[i].close();
H A DPipeImpl.java35 import java.nio.channels.*;
36 import java.nio.channels.spi.*;
51 // Source and sink channels
115 // Create source and sink channels
H A DSinkChannelImpl.java34 import java.nio.channels.*;
35 import java.nio.channels.spi.*;
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DDirectAudioDevice.c52 int channels; member in struct:__anon638
303 #define FORMAT2CODE(channels, bits, inSigned, outSigned, inBigEndian, outBigEndian) \
304 (channels << 20) \
311 #define FORMAT2CODE8(channels, inSigned, outSigned) \
312 FORMAT2CODE(channels, 8, inSigned, outSigned, 0, 0)
314 #define FORMAT2CODE16(channels, inBigEndian, outBigEndian) \
315 FORMAT2CODE(channels, 16, 1, 1, inBigEndian, outBigEndian)
344 TRACE3("channels=%d, sampleSizeInBits=%d, frameSize=%d, ",
345 (int) info->channels, (int) info->sampleSizeInBits, (int) info->frameSize);
351 switch (FORMAT2CODE(info->channels,
444 DAUDIO_AddAudioFormat(void* creatorV, int significantBits, int frameSizeInBytes, int channels, float sampleRate, int encoding, int isSigned, int bigEndian) argument
496 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...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DWaveFloatFileReader.java74 int channels = 1;
88 channels = chunk.readUnsignedShort();
106 Encoding.PCM_FLOAT, samplerate, bits, channels,
H A DSunFileReader.java248 * For instance, 12 bit, 2 channels will return 4 bytes, not 3.
250 * @param channels the number of channels
253 static final int calculatePCMFrameSize(int sampleSizeInBits, int channels) { argument
254 return ((sampleSizeInBits + 7) / 8) * channels;
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
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...]
/openjdk7/jdk/test/sun/management/jdp/
H A DJdpClient.java33 import java.nio.channels.DatagramChannel;
34 import java.nio.channels.SelectionKey;
35 import java.nio.channels.Selector;
/openjdk7/jdk/src/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
265 * support creating file channels, or an unsupported open option is
314 * support creating file channels, or an unsupported open option is
563 * natures and states of the channels. Fewer than the requested number of
612 * transfer is in progress, thereby closing both channels and
630 * upon the natures and states of the channels. Fewer than the requested
679 * transfer is in progress, thereby closing both channels an
[all...]
/openjdk7/jdk/src/share/classes/com/oracle/net/
H A DSdp.java33 import java.nio.channels.SocketChannel;
34 import java.nio.channels.ServerSocketChannel;
166 * {@link java.nio.channels.spi.SelectorProvider SelectorProvider}.
185 * {@link java.nio.channels.spi.SelectorProvider SelectorProvider}.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/
H A DXMLCodec.java42 import java.nio.channels.ReadableByteChannel;
43 import java.nio.channels.WritableByteChannel;

Completed in 74 milliseconds

1234567891011>>