/external/kernel-headers/original/asm-mips/ |
jazzdma.h | 18 extern void vdma_enable(int channel); 19 extern void vdma_disable(int channel); 20 extern void vdma_set_mode(int channel, int mode); 21 extern void vdma_set_addr(int channel, long addr); 22 extern void vdma_set_count(int channel, int count); 23 extern int vdma_get_residue(int channel); 24 extern int vdma_get_enable(int channel); 57 * DMA channel control registers 60 #define JAZZ_R4030_CHNL_MODE 0xE0000100 /* 8 DMA Channel Mode Registers, */ 62 #define JAZZ_R4030_CHNL_ENABLE 0xE0000108 /* 8 DMA Channel Enable Regs, * [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
ChannelHelper.java | 30 public static ByteBuffer readFully(final ReadableByteChannel channel, long size) throws IOException { 32 if (channel instanceof FileChannel && size > 1024 * 1024) { 33 ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel).position(), size); 34 ((FileChannel) channel).position(((FileChannel) channel).position() + size); method 38 readFully(channel, buf, buf.limit()); 48 public static void readFully(final ReadableByteChannel channel, final ByteBuffer buf) 50 readFully(channel, buf, buf.remaining()); 53 public static int readFully(final ReadableByteChannel channel, final ByteBuffer buf, final int length [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
Pipe.java | 24 * A pipe contains two channels, forming a unidirectional pipe. One is the writable sink channel, 25 * and the other is the readable source channel. When bytes are written into the writable 26 * channel they can be read from the readable channel. Bytes are read in the order in which they 31 * Writable sink channel used to write to a pipe. 39 * the provider of the channel. 46 * Indicates that this channel only supports writing. 57 * Readable source channel used to read from a pipe. 65 * the provider of the channel. 72 * Indicates that this channel only supports reading [all...] |
/external/webrtc/src/modules/audio_processing/ |
audio_buffer.cc | 97 int16_t* AudioBuffer::data(int channel) const { 98 assert(channel >= 0 && channel < num_channels_); 103 return channels_[channel].data; 106 int16_t* AudioBuffer::low_pass_split_data(int channel) const { 107 assert(channel >= 0 && channel < num_channels_); 109 return data(channel); 112 return split_channels_[channel].low_pass_data; 115 int16_t* AudioBuffer::high_pass_split_data(int channel) const [all...] |
audio_buffer.h | 32 int16_t* data(int channel) const; 33 int16_t* low_pass_split_data(int channel) const; 34 int16_t* high_pass_split_data(int channel) const; 35 int16_t* mixed_data(int channel) const; 36 int16_t* mixed_low_pass_data(int channel) const; 37 int16_t* low_pass_reference(int channel) const; 39 int32_t* analysis_filter_state1(int channel) const; 40 int32_t* analysis_filter_state2(int channel) const; 41 int32_t* synthesis_filter_state1(int channel) const; 42 int32_t* synthesis_filter_state2(int channel) const [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
channelmap.h | 31 /** \page channelmap Channel Maps 35 * Channel maps provide a way to associate channels in a stream with a 37 * make sure their channel order is identical to the final output. 41 * A channel map consists of an array of \ref pa_channel_position values, 42 * one for each channel. This array is stored together with a channel count 47 * for standard channel mappings: 49 * \li pa_channel_map_init_mono() - Create a channel map with only mono audio. 51 * \li pa_channel_map_init_auto() - Create a standard channel map for up to 57 * channel maps [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
channelmap.h | 31 /** \page channelmap Channel Maps 35 * Channel maps provide a way to associate channels in a stream with a 37 * make sure their channel order is identical to the final output. 41 * A channel map consists of an array of \ref pa_channel_position values, 42 * one for each channel. This array is stored together with a channel count 47 * for standard channel mappings: 49 * \li pa_channel_map_init_mono() - Create a channel map with only mono audio. 51 * \li pa_channel_map_init_auto() - Create a standard channel map for up to 57 * channel maps [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
channelmap.h | 31 /** \page channelmap Channel Maps 35 * Channel maps provide a way to associate channels in a stream with a 37 * make sure their channel order is identical to the final output. 41 * A channel map consists of an array of \ref pa_channel_position values, 42 * one for each channel. This array is stored together with a channel count 47 * for standard channel mappings: 49 * \li pa_channel_map_init_mono() - Create a channel map with only mono audio. 51 * \li pa_channel_map_init_auto() - Create a standard channel map for up to 57 * channel maps [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediarecorder_unittest.cc | 37 #include "talk/session/media/channel.h" 173 void TestMediaRecorder(BaseChannel* channel, 179 EXPECT_FALSE(recorder->EnableChannel(channel, true, true, SINK_PRE_CRYPTO)); 180 EXPECT_FALSE(channel->HasSendSinks(SINK_PRE_CRYPTO)); 181 EXPECT_FALSE(channel->HasRecvSinks(SINK_PRE_CRYPTO)); 182 EXPECT_FALSE(channel->HasSendSinks(SINK_POST_CRYPTO)); 183 EXPECT_FALSE(channel->HasRecvSinks(SINK_POST_CRYPTO)); 185 // Add the channel to the recorder. 193 EXPECT_TRUE(recorder->AddChannel(static_cast<VideoChannel*>(channel), 196 EXPECT_TRUE(recorder->AddChannel(static_cast<VoiceChannel*>(channel), [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
colorspace.cpp | 30 uint8 channel[4]; member in union:Rgba 33 // Channel index constants 48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v)); 49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v)); 50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u)); 51 color.channel[kAlpha] = 0xFF; 106 color_out.channel[kRed] = color_in.channel[kGreen]; 107 color_out.channel[kGreen] = color_in.channel[kBlue] [all...] |
/external/chromium_org/media/base/ |
multi_channel_resampler.cc | 21 // Allocate each channel's resampler. 29 // Setup the wrapped AudioBus for channel data. 38 i + 1, resampler_audio_bus_->channel(i)); 48 // Optimize the single channel case to avoid the chunking process below. 50 resamplers_[0]->Resample(frames, audio_bus->channel(0)); 55 // channel. To ensure this, we chunk the number of requested frames into 63 // Resample each channel. 70 // the first channel, then it will call it for the remaining channels, 74 frames_this_time, audio_bus->channel(i) + output_frames_ready_); 81 void MultiChannelResampler::ProvideInput(int channel, [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ChannelSystem.java | 24 private FixedSizeArray<Channel> mChannels; 25 private Channel mSearchDummy; 30 mChannels = new FixedSizeArray<Channel>(CHANNEL_COUNT); 32 mSearchDummy = new Channel(); 35 mChannels.add(new Channel()); 51 public Channel registerChannel(String name) { 52 Channel result = null; 56 // Add a new channel. 57 assert mRegisteredChannelCount < CHANNEL_COUNT : "Channel pool exhausted!"; 72 public class Channel { [all...] |
/external/smack/src/org/xbill/DNS/ |
TCPClient.java | 19 SocketChannel channel = (SocketChannel) key.channel(); local 20 channel.socket().bind(addr); 25 SocketChannel channel = (SocketChannel) key.channel(); local 26 if (channel.connect(addr)) 30 while (!channel.finishConnect()) { 43 SocketChannel channel = (SocketChannel) key.channel(); local 56 long n = channel.write(buffers) 75 SocketChannel channel = (SocketChannel) key.channel(); local [all...] |
/external/openssh/ |
channels.h | 41 /* Definitions for channel types. */ 45 #define SSH_CHANNEL_OPEN 4 /* normal open two-way channel */ 60 struct Channel; 61 typedef struct Channel Channel; 65 typedef int channel_infilter_fn(struct Channel *, char *, int); 67 typedef u_char *channel_outfilter_fn(struct Channel *, u_char **, u_int *); 69 /* Channel success/failure callbacks */ 70 typedef void channel_confirm_cb(int, struct Channel *, void *); 71 typedef void channel_confirm_abandon_cb(struct Channel *, void *) [all...] |
/hardware/libhardware_legacy/qemu/ |
qemu.c | 75 qemu_channel_open_qemud_pipe( QemuChannel* channel, 88 channel->is_qemud = 1; 89 channel->fd = fd; 94 qemu_channel_open_qemud( QemuChannel* channel, 124 channel->is_qemud = 1; 125 channel->fd = fd; 131 qemu_channel_open_qemud_old( QemuChannel* channel, 136 snprintf(channel->device, sizeof channel->device, 139 fd = socket_local_client( channel->device 290 static QemuChannel channel[1]; local [all...] |
/external/chromium_org/sandbox/win/src/ |
sharedmem_ipc_client.h | 16 // each channel is strictly synchronous for the client. 18 // Each channel as a channel control section associated with. Each control 22 // this is the state diagram of a channel: 31 // 1) client finds a free channel: state = kFreeChannel 33 // 3) client writes the data into the channel buffer 36 // 6) the client awakes and reads the answer from the same channel 43 // [ channel count ] 44 // [ channel control 0] 45 // [ channel control 1 [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Connection.java | 29 import com.android.tools.sdkcontroller.lib.Channel; 49 * is done via "sensors" channel, multi-touch emulation is done via "multi-touch" 50 * channel, etc. 56 * its side (a channel) that implement functionality and exchange protocol required 65 * 3. Bind emulator connection with service-side channel via port name, provided by 84 * List of connected emulator sockets, pending for a channel to be registered. 86 * Emulator may connect to SDK controller before the app registers a channel 87 * for that connection. In this case (when app-side channel is not registered 89 * for the app-side channel to register. 99 private List<Channel> mChannels = new ArrayList<Channel>() 361 final Channel channel = getChannel(channel_name); local [all...] |
/external/dropbear/ |
channel.h | 32 /* channel->type values */ 60 struct Channel { 62 unsigned int index; /* the local channel index */ 80 int initconn; /* used for TCP forwarding, whether the channel has been 84 for this channel (and are awaiting a confirmation 95 int sepfds; /* Whether this channel has seperate pipes for in/out or not */ 97 int (*inithandler)(struct Channel*); 98 int (*check_close)(struct Channel*); 99 void (*reqhandler)(struct Channel*); 100 void (*closehandler)(struct Channel*); [all...] |
cli-channel.c | 26 #include "channel.h" 33 /* We receive channel data - only used by the client chansession code*/ 36 struct Channel *channel; local 41 channel = getchannel(); 43 if (channel->type != &clichansess) { 56 common_recv_msg_channel_data(channel, channel->errfd, channel->extrabuf);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
features_bundle_test.py | 18 'channel': 'stable', 23 'channel': 'stable', 27 'channel': 'stable', 41 'channel': 'stable', 46 'channel': 'stable', 58 'channel': 'stable', 64 'channel': 'stable', 68 'channel': 'stable', 72 'channel': 'stable', 76 'channel': 'stable' [all...] |
branch_utility.py | 14 '''Represents a Chrome channel with three pieces of information. |channel| is 19 identify a channel. 22 def __init__(self, channel, branch, version): 23 assert isinstance(channel, basestring), channel 28 self.channel = channel 46 '''Provides methods for working with Chrome channel, branch, and version 73 for channel in reversed(BranchUtility.GetAllChannelNames()) [all...] |
/external/chromium_org/ipc/ |
ipc_listener.h | 16 // Implemented by consumers of a Channel to receive messages. 23 // Called when the channel is connected and we have received the internal 27 // Called when an error is detected that causes the channel to close. 28 // This method is not called when a channel is closed normally. 32 // Called on the server side when a channel that listens for connections 36 // Called on the server side when a channel that listens for connections 37 // has an error that causes the listening channel to close.
|
/external/chromium_org/media/audio/ |
simple_sources_unittest.cc | 36 EXPECT_NEAR(0, audio_bus->channel(0)[0], 38 EXPECT_FLOAT_EQ(0.15643446f, audio_bus->channel(0)[1]); 39 EXPECT_LT(audio_bus->channel(0)[1], audio_bus->channel(0)[2]); 40 EXPECT_LT(audio_bus->channel(0)[2], audio_bus->channel(0)[3]); 42 EXPECT_NEAR(0, audio_bus->channel(0)[half_period], 44 EXPECT_FLOAT_EQ(-0.15643446f, audio_bus->channel(0)[half_period + 1]); 45 EXPECT_GT(audio_bus->channel(0)[half_period + 1], 46 audio_bus->channel(0)[half_period + 2]) [all...] |
/external/chromium_org/remoting/tools/win/ |
chromoting-set-channel.bat | 7 set CHANNEL=%1
20 REM Make sure the argument specifies a valid channel.
21 if "_%CHANNEL%_"=="_beta_" goto validarg
22 if "_%CHANNEL%_"=="_stable_" goto validarg
32 if "_%CHANNEL%_"=="_stable_" (
38 echo Remote Desktop to get your machine back on the stable channel.
41 %SYSTEM32%\reg.exe add %REGKEY% /v %VALUENAME% /d %CHANNEL% /f
42 echo Switch to %CHANNEL% channel complete.
43 echo You will automatically get %CHANNEL% binaries during the next update. [all...] |
/external/e2fsprogs/e2fsck/ |
ehandler.c | 22 static errcode_t e2fsck_handle_read_error(io_channel channel, 32 ext2_filsys fs = (ext2_filsys) channel->app_data; 45 for (i=0; i < count; i++, p += channel->block_size, block++) { 46 error = io_channel_read_blk(channel, block, 62 io_channel_write_blk(channel, block, 1, data); 69 static errcode_t e2fsck_handle_write_error(io_channel channel, 79 ext2_filsys fs = (ext2_filsys) channel->app_data; 93 for (i=0; i < count; i++, p += channel->block_size, block++) { 94 error = io_channel_write_blk(channel, block, 123 void ehandler_init(io_channel channel) [all...] |