Home
last modified time | relevance | path

Searched refs:scoped_ptr (Results 1 – 25 of 969) sorted by relevance

12345678910>>...39

/external/webrtc/webrtc/base/
Dscoped_ptr.h309 class scoped_ptr {
322 scoped_ptr() : impl_(nullptr) {}
325 explicit scoped_ptr(element_type* p) : impl_(p) {}
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {}
331 scoped_ptr(std::nullptr_t) : impl_(nullptr) {}
344 scoped_ptr(scoped_ptr<U, V>&& other)
360 scoped_ptr& operator=(scoped_ptr<U, V>&& rhs) {
368 scoped_ptr& operator=(std::nullptr_t) {
374 scoped_ptr(const scoped_ptr& other) = delete;
375 scoped_ptr& operator=(const scoped_ptr& other) = delete;
[all …]
Dsocket_unittest.cc197 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(loopback.family(), in ConnectInternal()
204 scoped_ptr<AsyncSocket> server( in ConnectInternal()
228 scoped_ptr<AsyncSocket> accepted(server->Accept(&accept_addr)); in ConnectInternal()
252 scoped_ptr<AsyncSocket> client( in ConnectWithDnsLookupInternal()
257 scoped_ptr<AsyncSocket> server( in ConnectWithDnsLookupInternal()
277 scoped_ptr<AsyncSocket> accepted(server->Accept(&accept_addr)); in ConnectWithDnsLookupInternal()
300 scoped_ptr<AsyncSocket> client( in ConnectFailInternal()
305 scoped_ptr<AsyncSocket> server( in ConnectFailInternal()
333 scoped_ptr<AsyncSocket> client( in ConnectWithDnsLookupFailInternal()
338 scoped_ptr<AsyncSocket> server( in ConnectWithDnsLookupFailInternal()
[all …]
Dnat_unittest.cc181 scoped_ptr<PhysicalSocketServer> pss(new PhysicalSocketServer()); in TestConnectivity()
182 scoped_ptr<AsyncSocket> client(pss->CreateAsyncSocket(src.family(), in TestConnectivity()
184 scoped_ptr<AsyncSocket> server(pss->CreateAsyncSocket(src.family(), in TestConnectivity()
247 scoped_ptr<PhysicalSocketServer> int_pss(new PhysicalSocketServer()); in TestPhysicalInternal()
248 scoped_ptr<PhysicalSocketServer> ext_pss(new PhysicalSocketServer()); in TestPhysicalInternal()
277 scoped_ptr<SocketServer> ss_;
283 scoped_ptr<TestVirtualSocketServer> int_vss(new TestVirtualSocketServer( in TestVirtualInternal()
285 scoped_ptr<TestVirtualSocketServer> ext_vss(new TestVirtualSocketServer( in TestVirtualInternal()
354 rtc::scoped_ptr<TestVirtualSocketServer> int_vss_;
355 rtc::scoped_ptr<TestVirtualSocketServer> ext_vss_;
[all …]
Dmessagedigest.cc78 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeDigest()
85 scoped_ptr<char[]> output(new char[digest->Size()]); in ComputeDigest()
93 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeDigest()
120 scoped_ptr<uint8_t[]> new_key(new uint8_t[block_len]); in ComputeHmac()
129 scoped_ptr<uint8_t[]> o_pad(new uint8_t[block_len]); in ComputeHmac()
130 scoped_ptr<uint8_t[]> i_pad(new uint8_t[block_len]); in ComputeHmac()
136 scoped_ptr<uint8_t[]> inner(new uint8_t[digest->Size()]); in ComputeHmac()
149 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeHmac()
159 scoped_ptr<char[]> output(new char[digest->Size()]); in ComputeHmac()
167 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeHmac()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils.h107 rtc::scoped_ptr<std::complex<float>[]> running_mean_;
108 rtc::scoped_ptr<std::complex<float>[]> running_mean_sq_;
111 rtc::scoped_ptr<std::complex<float>[]> sub_running_mean_;
112 rtc::scoped_ptr<std::complex<float>[]> sub_running_mean_sq_;
116 rtc::scoped_ptr<rtc::scoped_ptr<std::complex<float>[]>[]> history_;
117 rtc::scoped_ptr<rtc::scoped_ptr<std::complex<float>[]>[]> subhistory_;
118 rtc::scoped_ptr<rtc::scoped_ptr<std::complex<float>[]>[]> subhistory_sq_;
121 rtc::scoped_ptr<float[]> variance_;
122 rtc::scoped_ptr<float[]> conj_sum_;
152 rtc::scoped_ptr<float[]> target_;
[all …]
Dintelligibility_enhancer.h156 rtc::scoped_ptr<float[]> filtered_clear_var_;
157 rtc::scoped_ptr<float[]> filtered_noise_var_;
159 rtc::scoped_ptr<float[]> center_freqs_;
161 rtc::scoped_ptr<float[]> rho_; // Production and interpretation SNR.
163 rtc::scoped_ptr<float[]> gains_eq_; // Pre-filter modified gains.
171 rtc::scoped_ptr<float[]> kbd_window_;
174 rtc::scoped_ptr<LappedTransform> render_mangler_;
175 rtc::scoped_ptr<LappedTransform> capture_mangler_;
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl.h341 const rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_;
342 const rtc::scoped_ptr<BufferLevelFilter> buffer_level_filter_
344 const rtc::scoped_ptr<DecoderDatabase> decoder_database_
346 const rtc::scoped_ptr<DelayManager> delay_manager_ GUARDED_BY(crit_sect_);
347 const rtc::scoped_ptr<DelayPeakDetector> delay_peak_detector_
349 const rtc::scoped_ptr<DtmfBuffer> dtmf_buffer_ GUARDED_BY(crit_sect_);
350 const rtc::scoped_ptr<DtmfToneGenerator> dtmf_tone_generator_
352 const rtc::scoped_ptr<PacketBuffer> packet_buffer_ GUARDED_BY(crit_sect_);
353 const rtc::scoped_ptr<PayloadSplitter> payload_splitter_
355 const rtc::scoped_ptr<TimestampScaler> timestamp_scaler_
[all …]
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppressor.h74 rtc::scoped_ptr<TransientDetector> detector_;
83 rtc::scoped_ptr<float[]> in_buffer_;
84 rtc::scoped_ptr<float[]> detection_buffer_;
86 rtc::scoped_ptr<float[]> out_buffer_;
89 rtc::scoped_ptr<size_t[]> ip_;
90 rtc::scoped_ptr<float[]> wfft_;
92 rtc::scoped_ptr<float[]> spectral_mean_;
95 rtc::scoped_ptr<float[]> fft_buffer_;
97 rtc::scoped_ptr<float[]> magnitudes_;
101 rtc::scoped_ptr<float[]> mean_factor_;
Dfile_utils_unittest.cc103 rtc::scoped_ptr<uint8_t[]> bytes(new uint8_t[4]); in TEST_F()
121 rtc::scoped_ptr<uint8_t[]> bytes(new uint8_t[8]); in TEST_F()
141 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
151 rtc::scoped_ptr<int16_t[]> buffer(new int16_t[kBufferLength]); in TEST_F()
185 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
195 rtc::scoped_ptr<float[]> buffer(new float[kBufferLength]); in TEST_F()
232 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
242 rtc::scoped_ptr<double[]> buffer(new double[kBufferLength]); in TEST_F()
277 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
287 rtc::scoped_ptr<float[]> buffer(new float[kBufferLength]); in TEST_F()
[all …]
/external/webrtc/webrtc/p2p/base/
Dtransportdescriptionfactory_unittest.cc21 using rtc::scoped_ptr;
30 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User1")))), in TransportDescriptionFactoryTest()
32 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User2")))) {} in TransportDescriptionFactoryTest()
74 rtc::scoped_ptr<TransportDescription> offer(f1_.CreateOffer( in TestIceRestart()
76 rtc::scoped_ptr<TransportDescription> answer( in TestIceRestart()
82 rtc::scoped_ptr<TransportDescription> restart_offer(f1_.CreateOffer( in TestIceRestart()
89 rtc::scoped_ptr<TransportDescription> restart_answer( in TestIceRestart()
123 scoped_ptr<TransportDescription> desc(f1_.CreateOffer( in TEST_F()
134 scoped_ptr<TransportDescription> desc(f1_.CreateOffer( in TEST_F()
146 scoped_ptr<TransportDescription> desc(f1_.CreateOffer( in TEST_F()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dscoped_ptr.hpp23 class scoped_ptr class
27 explicit scoped_ptr(T* p = 0) in scoped_ptr() function in asio::detail::scoped_ptr
33 ~scoped_ptr() in ~scoped_ptr()
65 scoped_ptr(const scoped_ptr&);
66 scoped_ptr& operator=(const scoped_ptr&);
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.h166 rtc::scoped_ptr<rtcp::RtcpPacket> BuildSR(const RtcpContext& context)
168 rtc::scoped_ptr<rtcp::RtcpPacket> BuildRR(const RtcpContext& context)
170 rtc::scoped_ptr<rtcp::RtcpPacket> BuildSDES(const RtcpContext& context)
172 rtc::scoped_ptr<rtcp::RtcpPacket> BuildPLI(const RtcpContext& context)
174 rtc::scoped_ptr<rtcp::RtcpPacket> BuildREMB(const RtcpContext& context)
176 rtc::scoped_ptr<rtcp::RtcpPacket> BuildTMMBR(const RtcpContext& context)
178 rtc::scoped_ptr<rtcp::RtcpPacket> BuildTMMBN(const RtcpContext& context)
180 rtc::scoped_ptr<rtcp::RtcpPacket> BuildAPP(const RtcpContext& context)
182 rtc::scoped_ptr<rtcp::RtcpPacket> BuildVoIPMetric(const RtcpContext& context)
184 rtc::scoped_ptr<rtcp::RtcpPacket> BuildBYE(const RtcpContext& context)
[all …]
Drtcp_sender.cc460 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildSR(const RtcpContext& ctx) { in BuildSR()
492 return rtc::scoped_ptr<rtcp::SenderReport>(report); in BuildSR()
495 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildSDES( in BuildSDES()
506 return rtc::scoped_ptr<rtcp::Sdes>(sdes); in BuildSDES()
509 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildRR(const RtcpContext& ctx) { in BuildRR()
516 return rtc::scoped_ptr<rtcp::ReceiverReport>(report); in BuildRR()
519 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildPLI(const RtcpContext& ctx) { in BuildPLI()
530 return rtc::scoped_ptr<rtcp::Pli>(pli); in BuildPLI()
533 rtc::scoped_ptr<rtcp::RtcpPacket> RTCPSender::BuildFIR(const RtcpContext& ctx) { in BuildFIR()
548 return rtc::scoped_ptr<rtcp::Fir>(fir); in BuildFIR()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dscoped_ptr.h48 template <class C> class scoped_ptr; variable
59 class scoped_ptr {
68 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_()
72 ~scoped_ptr() { in ~scoped_ptr()
107 void swap(scoped_ptr& p2) { in swap()
130 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
131 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
134 scoped_ptr(const scoped_ptr&);
135 void operator=(const scoped_ptr&);
229 using internal::scoped_ptr;
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dneteq_quality_test.h61 rtc::scoped_ptr<UniformLoss> uniform_loss_model_;
122 rtc::scoped_ptr<InputAudioFile> in_file_;
123 rtc::scoped_ptr<AudioSink> output_;
126 rtc::scoped_ptr<RtpGenerator> rtp_generator_;
127 rtc::scoped_ptr<NetEq> neteq_;
128 rtc::scoped_ptr<LossModel> loss_model_;
130 rtc::scoped_ptr<int16_t[]> in_data_;
131 rtc::scoped_ptr<uint8_t[]> payload_;
132 rtc::scoped_ptr<int16_t[]> out_data_;
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.h87 WavFileProcessor(rtc::scoped_ptr<AudioProcessing> ap,
88 rtc::scoped_ptr<WavReader> in_file,
89 rtc::scoped_ptr<WavWriter> out_file);
96 rtc::scoped_ptr<AudioProcessing> ap_;
110 AecDumpFileProcessor(rtc::scoped_ptr<AudioProcessing> ap,
112 rtc::scoped_ptr<WavWriter> out_file);
125 rtc::scoped_ptr<AudioProcessing> ap_;
128 rtc::scoped_ptr<ChannelBuffer<float>> in_buf_;
129 rtc::scoped_ptr<ChannelBuffer<float>> reverse_buf_;
/external/webrtc/webrtc/call/
Dcongestion_controller.h71 rtc::scoped_ptr<VieRemb> remb_;
72 rtc::scoped_ptr<PacketRouter> packet_router_;
73 rtc::scoped_ptr<PacedSender> pacer_;
74 rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
75 rtc::scoped_ptr<RemoteEstimatorProxy> remote_estimator_proxy_;
84 rtc::scoped_ptr<ProcessThread> pacer_thread_;
86 rtc::scoped_ptr<BitrateController> bitrate_controller_;
87 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_;
/external/webrtc/webrtc/common_audio/resampler/include/
Dpush_resampler.h39 rtc::scoped_ptr<PushSincResampler> sinc_resampler_;
40 rtc::scoped_ptr<PushSincResampler> sinc_resampler_right_;
44 rtc::scoped_ptr<T[]> src_left_;
45 rtc::scoped_ptr<T[]> src_right_;
46 rtc::scoped_ptr<T[]> dst_left_;
47 rtc::scoped_ptr<T[]> dst_right_;
/external/google-breakpad/src/common/
Dscoped_ptr.h83 class scoped_ptr {
92 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_()
96 ~scoped_ptr() { in ~scoped_ptr()
131 void swap(scoped_ptr& p2) { in swap()
154 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
155 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
158 scoped_ptr(const scoped_ptr&);
159 void operator=(const scoped_ptr&);
164 void swap(scoped_ptr<C>& p1, scoped_ptr<C>& p2) { in swap()
169 bool operator==(C* p1, const scoped_ptr<C>& p2) {
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_buffer.h149 rtc::scoped_ptr<IFChannelBuffer> data_;
150 rtc::scoped_ptr<IFChannelBuffer> split_data_;
151 rtc::scoped_ptr<SplittingFilter> splitting_filter_;
152 rtc::scoped_ptr<ChannelBuffer<int16_t> > mixed_low_pass_channels_;
153 rtc::scoped_ptr<ChannelBuffer<int16_t> > low_pass_reference_channels_;
154 rtc::scoped_ptr<IFChannelBuffer> input_buffer_;
155 rtc::scoped_ptr<IFChannelBuffer> output_buffer_;
156 rtc::scoped_ptr<ChannelBuffer<float> > process_buffer_;
/external/webrtc/talk/session/media/
Dplanarfunctions_unittest.cc489 rtc::scoped_ptr<uint8_t[]> testing_color_y_;
490 rtc::scoped_ptr<uint8_t[]> testing_color_u_;
491 rtc::scoped_ptr<uint8_t[]> testing_color_v_;
492 rtc::scoped_ptr<uint8_t[]> testing_color_r_;
493 rtc::scoped_ptr<uint8_t[]> testing_color_g_;
494 rtc::scoped_ptr<uint8_t[]> testing_color_b_;
508 rtc::scoped_ptr<uint8_t[]> yuv_input(CreateFakeYuvTestingImage( in TEST_F()
512 rtc::scoped_ptr<uint8_t[]> yuv_output( in TEST_F()
546 rtc::scoped_ptr<uint8_t[]> yuv_input(CreateFakeYuvTestingImage( in TEST_F()
550 rtc::scoped_ptr<uint8_t[]> yuv_output( in TEST_F()
[all …]
/external/webrtc/talk/media/devices/
Ddevicemanager_unittest.cc58 using rtc::scoped_ptr;
110 scoped_ptr<DeviceManagerInterface> dm_;
116 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
124 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
154 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
172 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
187 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
206 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
217 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
322 scoped_ptr<DeviceManagerInterface> dm(DeviceManagerFactory::Create()); in TEST()
[all …]
/external/webrtc/talk/app/webrtc/
Dpeerconnectionfactory.h61 rtc::scoped_ptr<cricket::PortAllocator> allocator,
62 rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store,
115 rtc::scoped_ptr<cricket::ChannelManager> channel_manager_;
118 rtc::scoped_ptr<cricket::WebRtcVideoEncoderFactory>
122 rtc::scoped_ptr<cricket::WebRtcVideoDecoderFactory>
124 rtc::scoped_ptr<rtc::BasicNetworkManager> default_network_manager_;
125 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> default_socket_factory_;
/external/webrtc/webrtc/voice_engine/
Dchannel.h156 rtc::scoped_ptr<CriticalSectionWrapper> lock_;
196 void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink);
506 rtc::scoped_ptr<RtpHeaderParser> rtp_header_parser_;
507 rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_;
508 rtc::scoped_ptr<ReceiveStatistics> rtp_receive_statistics_;
509 rtc::scoped_ptr<StatisticsProxy> statistics_proxy_;
510 rtc::scoped_ptr<RtpReceiver> rtp_receiver_;
512 rtc::scoped_ptr<RtpRtcp> _rtpRtcpModule;
513 rtc::scoped_ptr<AudioCodingModule> audio_coding_;
514 rtc::scoped_ptr<AudioSinkInterface> audio_sink_;
[all …]
/external/webrtc/webrtc/common_audio/
Dfir_filter_unittest.cc43 rtc::scoped_ptr<FIRFilter> filter( in TEST()
53 rtc::scoped_ptr<FIRFilter> filter( in TEST()
66 rtc::scoped_ptr<FIRFilter> filter( in TEST()
79 rtc::scoped_ptr<FIRFilter> filter( in TEST()
92 rtc::scoped_ptr<FIRFilter> filter( in TEST()
109 rtc::scoped_ptr<FIRFilter> filter( in TEST()
140 rtc::scoped_ptr<FIRFilter> filter( in TEST()
165 rtc::scoped_ptr<FIRFilter> filter(FIRFilter::Create( in TEST()
184 rtc::scoped_ptr<FIRFilter> filter(FIRFilter::Create( in TEST()
196 rtc::scoped_ptr<FIRFilter> filter(FIRFilter::Create( in TEST()

12345678910>>...39