/libcore/ojluni/src/main/java/java/nio/channels/ |
SelectableChannel.java | 26 package java.nio.channels; 29 import java.nio.channels.spi.AbstractInterruptibleChannel; 30 import java.nio.channels.spi.SelectorProvider; 63 * <p> Selectable channels are safe for use by multiple concurrent 77 * <p> Newly-created selectable channels are always in blocking mode. 243 * #register(java.nio.channels.Selector,int,java.lang.Object)
|
Selector.java | 26 package java.nio.channels; 30 import java.nio.channels.spi.SelectorProvider; 39 * java.nio.channels.spi.SelectorProvider selector provider} to 41 * {@link java.nio.channels.spi.SelectorProvider#openSelector openSelector} 64 * cancelled but whose channels have not yet been deregistered. This set is 141 * channels to become ready, and if so for how long, is the only essential 158 * <p> Keys may be cancelled and channels may be closed at any time. Hence the 217 * java.nio.channels.spi.SelectorProvider#openSelector openSelector} method 219 * java.nio.channels.spi.SelectorProvider} object. </p> 278 * Selects a set of keys whose corresponding channels are ready for I/ [all...] |
ServerSocketChannel.java | 26 package java.nio.channels; 32 import java.nio.channels.spi.AbstractSelectableChannel; 33 import java.nio.channels.spi.SelectorProvider; 47 * setOption} method. Server-socket channels support the following options: 66 * <p> Server-socket channels are safe for use by multiple concurrent threads. 93 * java.nio.channels.spi.SelectorProvider#openServerSocketChannel 95 * java.nio.channels.spi.SelectorProvider} object. 115 * <p> Server-socket channels only support the accepting of new
|
AsynchronousFileChannel.java | 26 package java.nio.channels; 83 * channels. The default thread pool is configured by the system properties 86 * <p> Channels of this type are safe for use by multiple concurrent threads. The 227 * support creating asynchronous file channels, or an unsupported 283 * support creating file channels, or an unsupported open option is [all...] |
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 132 * java.nio.channels.spi.SelectorProvider#openDatagramChannel() 134 * java.nio.channels.spi.SelectorProvider} object. The channel will not be 141 * datagram channels that are intended for Internet Protocol multicasting. 161 * java.nio.channels.spi.SelectorProvider#openDatagramChannel(ProtocolFamily) 163 * java.nio.channels.spi.SelectorProvider} object. The channel will not be 189 * <p> Datagram channels support reading and writing, so this metho [all...] |
/external/libopus/tests/ |
opus_decode_fuzzer.c | 44 int channels; member in struct:__anon25630 52 info->channels = opus_packet_get_nb_channels(toc); 76 dec = opus_decoder_create(toc.fs, toc.channels, &err); 81 pcm = (opus_int16*) malloc(sizeof(*pcm) * MAX_FRAME_SAMP * toc.channels);
|
/external/tensorflow/tensorflow/contrib/lite/examples/label_image/ |
bitmap_helpers.cc | 32 int width, int height, int channels, bool top_down) { 39 src_pos = ((height - 1 - i) * row_size) + j * channels; 41 src_pos = i * row_size + j * channels; 44 dst_pos = (i * width + j) * channels; 46 switch (channels) { 64 LOG(FATAL) << "Unexpected number of channels: " << channels; 74 int* channels, Settings* s) { 98 *channels = bpp / 8; 101 LOG(INFO) << "width, height, channels: " << *width << ", " << *heigh 102 << ", " << *channels << "\\n"; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
colorspace_op.cc | 52 auto channels = input.dim_size(input.dims() - 1); variable 53 OP_REQUIRES(context, channels == 3, 55 "input must have 3 channels but input only has ", channels, 56 " channels.")); 91 auto channels = input.dim_size(input.dims() - 1); variable 92 OP_REQUIRES(context, channels == 3, 94 "input must have 3 channels but input only has ", channels, 95 " channels.")) [all...] |
random_crop_op.cc | 53 const int32 channels = input.dim_size(2); variable 59 TensorShape({target_height, target_width, channels}); 100 for (int c = 0; c < channels; ++c) {
|
/external/tensorflow/tensorflow/core/ops/ |
image_ops.cc | 73 int32 channels; local 74 TF_RETURN_IF_ERROR(c->GetAttr("channels", &channels)); 75 if (channels == 0) { 78 if (channels < 0) { 79 return errors::InvalidArgument("channels must be non-negative, got ", 80 channels); 82 channels_dim = c->MakeDim(channels); 239 DimensionHandle channels = c->Dim(image, -1); 255 c->set_output(0, c->MakeShape({h, w, channels})); [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
audio_classifier_test.cc | 26 " channels output_type <input file name> <output file name> " 28 std::cout << "Where channels can be 1 (mono) or 2 (interleaved stereo),"; 38 int channels = atoi(argv[1]); local 39 if (channels < 1 || channels > 2) { 40 std::cout << "Disallowed number of channels " << channels << std::endl; 50 const int data_size = channels * kFrameSizeSamples; 76 bool is_music = classifier.Analysis(in.get(), data_size, channels);
|
/external/webrtc/webrtc/sound/ |
soundsysteminterface.h | 52 // Number of channels in the PCM stream. 53 unsigned int channels; member in struct:rtc::SoundSystemInterface::OpenParams
|
/frameworks/av/media/libmedia/ |
TypeConverter.cpp | 412 audio_channel_mask_t channels; local 413 if (!OutputChannelConverter::fromString(literalChannels, channels) && 414 !InputChannelConverter::fromString(literalChannels, channels)) { 417 return channels; 421 const std::string &channels, const char *del) 424 OutputChannelConverter::collectionFromString(channels, channelMaskCollection, del); 425 InputChannelConverter::collectionFromString(channels, channelMaskCollection, del); 426 ChannelIndexConverter::collectionFromString(channels, channelMaskCollection, del);
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
AudioCodec.java | 117 String channels = clue.substring(codec.rtpmap.length()); local 118 if (channels.length() == 0 || channels.equals("/1")) {
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.h | 35 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } function in class:android_audio_legacy::AudioStreamOutStub 52 virtual uint32_t channels() const { return AudioSystem::CHANNEL_IN_MONO; } function in class:android_audio_legacy::AudioStreamInStub 82 uint32_t *channels=0, 90 uint32_t *channels,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
MockServerSocketChannel.java | 18 package org.apache.harmony.tests.java.nio.channels; 24 import java.nio.channels.NetworkChannel; 25 import java.nio.channels.ServerSocketChannel; 26 import java.nio.channels.SocketChannel; 27 import java.nio.channels.spi.SelectorProvider;
|
PipeTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 21 import java.nio.channels.Pipe; 22 import java.nio.channels.Pipe.SinkChannel; 23 import java.nio.channels.Pipe.SourceChannel; 34 * @tests java.nio.channels.Pipe#open() 42 * @tests java.nio.channels.Pipe#sink() 51 * @tests java.nio.channels.Pipe#source()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
AbstractInterruptibleChannel.java | 30 package java.nio.channels.spi; 35 import java.nio.channels.*; 42 * Base implementation class for interruptible channels. 45 * the asynchronous closing and interruption of channels. A concrete channel 78 * java.nio.channels.Channel} specification. Implementations of the {@link
|
AbstractSelector.java | 26 package java.nio.channels.spi; 29 import java.nio.channels.SelectionKey; 30 import java.nio.channels.Selector; 125 * java.nio.channels.Selector#wakeup wakeup} method. </p>
|
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
|
SelectorProvider.java | 26 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.spi.SelectorProvider</tt> is defined then it i [all...] |
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
AutoValue_Lineup.java | 35 private final List<String> channels; field in class:AutoValue_Lineup 41 List<String> channels) { 48 if (channels == null) { 49 throw new NullPointerException("Null channels"); 51 this.channels = channels; 72 return channels; 81 + "channels=" + channels 95 && (this.channels.equals(that.getChannels())) [all...] |
/system/media/audio_utils/include/audio_utils/ |
sndfile.h | 39 int channels; member in struct:__anon3164
|
/bionic/libc/kernel/uapi/linux/hsi/ |
hsi_char.h | 44 __u32 channels; member in struct:hsc_rx_config 48 __u32 channels; member in struct:hsc_tx_config
|
/external/ImageMagick/coders/ |
exr.c | 386 channels, 441 channels=0; 446 channels=IMF_WRITE_RGB; 448 channels=IMF_WRITE_RGBA; 450 channels=IMF_WRITE_YC; 452 channels=IMF_WRITE_YCA; 454 channels=IMF_WRITE_Y; 456 channels=IMF_WRITE_YA; 458 channels=IMF_WRITE_R; 460 channels=IMF_WRITE_G 379 channels, local [all...] |