/external/libchrome/base/memory/ |
D | scoped_ptr.h | 240 class scoped_ptr { 241 DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(scoped_ptr) 254 scoped_ptr() : impl_(nullptr) {} in scoped_ptr() function 257 explicit scoped_ptr(element_type* p) : impl_(p) {} in scoped_ptr() function 260 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} in scoped_ptr() function 263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} in scoped_ptr() function 273 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} in scoped_ptr() function 300 scoped_ptr(scoped_ptr<U, E>&& other) in scoped_ptr() function 312 scoped_ptr& operator=(scoped_ptr&& rhs) { 336 scoped_ptr& operator=(scoped_ptr<U, E>&& rhs) { [all …]
|
D | scoped_ptr_unittest.nc | 8 #include "base/memory/scoped_ptr.h" 28 …ersion from returned value of type 'scoped_ptr<\(anonymous namespace\)::Parent>' to function retur… 30 scoped_ptr<Child> DowncastUsingPassAs(scoped_ptr<Parent> object) { 36 // scoped_ptr<> should not work for ref-counted objects. 38 scoped_ptr<RefCountedClass> x; 41 #elif defined(NCTEST_NO_ARRAY_WITH_SIZE) // [r"fatal error: static_assert failed \"scoped_ptr does… 44 scoped_ptr<int[10]> x; 50 scoped_ptr<int[]> a; 51 scoped_ptr<int*> b; 58 scoped_ptr<int*> a; [all …]
|
D | scoped_ptr_unittest.cc | 89 scoped_ptr<ConDecLogger> PassThru(scoped_ptr<ConDecLogger> logger) { in PassThru() 93 void GrabAndDrop(scoped_ptr<ConDecLogger> logger) { in GrabAndDrop() 98 scoped_ptr<ConDecLogger> TestReturnOfType(int* constructed) { in TestReturnOfType() 99 return scoped_ptr<ConDecLogger>(new ConDecLogger(constructed)); in TestReturnOfType() 108 static_assert(sizeof(int*) >= sizeof(scoped_ptr<int>), in TEST() 112 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() 124 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() 154 scoped_ptr<ConDecLogger> scoper1; in TEST() 155 scoped_ptr<ConDecLogger> scoper2; in TEST() 180 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() [all …]
|
/external/libweave/third_party/chromium/base/memory/ |
D | scoped_ptr.h | 240 class scoped_ptr { 241 DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(scoped_ptr) 254 scoped_ptr() : impl_(nullptr) {} in scoped_ptr() function 257 explicit scoped_ptr(element_type* p) : impl_(p) {} in scoped_ptr() function 260 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} in scoped_ptr() function 263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} in scoped_ptr() function 273 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} in scoped_ptr() function 300 scoped_ptr(scoped_ptr<U, E>&& other) in scoped_ptr() function 312 scoped_ptr& operator=(scoped_ptr&& rhs) { 336 scoped_ptr& operator=(scoped_ptr<U, E>&& rhs) { [all …]
|
D | scoped_ptr_unittest.cc | 90 scoped_ptr<ConDecLogger> PassThru(scoped_ptr<ConDecLogger> logger) { in PassThru() 94 void GrabAndDrop(scoped_ptr<ConDecLogger> logger) { in GrabAndDrop() 99 scoped_ptr<ConDecLogger> TestReturnOfType(int* constructed) { in TestReturnOfType() 100 return scoped_ptr<ConDecLogger>(new ConDecLogger(constructed)); in TestReturnOfType() 109 static_assert(sizeof(int*) >= sizeof(scoped_ptr<int>), in TEST() 113 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() 125 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() 155 scoped_ptr<ConDecLogger> scoper1; in TEST() 156 scoped_ptr<ConDecLogger> scoper2; in TEST() 181 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST() [all …]
|
/external/webrtc/webrtc/base/ |
D | scoped_ptr.h | 309 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 …]
|
/external/ceres-solver/include/ceres/internal/ |
D | scoped_ptr.h | 46 template <class C> class scoped_ptr; variable 51 scoped_ptr<C> make_scoped_ptr(C *); 62 class scoped_ptr { 70 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_() 74 ~scoped_ptr() { in ~scoped_ptr() 109 void swap(scoped_ptr& p2) { in swap() 131 friend scoped_ptr<C> make_scoped_ptr<C>(C *p); 136 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const; 137 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const; 140 scoped_ptr(const scoped_ptr&); [all …]
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
D | intelligibility_utils.h | 107 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 …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | neteq_impl.h | 341 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/ |
D | transient_suppressor.h | 74 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_;
|
/external/libweave/third_party/chromium/base/ |
D | callback_list_unittest.cc | 41 scoped_ptr<CallbackList<void(void)>::Subscription> sub) { in SetSubscriptionToRemove() 49 scoped_ptr<CallbackList<void(void)>::Subscription> removal_subscription_; 77 scoped_ptr<CallbackList<void(void)>::Subscription> subscription_; 121 scoped_ptr<CallbackList<void(int)>::Subscription> subscription1 = in TEST() 128 scoped_ptr<CallbackList<void(int, int)>::Subscription> subscription2 = in TEST() 135 scoped_ptr<CallbackList<void(int, int, int)>::Subscription> in TEST() 142 scoped_ptr<CallbackList<void(int, int, int, int)>::Subscription> in TEST() 149 scoped_ptr<CallbackList<void(int, int, int, int, int)>::Subscription> in TEST() 156 scoped_ptr<CallbackList<void(int, int, int, int, int, int)>::Subscription> in TEST() 169 scoped_ptr<CallbackList<void(void)>::Subscription> a_subscription = in TEST() [all …]
|
/external/libchrome/base/ |
D | callback_list_unittest.cc | 41 scoped_ptr<CallbackList<void(void)>::Subscription> sub) { in SetSubscriptionToRemove() 49 scoped_ptr<CallbackList<void(void)>::Subscription> removal_subscription_; 77 scoped_ptr<CallbackList<void(void)>::Subscription> subscription_; 121 scoped_ptr<CallbackList<void(int)>::Subscription> subscription1 = in TEST() 128 scoped_ptr<CallbackList<void(int, int)>::Subscription> subscription2 = in TEST() 135 scoped_ptr<CallbackList<void(int, int, int)>::Subscription> in TEST() 142 scoped_ptr<CallbackList<void(int, int, int, int)>::Subscription> in TEST() 149 scoped_ptr<CallbackList<void(int, int, int, int, int)>::Subscription> in TEST() 156 scoped_ptr<CallbackList<void(int, int, int, int, int, int)>::Subscription> in TEST() 169 scoped_ptr<CallbackList<void(void)>::Subscription> a_subscription = in TEST() [all …]
|
/external/libchrome/crypto/ |
D | scoped_nss_types.h | 32 typedef scoped_ptr<PK11Context, 35 typedef scoped_ptr<PK11SlotInfo, NSSDestroyer<PK11SlotInfo, PK11_FreeSlot> > 37 typedef scoped_ptr<PK11SlotList, NSSDestroyer<PK11SlotList, PK11_FreeSlotList> > 39 typedef scoped_ptr<PK11SymKey, NSSDestroyer<PK11SymKey, PK11_FreeSymKey> > 41 typedef scoped_ptr<SECKEYPublicKey, 44 typedef scoped_ptr<SECKEYPrivateKey, 47 typedef scoped_ptr<SECAlgorithmID, 51 typedef scoped_ptr<SECItem, NSSDestroyer1<SECItem, SECITEM_FreeItem, PR_TRUE> > 53 typedef scoped_ptr<PLArenaPool,
|
D | rsa_private_key_unittest.cc | 74 scoped_ptr<crypto::RSAPrivateKey> keypair1( in TEST() 76 scoped_ptr<crypto::RSAPrivateKey> keypair2( in TEST() 91 scoped_ptr<crypto::RSAPrivateKey> keypair3( in TEST() 93 scoped_ptr<crypto::RSAPrivateKey> keypair4( in TEST() 116 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 119 scoped_ptr<crypto::RSAPrivateKey> key_copy(key->Copy()); in TEST() 134 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 161 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 190 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 337 scoped_ptr<crypto::RSAPrivateKey> keypair1( in TEST() [all …]
|
/external/webrtc/webrtc/p2p/base/ |
D | transportdescriptionfactory_unittest.cc | 21 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/ |
D | scoped_ptr.hpp | 23 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/libchrome/base/metrics/ |
D | sparse_histogram_unittest.cc | 39 scoped_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) { in NewSparseHistogram() 40 return scoped_ptr<SparseHistogram>(new SparseHistogram(name)); in NewSparseHistogram() 47 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F() 48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F() 53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F() 59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F() 66 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); in TEST_F() 67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F() 72 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F() 78 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_sender.h | 166 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 …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_quality_test.h | 61 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/libchrome/base/debug/ |
D | leak_tracker_unittest.cc | 32 scoped_ptr<ClassA> a1(new ClassA); in TEST() 33 scoped_ptr<ClassB> b1(new ClassB); in TEST() 34 scoped_ptr<ClassB> b2(new ClassB); in TEST() 55 scoped_ptr<ClassA> a2(new ClassA); in TEST() 75 scoped_ptr<ClassA> a1(new ClassA); in TEST() 76 scoped_ptr<ClassA> a2(new ClassA); in TEST() 77 scoped_ptr<ClassA> a3(new ClassA); in TEST() 78 scoped_ptr<ClassA> a4(new ClassA); in TEST() 91 scoped_ptr<ClassA> a5(new ClassA); in TEST()
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_file_processor.h | 87 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/ceres-solver/internal/ceres/ |
D | numeric_diff_cost_function_test.cc | 49 internal::scoped_ptr<CostFunction> cost_function; in TEST() 62 internal::scoped_ptr<CostFunction> cost_function; in TEST() 75 internal::scoped_ptr<CostFunction> cost_function; in TEST() 88 internal::scoped_ptr<CostFunction> cost_function; in TEST() 101 internal::scoped_ptr<CostFunction> cost_function; in TEST() 114 internal::scoped_ptr<CostFunction> cost_function; in TEST() 127 internal::scoped_ptr<CostFunction> cost_function; in TEST() 140 internal::scoped_ptr<CostFunction> cost_function; in TEST() 169 scoped_ptr<CostFunction> cost_function; in TEST() 188 internal::scoped_ptr<CostFunction> cost_function; in TEST()
|
/external/libchrome/base/trace_event/ |
D | trace_buffer.cc | 33 scoped_ptr<TraceBufferChunk> GetChunk(size_t* index) override { in GetChunk() 52 return scoped_ptr<TraceBufferChunk>(chunk); in GetChunk() 55 void ReturnChunk(size_t index, scoped_ptr<TraceBufferChunk> chunk) override { in ReturnChunk() 102 scoped_ptr<TraceBuffer> CloneForIteration() const override { in CloneForIteration() 103 scoped_ptr<ClonedTraceBuffer> cloned_buffer(new ClonedTraceBuffer()); in CloneForIteration() 139 scoped_ptr<TraceBufferChunk> GetChunk(size_t* /* index */) override { in GetChunk() 141 return scoped_ptr<TraceBufferChunk>(); in GetChunk() 143 void ReturnChunk(size_t /*index*/, scoped_ptr<TraceBufferChunk>) override { in ReturnChunk() 152 scoped_ptr<TraceBuffer> CloneForIteration() const override { in CloneForIteration() 154 return scoped_ptr<TraceBuffer>(); in CloneForIteration() [all …]
|
/external/webrtc/webrtc/common_audio/resampler/include/ |
D | push_resampler.h | 39 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/webrtc/webrtc/call/ |
D | congestion_controller.h | 71 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_;
|