Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 1336) sorted by relevance

12345678910>>...54

/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h55 #define WEBRTC_CHECK_CHANNEL(channel) \ argument
56 if (channels_.find(channel) == channels_.end()) return -1;
226 uint32_t GetLocalSSRC(int channel) { in GetLocalSSRC() argument
227 return channels_[channel]->send_ssrc; in GetLocalSSRC()
229 bool GetPlayout(int channel) { in GetPlayout() argument
230 return channels_[channel]->playout; in GetPlayout()
232 bool GetSend(int channel) { in GetSend() argument
233 return channels_[channel]->send; in GetSend()
235 bool GetVAD(int channel) { in GetVAD() argument
236 return channels_[channel]->vad; in GetVAD()
[all …]
/external/c-ares/
Dares_init.c79 static int init_by_options(ares_channel channel, const struct ares_options *options,
81 static int init_by_environment(ares_channel channel);
82 static int init_by_resolv_conf(ares_channel channel);
83 static int init_by_defaults(ares_channel channel);
89 static int set_search(ares_channel channel, const char *str);
90 static int set_options(ares_channel channel, const char *str);
98 static int config_domain(ares_channel channel, char *str);
99 static int config_lookup(ares_channel channel, const char *str,
120 ares_channel channel; in ares_init_options() local
142 channel = malloc(sizeof(struct ares_channeldata)); in ares_init_options()
[all …]
Dares_process.c74 static void write_tcp_data(ares_channel channel, fd_set *write_fds,
76 static void read_tcp_data(ares_channel channel, fd_set *read_fds,
78 static void read_udp_packets(ares_channel channel, fd_set *read_fds,
80 static void advance_tcp_send_queue(ares_channel channel, int whichserver,
82 static void process_timeouts(ares_channel channel, struct timeval *now);
83 static void process_broken_connections(ares_channel channel,
85 static void process_answer(ares_channel channel, unsigned char *abuf,
88 static void handle_error(ares_channel channel, int whichserver,
90 static void skip_server(ares_channel channel, struct query *query,
92 static void next_server(ares_channel channel, struct query *query,
[all …]
Dares_destroy.c38 void ares_destroy(ares_channel channel) in ares_destroy() argument
45 if (!channel) in ares_destroy()
48 list_head = &(channel->all_queries); in ares_destroy()
60 assert(ares__is_list_empty(&(channel->all_queries))); in ares_destroy()
63 assert(ares__is_list_empty(&(channel->queries_by_qid[i]))); in ares_destroy()
67 assert(ares__is_list_empty(&(channel->queries_by_timeout[i]))); in ares_destroy()
71 ares__destroy_servers_state(channel); in ares_destroy()
73 if (channel->domains) { in ares_destroy()
74 for (i = 0; i < channel->ndomains; i++) in ares_destroy()
75 free(channel->domains[i]); in ares_destroy()
[all …]
/external/webrtc/webrtc/test/
Dmock_voice_engine.h67 MOCK_METHOD3(SetRxNsStatus, int(int channel, bool enable, NsModes mode));
68 MOCK_METHOD3(GetRxNsStatus, int(int channel, bool& enabled, NsModes& mode));
69 MOCK_METHOD3(SetRxAgcStatus, int(int channel, bool enable, AgcModes mode));
70 MOCK_METHOD3(GetRxAgcStatus, int(int channel, bool& enabled, AgcModes& mode));
71 MOCK_METHOD2(SetRxAgcConfig, int(int channel, AgcConfig config));
72 MOCK_METHOD2(GetRxAgcConfig, int(int channel, AgcConfig& config));
74 int(int channel, VoERxVadCallback& observer));
75 MOCK_METHOD1(DeRegisterRxVadObserver, int(int channel));
76 MOCK_METHOD1(VoiceActivityIndicator, int(int channel));
109 MOCK_METHOD1(DeleteChannel, int(int channel));
[all …]
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c99 static errcode_t unix_open(const char *name, int flags, io_channel *channel);
100 static errcode_t unix_close(io_channel channel);
101 static errcode_t unix_set_blksize(io_channel channel, int blksize);
102 static errcode_t unix_read_blk(io_channel channel, unsigned long block,
104 static errcode_t unix_write_blk(io_channel channel, unsigned long block,
106 static errcode_t unix_flush(io_channel channel);
107 static errcode_t unix_write_byte(io_channel channel, unsigned long offset,
109 static errcode_t unix_set_option(io_channel channel, const char *option,
111 static errcode_t unix_get_stats(io_channel channel, io_stats *stats)
113 static void reuse_cache(io_channel channel, struct unix_private_data *data,
[all …]
Dio_manager.c22 errcode_t io_channel_set_options(io_channel channel, const char *opts) in io_channel_set_options() argument
27 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_set_options()
32 if (!channel->manager->set_option) in io_channel_set_options()
50 retval = (channel->manager->set_option)(channel, ptr, arg); in io_channel_set_options()
59 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, in io_channel_write_byte() argument
62 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_write_byte()
64 if (channel->manager->write_byte) in io_channel_write_byte()
65 return channel->manager->write_byte(channel, offset, in io_channel_write_byte()
71 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, in io_channel_read_blk64() argument
74 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_read_blk64()
[all …]
Dundo_io.c73 static errcode_t undo_open(const char *name, int flags, io_channel *channel);
74 static errcode_t undo_close(io_channel channel);
75 static errcode_t undo_set_blksize(io_channel channel, int blksize);
76 static errcode_t undo_read_blk64(io_channel channel, unsigned long long block,
78 static errcode_t undo_write_blk64(io_channel channel, unsigned long long block,
80 static errcode_t undo_read_blk(io_channel channel, unsigned long block,
82 static errcode_t undo_write_blk(io_channel channel, unsigned long block,
84 static errcode_t undo_flush(io_channel channel);
85 static errcode_t undo_write_byte(io_channel channel, unsigned long offset,
87 static errcode_t undo_set_option(io_channel channel, const char *option,
[all …]
Dinode_io.c49 static errcode_t inode_open(const char *name, int flags, io_channel *channel);
50 static errcode_t inode_close(io_channel channel);
51 static errcode_t inode_set_blksize(io_channel channel, int blksize);
52 static errcode_t inode_read_blk(io_channel channel, unsigned long block,
54 static errcode_t inode_write_blk(io_channel channel, unsigned long block,
56 static errcode_t inode_flush(io_channel channel);
57 static errcode_t inode_write_byte(io_channel channel, unsigned long offset,
59 static errcode_t inode_read_blk64(io_channel channel,
61 static errcode_t inode_write_blk64(io_channel channel,
115 static errcode_t inode_open(const char *name, int flags, io_channel *channel) in inode_open() argument
[all …]
Dtest_io.c65 static errcode_t test_open(const char *name, int flags, io_channel *channel);
66 static errcode_t test_close(io_channel channel);
67 static errcode_t test_set_blksize(io_channel channel, int blksize);
68 static errcode_t test_read_blk(io_channel channel, unsigned long block,
70 static errcode_t test_write_blk(io_channel channel, unsigned long block,
72 static errcode_t test_read_blk64(io_channel channel, unsigned long long block,
74 static errcode_t test_write_blk64(io_channel channel, unsigned long long block,
76 static errcode_t test_flush(io_channel channel);
77 static errcode_t test_write_byte(io_channel channel, unsigned long offset,
79 static errcode_t test_set_option(io_channel channel, const char *option,
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer_unittest.cc27 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
29 EXPECT_EQ(0, sync_buffer[channel][i]); in TEST()
58 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
60 new_data[channel][i] = i; in TEST()
71 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
73 EXPECT_EQ(new_data[channel][i], in TEST()
74 sync_buffer[channel][sync_buffer.next_index() + i]); in TEST()
83 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
85 EXPECT_EQ(0, sync_buffer[channel][i]); in TEST()
98 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
[all …]
Daudio_multi_vector_unittest.cc88 for (size_t channel = 0; channel < num_channels_; ++channel) { in TEST_P() local
90 vec[channel][i] = static_cast<int16_t>(i); in TEST_P()
92 const AudioVector& audio_vec = vec[channel]; in TEST_P()
109 for (size_t channel = 0; channel < vec.Channels(); ++channel) { in TEST_P() local
111 EXPECT_EQ(static_cast<int16_t>((channel + 1) * 100 + i), vec[channel][i]); in TEST_P()
112 EXPECT_EQ(vec[channel][i], vec_copy[channel][i]); in TEST_P()
141 for (size_t channel = 0; channel < num_channels_; ++channel) { in TEST_P() local
143 vec1[channel][i] = static_cast<int16_t>(i + 100 * channel); in TEST_P()
144 vec2[channel][i] = in TEST_P()
145 static_cast<int16_t>(i + 100 * channel + array_length()); in TEST_P()
[all …]
Dbackground_noise.cc38 for (size_t channel = 0; channel < num_channels_; ++channel) { in Reset() local
39 channel_parameters_[channel].Reset(); in Reset()
128 int32_t BackgroundNoise::Energy(size_t channel) const { in Energy()
129 assert(channel < num_channels_); in Energy()
130 return channel_parameters_[channel].energy; in Energy()
133 void BackgroundNoise::SetMuteFactor(size_t channel, int16_t value) { in SetMuteFactor() argument
134 assert(channel < num_channels_); in SetMuteFactor()
135 channel_parameters_[channel].mute_factor = value; in SetMuteFactor()
138 int16_t BackgroundNoise::MuteFactor(size_t channel) const { in MuteFactor()
139 assert(channel < num_channels_); in MuteFactor()
[all …]
/external/webrtc/webrtc/voice_engine/
Dvoe_rtp_rtcp_impl.cc48 int VoERTP_RTCPImpl::SetLocalSSRC(int channel, unsigned int ssrc) { in SetLocalSSRC() argument
50 "SetLocalSSRC(channel=%d, %lu)", channel, ssrc); in SetLocalSSRC()
55 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetLocalSSRC()
56 voe::Channel* channelPtr = ch.channel(); in SetLocalSSRC()
65 int VoERTP_RTCPImpl::GetLocalSSRC(int channel, unsigned int& ssrc) { in GetLocalSSRC() argument
70 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetLocalSSRC()
71 voe::Channel* channelPtr = ch.channel(); in GetLocalSSRC()
80 int VoERTP_RTCPImpl::GetRemoteSSRC(int channel, unsigned int& ssrc) { in GetRemoteSSRC() argument
85 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetRemoteSSRC()
86 voe::Channel* channelPtr = ch.channel(); in GetRemoteSSRC()
[all …]
Dvoe_codec_impl.cc63 int VoECodecImpl::SetSendCodec(int channel, const CodecInst& codec) { in SetSendCodec() argument
65 "SetSendCodec(channel=%d, codec)", channel); in SetSendCodec()
93 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetSendCodec()
94 voe::Channel* channelPtr = ch.channel(); in SetSendCodec()
114 int VoECodecImpl::GetSendCodec(int channel, CodecInst& codec) { in GetSendCodec() argument
119 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetSendCodec()
120 voe::Channel* channelPtr = ch.channel(); in GetSendCodec()
134 int VoECodecImpl::SetBitRate(int channel, int bitrate_bps) { in SetBitRate() argument
141 _shared->channel_manager().GetChannel(channel).channel()->SetBitRate( in SetBitRate()
146 int VoECodecImpl::GetRecCodec(int channel, CodecInst& codec) { in GetRecCodec() argument
[all …]
Dvoe_file_impl.cc50 int VoEFileImpl::StartPlayingFileLocally(int channel, in StartPlayingFileLocally() argument
61 channel, fileNameUTF8, loop, format, volumeScaling, startPointMs, in StartPlayingFileLocally()
68 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in StartPlayingFileLocally()
69 voe::Channel* channelPtr = ch.channel(); in StartPlayingFileLocally()
81 int VoEFileImpl::StartPlayingFileLocally(int channel, in StartPlayingFileLocally() argument
90 channel, format, volumeScaling, startPointMs, stopPointMs); in StartPlayingFileLocally()
97 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in StartPlayingFileLocally()
98 voe::Channel* channelPtr = ch.channel(); in StartPlayingFileLocally()
109 int VoEFileImpl::StopPlayingFileLocally(int channel) { in StopPlayingFileLocally() argument
116 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in StopPlayingFileLocally()
[all …]
Dvoe_rtp_rtcp_impl.h23 int SetRTCPStatus(int channel, bool enable) override;
25 int GetRTCPStatus(int channel, bool& enabled) override;
27 int SetRTCP_CNAME(int channel, const char cName[256]) override;
29 int GetRemoteRTCP_CNAME(int channel, char cName[256]) override;
31 int GetRemoteRTCPData(int channel,
40 int SetLocalSSRC(int channel, unsigned int ssrc) override;
42 int GetLocalSSRC(int channel, unsigned int& ssrc) override;
44 int GetRemoteSSRC(int channel, unsigned int& ssrc) override;
47 int SetSendAudioLevelIndicationStatus(int channel,
50 int SetReceiveAudioLevelIndicationStatus(int channel,
[all …]
Dvoe_network_impl.cc38 int VoENetworkImpl::RegisterExternalTransport(int channel, in RegisterExternalTransport() argument
41 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in RegisterExternalTransport()
42 voe::Channel* channelPtr = ch.channel(); in RegisterExternalTransport()
44 LOG_F(LS_ERROR) << "Failed to locate channel: " << channel; in RegisterExternalTransport()
50 int VoENetworkImpl::DeRegisterExternalTransport(int channel) { in DeRegisterExternalTransport() argument
52 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in DeRegisterExternalTransport()
53 voe::Channel* channelPtr = ch.channel(); in DeRegisterExternalTransport()
55 LOG_F(LS_ERROR) << "Failed to locate channel: " << channel; in DeRegisterExternalTransport()
61 int VoENetworkImpl::ReceivedRTPPacket(int channel, in ReceivedRTPPacket() argument
64 return ReceivedRTPPacket(channel, data, length, webrtc::PacketTime()); in ReceivedRTPPacket()
[all …]
Dchannel_proxy.cc25 RTC_CHECK(channel_owner_.channel()); in ChannelProxy()
31 channel()->SetRTCPStatus(enable); in SetRTCPStatus()
36 int error = channel()->SetLocalSSRC(ssrc); in SetLocalSSRC()
44 int error = channel()->SetRTCP_CNAME(c_name_limited.c_str()); in SetRTCP_CNAME()
50 int error = channel()->SetSendAbsoluteSenderTimeStatus(enable, id); in SetSendAbsoluteSenderTimeStatus()
56 int error = channel()->SetSendAudioLevelIndicationStatus(enable, id); in SetSendAudioLevelIndicationStatus()
62 channel()->EnableSendTransportSequenceNumber(id); in EnableSendTransportSequenceNumber()
67 int error = channel()->SetReceiveAbsoluteSenderTimeStatus(enable, id); in SetReceiveAbsoluteSenderTimeStatus()
73 int error = channel()->SetReceiveAudioLevelIndicationStatus(enable, id); in SetReceiveAudioLevelIndicationStatus()
82 channel()->SetCongestionControlObjects( in SetCongestionControlObjects()
[all …]
Dvoe_video_sync_impl.cc46 int VoEVideoSyncImpl::GetPlayoutTimestamp(int channel, in GetPlayoutTimestamp() argument
52 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetPlayoutTimestamp()
53 voe::Channel* channel_ptr = ch.channel(); in GetPlayoutTimestamp()
62 int VoEVideoSyncImpl::SetInitTimestamp(int channel, unsigned int timestamp) { in SetInitTimestamp() argument
64 "SetInitTimestamp(channel=%d, timestamp=%lu)", channel, in SetInitTimestamp()
71 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetInitTimestamp()
72 voe::Channel* channelPtr = ch.channel(); in SetInitTimestamp()
81 int VoEVideoSyncImpl::SetInitSequenceNumber(int channel, short sequenceNumber) { in SetInitSequenceNumber() argument
83 "SetInitSequenceNumber(channel=%d, sequenceNumber=%hd)", channel, in SetInitSequenceNumber()
90 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetInitSequenceNumber()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py54 for channel in format.channels:
55 if channel.size % 8 or not is_pot(channel.size):
59 for channel in format.channels:
61 if channel.type == VOID:
62 if channel.size:
63 print ' unsigned %s:%u;' % (channel.name, channel.size)
64 elif channel.type == UNSIGNED:
65 print ' unsigned %s:%u;' % (channel.name, channel.size)
66 elif channel.type in (SIGNED, FIXED):
67 print ' int %s:%u;' % (channel.name, channel.size)
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
Dgroup-file-lexer.rb119 channel = ANTLR3::DEFAULT_CHANNEL
128 @state.channel = channel
143 channel = ANTLR3::DEFAULT_CHANNEL
152 @state.channel = channel
167 channel = ANTLR3::DEFAULT_CHANNEL
176 @state.channel = channel
191 channel = ANTLR3::DEFAULT_CHANNEL
200 @state.channel = channel
215 channel = ANTLR3::DEFAULT_CHANNEL
224 @state.channel = channel
[all …]
/external/curl/tests/data/
Dtest57152 rtp: part 2 channel 1 size 10
53 rtp: part 2 channel 0 size 500
54 rtp: part 2 channel 0 size 196
55 rtp: part 2 channel 0 size 124
56 rtp: part 2 channel 0 size 824
57 rtp: part 3 channel 1 size 10
58 rtp: part 3 channel 0 size 50
59 rtp: part 4 channel 0 size 798
60 rtp: part 4 channel 0 size 42
61 rtp: part 4 channel 1 size 30
[all …]
/external/webrtc/webrtc/voice_engine/include/
Dvoe_rtp_rtcp.h52 virtual void OnIncomingCSRCChanged(int channel,
56 virtual void OnIncomingSSRCChanged(int channel, unsigned int SSRC) = 0;
114 virtual int SetLocalSSRC(int channel, unsigned int ssrc) = 0;
117 virtual int GetLocalSSRC(int channel, unsigned int& ssrc) = 0;
120 virtual int GetRemoteSSRC(int channel, unsigned int& ssrc) = 0;
123 virtual int SetSendAudioLevelIndicationStatus(int channel,
129 virtual int SetReceiveAudioLevelIndicationStatus(int channel,
137 virtual int SetSendAbsoluteSenderTimeStatus(int channel,
142 virtual int SetReceiveAbsoluteSenderTimeStatus(int channel,
147 virtual int SetRTCPStatus(int channel, bool enable) = 0;
[all …]
/external/jetty/src/java/org/eclipse/jetty/client/
DSelectConnector.java70 SocketChannel channel = null; in startConnection() local
73 channel = SocketChannel.open(); in startConnection()
75 channel.socket().setTcpNoDelay(true); in startConnection()
79channel.socket().connect(address.toSocketAddress(), _httpClient.getConnectTimeout()); in startConnection()
80 channel.configureBlocking(false); in startConnection()
81 _selectorManager.register( channel, destination ); in startConnection()
85 channel.configureBlocking(false); in startConnection()
86 channel.connect(address.toSocketAddress()); in startConnection()
87 _selectorManager.register(channel,destination); in startConnection()
88 ConnectTimeout connectTimeout = new ConnectTimeout(channel,destination); in startConnection()
[all …]

12345678910>>...54