/openjdk7/jdk/src/share/classes/java/nio/channels/spi/ |
H A D | AsynchronousChannelProvider.java | 26 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 D | AbstractSelector.java | 26 package java.nio.channels.spi; 29 import java.nio.channels.SelectionKey; 30 import java.nio.channels.Selector; 122 * java.nio.channels.Selector#wakeup wakeup} method. </p>
|
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 225 * java.nio.channels.Channel#close close} method, in turn invokes the 245 * <p> This method is invoked by the {@link java.nio.channels.Channel#close
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SunFileReader.java | 248 * 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/share/classes/java/nio/channels/ |
H A D | AsynchronousFileChannel.java | 26 package java.nio.channels; 83 * channels. The default thread pool is configured by the system properties 227 * support creating asynchronous file channels, or an unsupported 282 * support creating file channels, or an unsupported open option is
|
H A D | SelectionKey.java | 26 package java.nio.channels;
|
H A D | AsynchronousSocketChannel.java | 26 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 D | Channels.java | 26 package java.nio.channels; 40 import java.nio.channels.spi.AbstractInterruptibleChannel; 48 * Utility methods for channels and streams. 105 // -- Byte streams from channels -- 475 // -- Character streams from channels --
|
H A D | DatagramChannel.java | 26 package java.nio.channels; 34 import java.nio.channels.spi.AbstractSelectableChannel; 35 import java.nio.channels.spi.SelectorProvider; 104 * <p> Datagram channels are safe for use by multiple concurrent threads. They 129 * java.nio.channels.spi.SelectorProvider#openDatagramChannel() 131 * java.nio.channels.spi.SelectorProvider} object. The channel will not be 138 * datagram channels that are intended for Internet Protocol multicasting. 158 * java.nio.channels.spi.SelectorProvider#openDatagramChannel(ProtocolFamily) 160 * java.nio.channels.spi.SelectorProvider} object. The channel will not be 186 * <p> Datagram channels suppor [all...] |
H A D | FileChannel.java | 26 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...] |
H A D | SocketChannel.java | 26 package java.nio.channels; 33 import java.nio.channels.spi.AbstractSelectableChannel; 34 import java.nio.channels.spi.SelectorProvider; 49 * <p> Socket channels support <i>non-blocking connection:</i> A socket 56 * <p> Socket channels support <i>asynchronous shutdown,</i> which is similar 67 * setOption} method. Socket channels support the following options: 103 * <p> Socket channels are safe for use by multiple concurrent threads. They 132 * java.nio.channels.spi.SelectorProvider#openSocketChannel 134 * java.nio.channels.spi.SelectorProvider} object. </p> 201 * <p> Socket channels suppor [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageChannelInsert.c | 32 * channels of the destination image 45 * The bits with value 1 stand for the channels selected. 46 * If more than N channels are selected, the leftmost N 47 * channels are inserted, where N is the number of channels 52 * The src and dst can have 1, 2, 3 or 4 channels. 57 * Copy the source image into the selected channels of the destination 71 mlib_s32 channels, 78 mlib_s32 channels, 85 mlib_s32 channels, 311 mlib_s32 channels; /* number of channels for src */ local [all...] |
H A D | mlib_v_ImageChannelExtract.c | 29 * 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...] |
H A D | mlib_v_ImageChannelExtract_f.c | 580 mlib_s32 channels, mlib_s32 channeld, 594 for (i = (channels - 1), k = 0; i >= 0; i--) { 601 deltac[channeld] = channels; 634 mlib_s32 channels, mlib_s32 channeld, 651 for (i = (channels - 1), k = 0; i >= 0; i--) { 658 deltac[channeld] = channels; 707 mlib_s32 channels, mlib_s32 channeld, 721 for (i = (channels - 1), k = 0; i >= 0; i--) { 728 deltac[channeld] = channels; 742 sp += channels; 578 mlib_v_ImageChannelExtract_U8(mlib_u8 *src, mlib_s32 slb, mlib_u8 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument 632 mlib_v_ImageChannelExtract_S16(mlib_u16 *src, mlib_s32 slb, mlib_u16 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument 705 mlib_v_ImageChannelExtract_D64(mlib_d64 *src, mlib_s32 slb, mlib_d64 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument [all...] |
H A D | mlib_v_ImageChannelInsert_1.c | 88 mlib_s32 channels, 103 deltac[channels] = 1; 111 deltac[channels] = channeld; 112 for (i = 1; i < channels; i++) { 113 deltac[channels] -= deltac[i]; 119 if (channels == 2) { 137 else if (channels == 3) { 166 mlib_s32 channels, 181 deltac[channels] = 1; 189 deltac[channels] 84 mlib_v_ImageChannelInsert_U8(const mlib_u8 *src, mlib_s32 slb, mlib_u8 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument 162 mlib_v_ImageChannelInsert_D64(const mlib_d64 *src, mlib_s32 slb, mlib_d64 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument 254 mlib_v_ImageChannelInsert_S16(const mlib_s16 *src, mlib_s32 slb, mlib_s16 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument 333 mlib_v_ImageChannelInsert_S32(const mlib_s32 *src, mlib_s32 slb, mlib_s32 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | LotsOfCancels.java | 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 28 import java.nio.channels.ServerSocketChannel; 29 import java.nio.channels.SocketChannel; 165 List<SocketChannel> channels = new ArrayList<SocketChannel>(); 166 while (channels.size() < expected) { 184 channels.add(channel); 187 for (SocketChannel channel : channels) { 190 return channels; 193 static void closeAll(List<SocketChannel> channels) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | AbstractPollSelectorImpl.java | 29 import java.nio.channels.*; 30 import java.nio.channels.spi.*; 55 // The number of valid channels in this Selector's poll array 64 AbstractPollSelectorImpl(SelectorProvider sp, int channels, int offset) { argument 66 this.totalChannels = channels; 90 // Deregister channels
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioFormat.java | 52 * These include the number of channels, sample rate, sample size, byte order, frame rate, and frame size. 53 * Sounds may have different numbers of audio channels: one for mono, two for stereo. 57 * regardless of the number of channels. This is the standard use of the term.) 62 * For encodings like PCM, a frame consists of the set of samples for all channels at a given 64 * the number of channels. However, with some other sorts of encodings a frame can contain 145 * The number of audio channels in this format (1 for mono, 2 for stereo). 147 protected int channels; field in class:AudioFormat 177 * @param channels the number of channels (1 for mono, 2 for stereo, and so on) 185 int channels, in 184 AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian) argument 218 AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian, Map<String, Object> properties) argument 242 AudioFormat(float sampleRate, int sampleSizeInBits, int channels, boolean signed, boolean bigEndian) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngwtran.c | 69 /* png_byte channels; number of channels (1-4) */ 70 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 125 * row_info bit depth should be 8 (one pixel per byte). The channels 134 row_info->channels == 1) 258 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 282 int channels = 0; local 286 shift_start[channels] = row_info->bit_depth - bit_depth->red; 287 shift_dec[channels] = bit_depth->red; 288 channels [all...] |
H A D | pnginfo.h | 102 png_byte channels; /* number of data channels per pixel (1, 2, 3, 4) */ member in struct:png_info_def 151 * only specified for the channels in the pixel data. The contents of 155 png_color_8 sig_bit; /* significant bits in color channels */
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageColormap.h | 36 mlib_s32 channels; member in struct:__anon747 94 ((mlib_s32)((( mlib_colormap *)( colormap))->channels))
|
H A D | mlib_ImageCreate.c | 44 * mlib_s32 channels, 51 * mlib_s32 channels, 79 * channels number of image channels 128 mlib_s32 channels, 141 image -> channels = channels; 156 if (width <= 0 || height <= 0 || channels < 1 || channels > 4) { 164 if (!SAFE_TO_MULT(width, channels)) { 126 mlib_ImageSet(mlib_image *image, mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument 230 mlib_ImageCreateStruct(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument 256 mlib_ImageCreate(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height) argument 375 mlib_s32 channels; local 465 mlib_s32 channels = src -> channels; local [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_UNIXToolkit.c | 110 int channels = (*fp_gdk_pixbuf_get_n_channels)(pixbuf); local 123 width, height, row_stride, bps, channels, alpha);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | UNIXToolkit.java | 226 int rowStride, int bps, int channels, boolean alpha) { 233 // Maybe test # channels to determine band offsets? 235 width, height, rowStride, channels, 225 loadIconCallback(byte[] data, int width, int height, int rowStride, int bps, int channels, boolean alpha) argument
|
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
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, 231 info->info.play.channels = channels; 238 info->info.record.channels = 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
|