Home
last modified time | relevance | path

Searched refs:GetWeakPtr (Results 1 – 25 of 81) sorted by relevance

1234

/external/libchrome/base/memory/
Dweak_ptr_unittest.cc217 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
224 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
232 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
233 WeakPtr<int> ptr2 = factory.GetWeakPtr(); in TEST()
245 ptr = factory.GetWeakPtr(); in TEST()
255 a = factory.GetWeakPtr(); in TEST()
256 b = factory.GetWeakPtr(); in TEST()
269 a = factory.GetWeakPtr(); in TEST()
271 WeakPtr<int> b = factory.GetWeakPtr(); in TEST()
282 WeakPtr<Base> ptr = factory.GetWeakPtr(); in TEST()
[all …]
/external/libbrillo/brillo/streams/
Dstream.cc59 weak_ptr_factory_.GetWeakPtr(), buffer, in ReadAllAsync()
132 weak_ptr_factory_.GetWeakPtr(), buffer, in WriteAllAsync()
181 weak_ptr_factory_.GetWeakPtr(), in FlushAsync()
216 base::Bind(&Stream::OnReadAsyncDone, weak_ptr_factory_.GetWeakPtr(), in ReadAsyncImpl()
227 base::Bind(&Stream::OnReadAvailable, weak_ptr_factory_.GetWeakPtr(), in ReadAsyncImpl()
280 base::Bind(&Stream::OnWriteAsyncDone, weak_ptr_factory_.GetWeakPtr(), in WriteAsyncImpl()
290 base::Bind(&Stream::OnWriteAvailable, weak_ptr_factory_.GetWeakPtr(), in WriteAsyncImpl()
338 weak_ptr_factory_.GetWeakPtr(), buffer, in ReadAllAsyncCallback()
365 weak_ptr_factory_.GetWeakPtr(), buffer, in WriteAllAsyncCallback()
/external/perfetto/src/ipc/
Dclient_impl_unittest.cc228 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
277 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
306 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
346 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
392 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
447 cli_->BindService(proxy[i]->GetWeakPtr()); in TEST_F()
460 cli_->BindService(proxy2->GetWeakPtr()); in TEST_F()
461 cli_->BindService(proxy1->GetWeakPtr()); in TEST_F()
484 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
495 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
[all …]
Dservice_proxy.cc66 request, drop_reply, weak_ptr_factory_.GetWeakPtr(), in BeginInvoke()
112 base::WeakPtr<ServiceProxy> ServiceProxy::GetWeakPtr() const { in GetWeakPtr() function in perfetto::ipc::ServiceProxy
113 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.cc180 weak_this = weak_ptr_factory_.GetWeakPtr(); in UpdateCommitDataRequest()
269 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in FlushPendingCommitDataRequests()
306 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in CreateTraceWriter()
319 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in BindStartupTraceWriterRegistry()
376 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in NotifyFlushComplete()
385 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ReleaseWriterID()
Dtracing_service_impl.cc495 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in EnableTracing()
680 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in StartTracing()
706 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in StartTracing()
830 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in DisableTracing()
943 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ActivateTriggers()
1091 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Flush()
1111 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in NotifyFlushDoneForProducer()
1281 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in FlushAndDisableTracing()
1310 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in PeriodicFlushTask()
1338 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in PeriodicClearIncrementalStateTask()
[all …]
Dstartup_trace_writer_registry.cc118 auto weak_this = weak_ptr_factory_->GetWeakPtr(); in TryBindWriters()
139 auto weak_this = weak_ptr_factory_->GetWeakPtr(); in OnUnboundWritersRemovedLocked()
/external/libchrome/base/task/sequence_manager/test/
Dtest_task_queue.cc18 WeakPtr<TestTaskQueue> TestTaskQueue::GetWeakPtr() { in GetWeakPtr() function in base::sequence_manager::TestTaskQueue
19 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc93 weak_factory_.GetWeakPtr())); in Reset()
102 weak_factory_.GetWeakPtr())); in Reset()
127 base::WeakPtr<SimpleAlarmTimer> weak_ptr = weak_factory_.GetWeakPtr(); in OnTimerFired()
/external/libchrome/mojo/public/cpp/bindings/
Dinterface_ptr_set.h37 std::forward_as_tuple(weak_interface_ptr->GetWeakPtr())); in AddPtr()
110 base::WeakPtr<Element> GetWeakPtr() { in GetWeakPtr() function
111 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
/external/perfetto/src/perfetto_cmd/
Dtrigger_producer.cc43 auto weak_this = weak_factory_.GetWeakPtr(); in TriggerProducer()
60 auto weak_this = weak_factory_.GetWeakPtr(); in OnConnect()
/external/perfetto/src/base/
Dweak_ptr_unittest.cc33 WeakPtr<WeakClass> weak_ptr1 = owned_instance->weak_factory.GetWeakPtr(); in TEST()
35 weak_ptr2 = owned_instance->weak_factory.GetWeakPtr(); in TEST()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsequence_local_sync_event_watcher.cc79 return state_ptr->weak_ptr_factory_.GetWeakPtr(); in GetOrCreate()
160 auto weak_self = weak_ptr_factory_.GetWeakPtr(); in SyncWatch()
212 auto weak_self = weak_ptr_factory_.GetWeakPtr(); in OnEventSignaled()
/external/libchrome/dbus/
Dobject_manager.cc48 weak_ptr_factory_.GetWeakPtr())); in ObjectManager()
147 weak_ptr_factory_.GetWeakPtr())); in GetManagedObjects()
228 weak_ptr_factory_.GetWeakPtr()), in OnSetupMatchRuleAndFilterComplete()
230 weak_ptr_factory_.GetWeakPtr())); in OnSetupMatchRuleAndFilterComplete()
236 weak_ptr_factory_.GetWeakPtr()), in OnSetupMatchRuleAndFilterComplete()
238 weak_ptr_factory_.GetWeakPtr())); in OnSetupMatchRuleAndFilterComplete()
/external/perfetto/src/traced/probes/filesystem/
Dinode_file_data_source.cc245 auto weak_this = GetWeakPtr(); in OnInodes()
349 auto weak_this = GetWeakPtr(); in OnInodeScanDone()
388 auto weak_this = GetWeakPtr(); in FindMissingInodes()
411 base::WeakPtr<InodeFileDataSource> InodeFileDataSource::GetWeakPtr() const { in GetWeakPtr() function in perfetto::InodeFileDataSource
412 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
/external/perfetto/src/tracing/ipc/consumer/
Dconsumer_ipc_client_impl.cc51 ipc_channel_->BindService(consumer_port_.GetWeakPtr()); in ConsumerIPCClientImpl()
78 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in EnableTracing()
223 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Detach()
243 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Attach()
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc198 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect()
276 auto weak_producer = weak_factory_.GetWeakPtr(); in ScheduleActiveDataSourceWatchdog()
298 auto weak_producer = weak_factory_.GetWeakPtr(); in ActiveDataSourceWatchdogCheck()
459 auto weak_producer = weak_factory_.GetWeakPtr(); in StartDataSource()
499 auto weak_producer = weak_factory_.GetWeakPtr(); in DoContinuousDump()
577 auto weak_producer = weak_factory_.GetWeakPtr(); in Dump()
757 auto weak_this = weak_factory_.GetWeakPtr(); in PostAllocRecord()
768 auto weak_this = weak_factory_.GetWeakPtr(); in PostFreeRecord()
779 auto weak_this = weak_factory_.GetWeakPtr(); in PostSocketDisconnected()
/external/libchrome/base/
Dbind_unittest.cc473 weak_factory.GetWeakPtr()); in TEST_F()
478 weak_factory.GetWeakPtr()); in TEST_F()
509 weak_factory.GetWeakPtr()); in TEST_F()
512 weak_factory.GetWeakPtr()); in TEST_F()
600 BindRepeating(&NoRef::VoidMethod0, weak_factory.GetWeakPtr()); in TEST_F()
604 BindRepeating(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
608 BindRepeating(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
612 BindRepeating(&FunctionWithWeakFirstParam, weak_factory.GetWeakPtr()); in TEST_F()
631 BindOnce(&NoRef::VoidMethod0, weak_factory.GetWeakPtr()); in TEST_F()
633 BindOnce(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
[all …]
Dcancelable_callback.h108 *out = BindRepeating(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
115 *out = BindOnce(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
/external/libchrome/base/task/sequence_manager/
Dthread_controller_impl.cc30 BindRepeating(&ThreadControllerImpl::DoWork, weak_factory_.GetWeakPtr(), in ThreadControllerImpl()
33 BindRepeating(&ThreadControllerImpl::DoWork, weak_factory_.GetWeakPtr(), in ThreadControllerImpl()
158 WeakPtr<ThreadControllerImpl> weak_ptr = weak_factory_.GetWeakPtr(); in DoWork()
Dwork_queue_unittest.cc441 2, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
443 3, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
445 4, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
459 2, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
461 3, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
463 4, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.h84 base::WeakPtr<FtraceController> GetWeakPtr() { in GetWeakPtr() function
85 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
Dftrace_controller.cc143 thread_sync_.trace_controller_weak = GetWeakPtr(); in FtraceController()
259 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); in DrainCPUs()
298 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); in StartIfNeeded()
353 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); in Flush()
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.cc161 context_ = Context::Create(weak_factory_.GetWeakPtr(), task_runner_, in Watch()
245 base::Bind(&SimpleWatcher::OnHandleReady, weak_factory_.GetWeakPtr(), in ArmOrNotify()
272 base::WeakPtr<SimpleWatcher> weak_self = weak_factory_.GetWeakPtr(); in OnHandleReady()
/external/libchrome/ipc/
Dipc_channel_nacl.cc166 base::Bind(&ChannelNacl::DidRecvMsg, weak_ptr_factory_.GetWeakPtr()), in Connect()
167 base::Bind(&ChannelNacl::ReadDidFail, weak_ptr_factory_.GetWeakPtr()), in Connect()
178 weak_ptr_factory_.GetWeakPtr())); in Connect()

1234