HomeSort by relevance Sort by last modified time
    Searched refs:channels (Results 76 - 100 of 538) sorted by null

1 2 34 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/nio/channels/
GatheringByteChannel.java 17 package java.nio.channels;
23 * The interface for channels that can write a set of buffers in a single
ScatteringByteChannel.java 17 package java.nio.channels;
23 * The interface for channels that can read data into a set of buffers in a
DatagramChannel.java 18 package java.nio.channels;
24 import java.nio.channels.spi.AbstractSelectableChannel;
25 import java.nio.channels.spi.SelectorProvider;
39 * Datagram channels are thread-safe; only one thread can read or write at the
70 * Gets the valid operations of this channel. Datagram channels support read
74 * @see java.nio.channels.SelectableChannel#validOps()
228 * @see java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer)
259 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[],
300 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[])
332 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer
    [all...]
SocketChannel.java 18 package java.nio.channels;
24 import java.nio.channels.spi.AbstractSelectableChannel;
25 import java.nio.channels.spi.SelectorProvider;
52 * Socket channels are thread-safe, no more than one thread can read or write at
116 * Gets the valid operations of this channel. Socket channels support
121 * @see java.nio.channels.SelectableChannel#validOps()
254 * @see java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer)
290 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[],
355 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer)
393 * @see java.nio.channels.GatheringByteChannel#write(java.nio.ByteBuffer[]
    [all...]
  /external/webkit/Source/WebCore/dom/
