Home
last modified time | relevance | path

Searched refs:scoped_refptr (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/external/libchrome/base/memory/
Dscoped_refptr.h19 class scoped_refptr; variable
29 scoped_refptr<T> AdoptRef(T* t);
62 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef()
70 return scoped_refptr<T>(obj, subtle::kAdoptRefTag); in AdoptRef()
76 scoped_refptr<T> AdoptRefIfNeeded(T* obj, StartRefCountFromZeroTag) { in AdoptRefIfNeeded()
77 return scoped_refptr<T>(obj); in AdoptRefIfNeeded()
81 scoped_refptr<T> AdoptRefIfNeeded(T* obj, StartRefCountFromOneTag) { in AdoptRefIfNeeded()
90 scoped_refptr<T> MakeRefCounted(Args&&... args) { in MakeRefCounted()
98 scoped_refptr<T> WrapRefCounted(T* t) { in WrapRefCounted()
99 return scoped_refptr<T>(t); in WrapRefCounted()
[all …]
Dref_counted_unittest.cc31 class CheckDerivedMemberAccess : public scoped_refptr<SelfAssign> {
48 scoped_refptr<ScopedRefPtrToSelf> self_ptr_;
138 scoped_refptr<Other> Overloaded(scoped_refptr<Other> other) { in Overloaded()
142 scoped_refptr<SelfAssign> Overloaded(scoped_refptr<SelfAssign> self_assign) { in Overloaded()
162 void set_scoped_refptr(scoped_refptr<CheckRefptrNull>* ptr) { ptr_ = ptr; } in set_scoped_refptr()
173 scoped_refptr<CheckRefptrNull>* ptr_ = nullptr;
180 scoped_refptr<SelfAssign> var(p); in TEST()
212 check->self_ptr_ = scoped_refptr<ScopedRefPtrToSelf>(); in TEST()
217 scoped_refptr<SelfAssign> ptr_to_an_instance = new SelfAssign; in TEST()
230 scoped_refptr<SelfAssign> null_ptr; in TEST()
[all …]
/external/v8/tools/clang/rewrite_scoped_refptr/tests/
Dscoped_refptr.h10 class scoped_refptr {
13 scoped_refptr() : ptr_(0) {} in scoped_refptr() function
14 scoped_refptr(T* p) : ptr_(p) {} in scoped_refptr() function
15 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {} in scoped_refptr() function
18 scoped_refptr(const scoped_refptr<U>& r) in scoped_refptr() function
21 ~scoped_refptr() {} in ~scoped_refptr()
27 scoped_refptr<T>& operator=(T* p) {
31 scoped_refptr<T>& operator=(const scoped_refptr<T>& r) {
35 scoped_refptr<T>& operator=(const scoped_refptr<U>& r) {
/external/webrtc/webrtc/base/
Dscoped_ref_ptr.h71 class scoped_refptr {
73 scoped_refptr() : ptr_(NULL) { in scoped_refptr() function
76 scoped_refptr(T* p) : ptr_(p) { in scoped_refptr() function
81 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { in scoped_refptr() function
87 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { in scoped_refptr() function
92 ~scoped_refptr() { in ~scoped_refptr()
112 scoped_refptr<T>& operator=(T* p) {
122 scoped_refptr<T>& operator=(const scoped_refptr<T>& r) {
127 scoped_refptr<T>& operator=(const scoped_refptr<U>& r) {
137 void swap(scoped_refptr<T>& r) { in swap()
/external/libchrome/ipc/
Dipc_sync_channel.h86 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
87 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner, in COMPONENT_EXPORT()
94 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
95 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner, in COMPONENT_EXPORT()
104 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
105 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner, in COMPONENT_EXPORT()
132 scoped_refptr<IPC::SyncMessageFilter> CreateSyncMessageFilter(); in COMPONENT_EXPORT()
145 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
146 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner, in COMPONENT_EXPORT()
212 scoped_refptr<ReceivedSyncMsgQueue> received_sync_msgs_; in COMPONENT_EXPORT()
[all …]
Dipc_channel_proxy.h99 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
100 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner); in COMPONENT_EXPORT()
105 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
106 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner); in COMPONENT_EXPORT()
111 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
112 const scoped_refptr<base::SingleThreadTaskRunner>& listener_task_runner); in COMPONENT_EXPORT()
219 scoped_refptr<mojo::ThreadSafeAssociatedInterfacePtr<Interface>>* in COMPONENT_EXPORT()
232 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner_refptr() in COMPONENT_EXPORT()
251 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
252 const scoped_refptr<base::SingleThreadTaskRunner>& in COMPONENT_EXPORT()
[all …]
Dipc_channel_mojo.h53 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
54 const scoped_refptr<base::SingleThreadTaskRunner>& proxy_task_runner); in COMPONENT_EXPORT()
61 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
62 const scoped_refptr<base::SingleThreadTaskRunner>& proxy_task_runner); in COMPONENT_EXPORT()
66 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
67 const scoped_refptr<base::SingleThreadTaskRunner>& proxy_task_runner); in COMPONENT_EXPORT()
103 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner, in COMPONENT_EXPORT()
104 const scoped_refptr<base::SingleThreadTaskRunner>& proxy_task_runner); in COMPONENT_EXPORT()
124 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; in COMPONENT_EXPORT()
Dipc_message_attachment_set.cc21 const std::vector<scoped_refptr<MessageAttachment>>& attachments, in count_attachments_of_type()
24 for (const scoped_refptr<MessageAttachment>& attachment : attachments) { in count_attachments_of_type()
63 scoped_refptr<MessageAttachment> attachment, in AddAttachment()
87 scoped_refptr<MessageAttachment> attachment) { in AddAttachment()
92 scoped_refptr<MessageAttachment> MessageAttachmentSet::GetAttachmentAt( in GetAttachmentAt()
96 return scoped_refptr<MessageAttachment>(); in GetAttachmentAt()
120 return scoped_refptr<MessageAttachment>(); in GetAttachmentAt()
/external/v4l2_codec2/vda/
Dh264_decoder.h45 virtual scoped_refptr<H264Picture> CreateH264Picture() = 0;
62 const scoped_refptr<H264Picture>& pic) = 0;
77 const scoped_refptr<H264Picture>& pic,
85 virtual bool SubmitDecode(const scoped_refptr<H264Picture>& pic) = 0;
93 virtual bool OutputPicture(const scoped_refptr<H264Picture>& pic) = 0;
152 bool InitNonexistingPicture(scoped_refptr<H264Picture> pic, int frame_num);
156 bool CalculatePicOrderCounts(scoped_refptr<H264Picture> pic);
177 int PicNumF(const scoped_refptr<H264Picture>& pic);
178 int LongTermPicNumF(const scoped_refptr<H264Picture>& pic);
191 bool HandleMemoryManagementOps(scoped_refptr<H264Picture> pic);
[all …]
Dvp8_decoder.h43 virtual scoped_refptr<VP8Picture> CreateVP8Picture() = 0;
50 virtual bool SubmitDecode(const scoped_refptr<VP8Picture>& pic,
52 const scoped_refptr<VP8Picture>& last_frame,
53 const scoped_refptr<VP8Picture>& golden_frame,
54 const scoped_refptr<VP8Picture>& alt_frame) = 0;
62 virtual bool OutputPicture(const scoped_refptr<VP8Picture>& pic) = 0;
95 scoped_refptr<VP8Picture> curr_pic_;
96 scoped_refptr<VP8Picture> last_frame_;
97 scoped_refptr<VP8Picture> golden_frame_;
98 scoped_refptr<VP8Picture> alt_frame_;
Dvp9_decoder.h49 virtual scoped_refptr<VP9Picture> CreateVP9Picture() = 0;
64 const scoped_refptr<VP9Picture>& pic,
67 const std::vector<scoped_refptr<VP9Picture>>& ref_pictures,
80 virtual bool OutputPicture(const scoped_refptr<VP9Picture>& pic) = 0;
89 virtual bool GetFrameContext(const scoped_refptr<VP9Picture>& pic,
109 void RefreshReferenceFrames(const scoped_refptr<VP9Picture>& pic);
113 bool DecodeAndOutputPicture(scoped_refptr<VP9Picture> pic);
118 const scoped_refptr<VP9Picture>& pic,
139 std::vector<scoped_refptr<VP9Picture>> ref_frames_;
/external/libchrome/mojo/public/cpp/base/
Dref_counted_memory_mojom_traits.cc13 scoped_refptr<base::RefCountedMemory>>::
14 data(const scoped_refptr<base::RefCountedMemory>& in) { in data()
20 scoped_refptr<base::RefCountedMemory>>::
21 IsNull(const scoped_refptr<base::RefCountedMemory>& input) { in IsNull()
27 scoped_refptr<base::RefCountedMemory>>::
28 SetToNull(scoped_refptr<base::RefCountedMemory>* out) { in SetToNull()
29 *out = scoped_refptr<base::RefCountedMemory>(); in SetToNull()
34 scoped_refptr<base::RefCountedMemory>>::
36 scoped_refptr<base::RefCountedMemory>* out) { in Read()
/external/webrtc/talk/app/webrtc/
Dpeerconnectionfactory.cc59 const rtc::scoped_refptr<RefCountedDtlsIdentityStore>& store) in DtlsIdentityStoreWrapper()
66 const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& in RequestIdentity()
72 rtc::scoped_refptr<RefCountedDtlsIdentityStore> store_;
77 rtc::scoped_refptr<PeerConnectionFactoryInterface>
79 rtc::scoped_refptr<PeerConnectionFactory> pc_factory( in CreatePeerConnectionFactory()
97 rtc::scoped_refptr<PeerConnectionFactoryInterface>
104 rtc::scoped_refptr<PeerConnectionFactory> pc_factory( in CreatePeerConnectionFactory()
209 rtc::scoped_refptr<AudioSourceInterface>
213 rtc::scoped_refptr<LocalAudioSource> source( in CreateAudioSource()
218 rtc::scoped_refptr<VideoSourceInterface>
[all …]
Dpeerconnectioninterface.h260 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates;
317 virtual rtc::scoped_refptr<StreamCollectionInterface>
321 virtual rtc::scoped_refptr<StreamCollectionInterface>
336 virtual rtc::scoped_refptr<DtmfSenderInterface> CreateDtmfSender(
343 virtual rtc::scoped_refptr<RtpSenderInterface> CreateSender( in CreateSender()
346 return rtc::scoped_refptr<RtpSenderInterface>(); in CreateSender()
349 virtual std::vector<rtc::scoped_refptr<RtpSenderInterface>> GetSenders() in GetSenders()
351 return std::vector<rtc::scoped_refptr<RtpSenderInterface>>(); in GetSenders()
354 virtual std::vector<rtc::scoped_refptr<RtpReceiverInterface>> GetReceivers() in GetReceivers()
356 return std::vector<rtc::scoped_refptr<RtpReceiverInterface>>(); in GetReceivers()
[all …]
Drtpsenderreceiver_unittest.cc100 static rtc::scoped_refptr<FakeVideoSource> Create(bool remote) { in Create()
131 rtc::scoped_refptr<VideoSourceInterface> source( in AddVideoTrack()
201 rtc::scoped_refptr<AudioRtpSender> audio_rtp_sender_;
202 rtc::scoped_refptr<VideoRtpSender> video_rtp_sender_;
203 rtc::scoped_refptr<AudioRtpReceiver> audio_rtp_receiver_;
204 rtc::scoped_refptr<VideoRtpReceiver> video_rtp_receiver_;
205 rtc::scoped_refptr<MediaStreamInterface> stream_;
206 rtc::scoped_refptr<VideoTrackInterface> video_track_;
207 rtc::scoped_refptr<AudioTrackInterface> audio_track_;
308 rtc::scoped_refptr<AudioRtpSender> sender = in TEST_F()
[all …]
Dpeerconnection.h81 rtc::scoped_refptr<StreamCollectionInterface> local_streams() override;
82 rtc::scoped_refptr<StreamCollectionInterface> remote_streams() override;
88 rtc::scoped_refptr<DtmfSenderInterface> CreateDtmfSender(
91 rtc::scoped_refptr<RtpSenderInterface> CreateSender(
95 std::vector<rtc::scoped_refptr<RtpSenderInterface>> GetSenders()
97 std::vector<rtc::scoped_refptr<RtpReceiverInterface>> GetReceivers()
100 rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
137 virtual const std::vector<rtc::scoped_refptr<DataChannel>>&
305 rtc::scoped_refptr<DataChannel> InternalCreateDataChannel(
327 std::vector<rtc::scoped_refptr<RtpSenderInterface>>::iterator
[all …]
Dpeerconnectionendtoend_unittest.cc62 typedef std::vector<rtc::scoped_refptr<DataChannelInterface> >
170 rtc::scoped_refptr<PeerConnectionTestWrapper> caller_;
171 rtc::scoped_refptr<PeerConnectionTestWrapper> callee_;
207 rtc::scoped_refptr<DataChannelInterface> caller_dc( in TEST_F()
209 rtc::scoped_refptr<DataChannelInterface> callee_dc( in TEST_F()
242 rtc::scoped_refptr<DataChannelInterface> dummy( in TEST_F()
248 rtc::scoped_refptr<DataChannelInterface> caller_dc( in TEST_F()
250 rtc::scoped_refptr<DataChannelInterface> callee_dc( in TEST_F()
270 rtc::scoped_refptr<DataChannelInterface> caller_dc_1( in TEST_F()
272 rtc::scoped_refptr<DataChannelInterface> callee_dc_1( in TEST_F()
[all …]
Dpeerconnectionfactoryproxy.h44 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( in PROXY_METHOD1()
50 return owner_thread_->Invoke<rtc::scoped_refptr<PeerConnectionInterface>>( in PROXY_METHOD1()
54 PROXY_METHOD1(rtc::scoped_refptr<MediaStreamInterface>, in PROXY_METHOD1()
56 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, in PROXY_METHOD1()
58 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, in PROXY_METHOD1()
61 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, in PROXY_METHOD1()
63 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, in PROXY_METHOD1()
71 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( in PROXY_METHOD1()
Dpeerconnectionproxy.h38 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>,
40 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>,
44 PROXY_METHOD1(rtc::scoped_refptr<DtmfSenderInterface>,
46 PROXY_METHOD2(rtc::scoped_refptr<RtpSenderInterface>,
50 PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<RtpSenderInterface>>,
52 PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<RtpReceiverInterface>>,
57 PROXY_METHOD2(rtc::scoped_refptr<DataChannelInterface>,
Dpeerconnectionfactory.h58 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection(
67 rtc::scoped_refptr<MediaStreamInterface>
70 rtc::scoped_refptr<AudioSourceInterface> CreateAudioSource(
73 rtc::scoped_refptr<VideoSourceInterface> CreateVideoSource(
77 rtc::scoped_refptr<VideoTrackInterface>
81 rtc::scoped_refptr<AudioTrackInterface>
114 rtc::scoped_refptr<AudioDeviceModule> default_adm_;
127 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbind_task_runner_unittest.cc125 scoped_refptr<base::SingleThreadTaskRunner> runner) in IntegerSenderImpl()
156 scoped_refptr<base::SingleThreadTaskRunner> runner, in IntegerSenderConnectionImpl()
157 scoped_refptr<base::SingleThreadTaskRunner> sender_runner) in IntegerSenderConnectionImpl()
182 scoped_refptr<base::SingleThreadTaskRunner> sender_runner_;
189 binding_task_runner_ = scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
190 ptr_task_runner_ = scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
197 scoped_refptr<TestTaskRunner> binding_task_runner_;
198 scoped_refptr<TestTaskRunner> ptr_task_runner_;
210 scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
212 scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
[all …]
/external/libchrome/base/metrics/
Dfield_trial_unittest.cc35 scoped_refptr<FieldTrial> CreateFieldTrial( in CreateFieldTrial()
116 scoped_refptr<FieldTrial> trial1 = in TEST_F()
127 scoped_refptr<FieldTrial> trial2 = in TEST_F()
153 scoped_refptr<FieldTrial> trial_true = in TEST_F()
161 scoped_refptr<FieldTrial> trial_false = in TEST_F()
173 scoped_refptr<FieldTrial> trial; in TEST_F()
202 scoped_refptr<FieldTrial> trial = in TEST_F()
227 scoped_refptr<FieldTrial> trial = in TEST_F()
251 scoped_refptr<FieldTrial> trial = in TEST_F()
298 scoped_refptr<FieldTrial> trial = in TEST_F()
[all …]
/external/libchrome/mojo/core/
Dshared_buffer_dispatcher_unittest.cc112 scoped_refptr<SharedBufferDispatcher> dispatcher; in TEST_F()
147 scoped_refptr<SharedBufferDispatcher> dispatcher; in TEST_F()
181 scoped_refptr<SharedBufferDispatcher> dispatcher1; in TEST_F()
193 scoped_refptr<Dispatcher> dispatcher2; in TEST_F()
209 scoped_refptr<SharedBufferDispatcher> dispatcher1; in TEST_F()
214 scoped_refptr<SharedBufferDispatcher> dispatcher2; in TEST_F()
226 scoped_refptr<Dispatcher> writable_duped_dispatcher1; in TEST_F()
227 scoped_refptr<Dispatcher> read_only_duped_dispatcher1; in TEST_F()
243 scoped_refptr<Dispatcher> read_only_duped_dispatcher2; in TEST_F()
244 scoped_refptr<Dispatcher> writable_duped_dispatcher2; in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dscoped_interface_endpoint_handle.cc25 scoped_refptr<AssociatedGroupController> group_controller) in State()
28 void InitPendingState(scoped_refptr<State> peer) { in InitPendingState()
38 scoped_refptr<AssociatedGroupController> cached_group_controller; in Close()
40 scoped_refptr<State> cached_peer_state; in Close()
125 scoped_refptr<AssociatedGroupController> peer_group_controller) { in NotifyAssociation()
126 scoped_refptr<State> cached_peer_state; in NotifyAssociation()
177 scoped_refptr<AssociatedGroupController> group_controller) { in OnAssociated()
249 scoped_refptr<base::SequencedTaskRunner> posted_to_runner, in RunAssociationEventHandler()
272 scoped_refptr<State> peer_state_;
275 scoped_refptr<base::SequencedTaskRunner> runner_;
[all …]
/external/libchrome/base/timer/
Dmock_timer.h30 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) override;
33 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
49 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) override;
52 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
68 void SetTaskRunner(scoped_refptr<SequencedTaskRunner> task_runner) override;
71 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;

12345678910>>...21