/openjdk10/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | ChangingAddress.java | 30 import java.nio.channels.DatagramChannel;
|
/openjdk10/jdk/test/java/nio/channels/Selector/ |
H A D | WakeupNow.java | 29 import java.nio.channels.*;
|
H A D | ChangingInterests.java | 32 import java.nio.channels.*; 33 import static java.nio.channels.SelectionKey.*;
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/ |
H A D | WaveFileWriter.java | 162 int channels; 253 short channels = (short) audioFormat.getChannels(); 258 int avgBytesPerSec = channels * sampleSizeInBits * sampleRate / 8; 259 short blockAlign = (short) ((sampleSizeInBits / 8) * channels); 328 dos.writeShort(big2littleShort(channels));
|
H A D | SunFileReader.java | 245 * For instance, 12 bit, 2 channels will return 4 bytes, not 3. 247 * @param channels the number of channels 250 static final int calculatePCMFrameSize(int sampleSizeInBits, int channels) { argument 252 return Math.multiplyExact((sampleSizeInBits + 7) / 8, channels);
|
/openjdk10/jdk/src/java.desktop/unix/native/libjsound/ |
H A D | PLATFORM_API_SolarisOS_PCM.c | 72 /* hardcoded bits and channels */ 75 int channels[] = {1, 2}; local 139 channels[ch], 173 int frameSize, int channels, 185 if (channels <= 0) { 186 ERROR1(" DAUDIO_Open: Invalid number of channels=%d!\n", channels); 235 info->info.play.channels = channels; 242 info->info.record.channels 171 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/corba/src/java.corba/share/classes/com/sun/corba/se/impl/transport/ |
H A D | SelectorImpl.java | 30 import java.nio.channels.ClosedChannelException; 31 import java.nio.channels.SelectableChannel; 32 import java.nio.channels.ServerSocketChannel; 33 import java.nio.channels.SelectionKey; 34 import java.nio.channels.Selector; 35 import java.nio.channels.ClosedSelectorException;
|
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/ |
H A D | WindowsSelectorImpl.java | 32 import java.nio.channels.spi.SelectorProvider; 33 import java.nio.channels.Selector; 34 import java.nio.channels.ClosedSelectorException; 35 import java.nio.channels.Pipe; 36 import java.nio.channels.SelectableChannel; 38 import java.nio.channels.CancelledKeyException; 71 // each additional set of MAX_SELECTABLE_FDS - 1 channels. 445 // After some channels registered/deregistered, the number of required 513 for(int i = 1; i < totalChannels; i++) { // Deregister channels
|
/openjdk10/jdk/src/java.desktop/macosx/native/libjsound/ |
H A D | PLATFORM_API_MacOSX_PCM.cpp | 56 TRACE2(", %ld channels, %ld bits", (long)inDesc->mChannelsPerFrame, (long)inDesc->mBitsPerChannel); 124 // report 2 channels even if only mono is supported 128 int channels[] = {1, 2, totalChannels}; local 132 TRACE2(" DAUDIO_GetFormats: got %d channels, sampleRate == %f\n", totalChannels, hardwareSampleRate); 154 if (addDefault && bits == defBits && channels[channelIndex] != defChannels && sampleRate == defSampleRate) { 161 channels[channelIndex], // channels 174 defChannels, // channels 693 int nchannels = ioData->mNumberBuffers; // should be always == 1 (interleaved channels) 698 TRACE3(" abl: %d buffers, buffer[0].channels 776 FillASBDForNonInterleavedPCM(AudioStreamBasicDescription& asbd, float sampleRate, int channels, int sampleSizeInBits, bool isFloat, int isSigned, bool isBigEndian) argument 792 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/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ |
H A D | MarkUnsafeAccessTest.java | 31 import java.nio.channels.FileChannel; 32 import java.nio.channels.FileChannel.MapMode;
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/legacy/connection/ |
H A D | DefaultSocketFactory.java | 32 import java.nio.channels.ServerSocketChannel; 33 import java.nio.channels.SocketChannel;
|
/openjdk10/jdk/src/java.base/solaris/classes/sun/nio/ch/ |
H A D | DevPollSelectorImpl.java | 29 import java.nio.channels.*; 30 import java.nio.channels.spi.*; 161 // Deregister channels
|
H A D | EventPortSelectorImpl.java | 29 import java.nio.channels.*; 30 import java.nio.channels.spi.*; 121 // Deregister channels
|
/openjdk10/jdk/src/java.base/unix/classes/sun/nio/ch/ |
H A D | SourceChannelImpl.java | 30 import java.nio.channels.*; 31 import java.nio.channels.spi.*;
|
H A D | SinkChannelImpl.java | 30 import java.nio.channels.*; 31 import java.nio.channels.spi.*;
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/fastinfoset/ |
H A D | FastInfosetStreamSOAPCodec.java | 46 import java.nio.channels.WritableByteChannel; 47 import java.nio.channels.ReadableByteChannel;
|
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/spi/ |
H A D | AbstractSelectableChannel.java | 26 package java.nio.channels.spi; 29 import java.nio.channels.*; 33 * Base implementation class for selectable channels. 39 * java.nio.channels.SelectableChannel} specification. Implementations of the 228 * java.nio.channels.Channel#close close} method, in turn invokes the 248 * <p> This method is invoked by the {@link java.nio.channels.Channel#close
|
/openjdk10/jdk/src/java.base/linux/classes/sun/nio/ch/ |
H A D | EPollSelectorImpl.java | 29 import java.nio.channels.*; 30 import java.nio.channels.spi.*; 156 // Deregister channels
|
/openjdk10/jdk/src/java.base/macosx/classes/sun/nio/ch/ |
H A D | KQueueSelectorImpl.java | 36 import java.nio.channels.*; 37 import java.nio.channels.spi.*; 204 // Deregister channels
|
/openjdk10/jdk/test/java/nio/channels/FileChannel/ |
H A D | Pread.java | 33 import java.nio.channels.*; 34 import java.nio.channels.FileChannel;
|
/openjdk10/jdk/test/java/nio/channels/SocketChannel/ |
H A D | SendUrgentData.java | 36 import java.nio.channels.ServerSocketChannel; 37 import java.nio.channels.SocketChannel;
|
/openjdk10/jdk/test/javax/sound/sampled/spi/AudioFileReader/ |
H A D | RecognizeHugeWaveFiles.java | 69 * The list of supported channels (stored as unsigned int). 71 private static final int[] channels = { field in class:RecognizeHugeWaveFiles 88 for (final int channel : channels) { 207 // channels
|
H A D | RecognizeHugeAiffFiles.java | 59 * The list of supported channels. 61 private static final int[] channels = { field in class:RecognizeHugeAiffFiles 78 for (final int channel : channels) { 221 // channels
|
H A D | RecognizeHugeWaveExtFiles.java | 59 * The list of supported channels (stored as unsigned int). 61 private static final int[] channels = { field in class:RecognizeHugeWaveExtFiles 78 for (final int channel : channels) { 197 // channels
|
H A D | RecognizeHugeAuFiles.java | 64 * The list of supported channels (stored as unsigned int). 66 private static final int[] channels = { field in class:RecognizeHugeAuFiles 85 for (final int channel : channels) { 225 // channels
|