MessagePort.cpp 80 OwnPtr<MessagePortChannelArray> channels; local
90 channels = MessagePort::disentanglePorts(ports, ec);
94 m_entangledChannel->postMessageToRemote(MessagePortChannel::EventData::create(message, channels.release()));
182 OwnPtr<MessagePortArray> ports = MessagePort::entanglePorts(*m_scriptExecutionContext, eventData->channels());
231 PassOwnPtr<MessagePortArray> MessagePort::entanglePorts(ScriptExecutionContext& context, PassOwnPtr<MessagePortChannelArray> channels)
233 if (!channels || !channels->size())
236 MessagePortArray* portArray = new MessagePortArray(channels->size());
237 for (unsigned int i = 0; i < channels->size(); ++i) {
239 port->entangle((*channels)[i].release())
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 18 package libcore.java.nio.channels;
23 import java.nio.channels.ClosedByInterruptException;
24 import java.nio.channels.ServerSocketChannel;
25 import java.nio.channels.SocketChannel;
26 import java.nio.channels.spi.SelectorProvider;
SelectorTest.java 16 package libcore.java.nio.channels;
21 import java.nio.channels.NoConnectionPendingException;
22 import java.nio.channels.SelectionKey;
23 import java.nio.channels.Selector;
24 import java.nio.channels.ServerSocketChannel;
25 import java.nio.channels.SocketChannel;
DatagramChannelTest.java 17 package libcore.java.nio.channels;
21 import java.nio.channels.DatagramChannel;
  /external/tremolo/Tremolo/
mapping0.c 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
93 testM>=vi->channels ||
94 testA>=vi->channels) goto err_out;
102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels);
103 for(i=0;i<vi->channels;i++){
133 alloca(sizeof(*pcmbundle)*vi->channels);
135 alloca(sizeof(*zerobundle)*vi->channels);
137 alloca(sizeof(*nonzero)*vi->channels);
139 alloca(sizeof(*floormemo)*vi->channels);
    [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectorTest.java 17 package org.apache.harmony.nio.tests.java.nio.channels.spi;
20 import java.nio.channels.IllegalBlockingModeException;
21 import java.nio.channels.SelectionKey;
22 import java.nio.channels.Selector;
23 import java.nio.channels.ServerSocketChannel;
24 import java.nio.channels.spi.SelectorProvider;
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioHardwareInterface.h 61 virtual uint32_t channels() const = 0;
72 uint32_t frameSize() const { return popcount(channels())*((format()==AUDIO_FORMAT_PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
130 virtual uint32_t channels() const = 0;
141 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
235 uint32_t *channels=0,
243 uint32_t *channels,
  /libcore/luni/src/main/java/java/nio/
ServerSocketChannelImpl.java 28 import java.nio.channels.ClosedChannelException;
29 import java.nio.channels.IllegalBlockingModeException;
30 import java.nio.channels.NotYetBoundException;
31 import java.nio.channels.ServerSocketChannel;
32 import java.nio.channels.SocketChannel;
33 import java.nio.channels.spi.SelectorProvider;
  /external/webkit/Source/WebKit/chromium/src/
WebWorkerClientImpl.cpp 167 PassOwnPtr<MessagePortChannelArray> channels)
177 channels));
180 WebMessagePortChannelArray webChannels(channels.get() ? channels->size() : 0);
183 (*channels)[i]->channel()->webChannelRelease();
209 const WebMessagePortChannelArray& channels)
212 if (channels.size()) {
213 channels2 = new MessagePortChannelArray(channels.size());
214 for (size_t i = 0; i < channels.size(); ++i) {
216 PlatformMessagePortChannel::create(channels[i])
    [all...]
  /hardware/libhardware_legacy/audio/
AudioDumpInterface.cpp 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status);
71 lChannels = outFinal->channels();
81 if (channels != 0) {
82 if (*channels != 0) {
83 lChannels = *channels;
85 *channels = lChannels;
126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels,
134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
137 lChannels = inFinal->channels();
324 uint32_t AudioStreamOutDump::channels() const function in class:android::AudioStreamOutDump
527 uint32_t AudioStreamInDump::channels() const function in class:android::AudioStreamInDump
    [all...]
  /bootable/recovery/minui/
resources.c 101 int channels = info_ptr->channels; local
103 ((channels == 3 && color_type == PNG_COLOR_TYPE_RGB) ||
104 (channels == 4 && color_type == PNG_COLOR_TYPE_RGBA) ||
105 (channels == 1 && color_type == PNG_COLOR_TYPE_PALETTE)))) {
121 surface->format = (channels == 3) ?
134 if (channels == 3 || (channels == 1 && !alpha)) {
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
MapModeTest.java 17 package org.apache.harmony.nio.tests.java.nio.channels;
19 import java.nio.channels.FileChannel;
29 * java.nio.channels.FileChannel.MapMode#PRIVATE,READONLY,READWRITE
45 * java.nio.channels.FileChannel.MapMode#toString()
MockDatagramChannel.java 18 package org.apache.harmony.nio.tests.java.nio.channels;
24 import java.nio.channels.DatagramChannel;
25 import java.nio.channels.spi.SelectorProvider;
  /external/quake/quake/src/QW/client/
snd_linux.c 101 if (s) shm->channels = atoi(s);
103 shm->channels = 1;
105 shm->channels = 2;
106 else shm->channels = 2;
124 if (shm->channels == 2)
130 Con_Printf("Could not set /dev/dsp to stereo=%d", shm->channels);
135 shm->channels = 2;
137 shm->channels = 1;
snd_dma.c 42 channel_t channels[MAX_CHANNELS]; variable
123 Con_Printf("%5d stereo\n", shm->channels - 1);
224 shm->channels = 2;
369 && channels[ch_idx].entnum == entnum
370 && (channels[ch_idx].entchannel == entchannel || entchannel == -1) )
377 if (channels[ch_idx].entnum == cl.viewentity && entnum != cl.viewentity && channels[ch_idx].sfx)
380 if (channels[ch_idx].end - paintedtime < life_left)
382 life_left = channels[ch_idx].end - paintedtime;
390 if (channels[first_to_die].sfx
    [all...]
  /external/quake/quake/src/WinQuake/
snd_linux.cpp 120 if (s) shm->channels = atoi(s);
122 shm->channels = 1;
124 shm->channels = 2;
125 else shm->channels = 2;
143 if (shm->channels == 2)
149 Con_Printf("Could not set /dev/dsp to stereo=%d", shm->channels);
154 shm->channels = 2;
156 shm->channels = 1;
  /external/libpng/
pngwtran.c 41 /* png_byte channels; number of channels (1-4) */
42 /* png_byte pixel_depth; bits per pixel (depth*channels) */
88 * row_info bit depth should be 8 (one pixel per byte). The channels
100 row_info->channels == 1)
203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
231 int channels = 0;
235 shift_start[channels] = row_info->bit_depth - bit_depth->red;
236 shift_dec[channels] = bit_depth->red;
237 channels++
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngwtran.c 36 /* png_byte channels; number of channels (1-4) */
37 /* png_byte pixel_depth; bits per pixel (depth*channels) */
83 * row_info bit depth should be 8 (one pixel per byte). The channels
94 row_info->channels == 1)
197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
224 int channels = 0;
228 shift_start[channels] = row_info->bit_depth - bit_depth->red;
229 shift_dec[channels] = bit_depth->red;
230 channels++
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacenc/inc/
tns_param.h 48 Word32 bitRate, Word16 channels, Word16 blockType);
  /device/moto/wingray/taudio/
resample.c 32 int channels,
40 hdr->subchunk2_size = num_samples * channels * bits_per_sample / 8;
55 hdr->num_channels = channels;
57 hdr->byte_rate = sample_rate * channels * bits_per_sample / 8;
58 hdr->block_align = channels * bits_per_sample / 8;
119 int channels = -1; local
141 channels = atoi(optarg);
147 fprintf(stderr, "usage: %s -o<outfile> -s<sampling> -c<channels>\n",
149 fprintf(stderr, "usage: %s -o<outfile> -s<sampling> -c<channels>\n",
155 FAILIF(channels != 1 && channels != 2, "-c value must be 1 or 2\n")
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/spi/
AbstractSelector.java 18 package java.nio.channels.spi;
21 import java.nio.channels.SelectionKey;
22 import java.nio.channels.Selector;

Completed in 523 milliseconds

1 2 34 5 6 7 8 91011>>