Home
last modified time | relevance | path

Searched refs:weak_ptr_factory_ (Results 1 – 25 of 61) sorted by relevance

123

/external/libchrome/base/
Dcancelable_callback.h64 CancelableCallbackImpl() : weak_ptr_factory_(this) {} in CancelableCallbackImpl()
68 : callback_(std::move(callback)), weak_ptr_factory_(this) { in CancelableCallbackImpl()
76 weak_ptr_factory_.InvalidateWeakPtrs(); in Cancel()
108 *out = BindRepeating(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
115 *out = BindOnce(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
125 weak_ptr_factory_.InvalidateWeakPtrs(); in ForwardOnce()
131 mutable base::WeakPtrFactory<CancelableCallbackImpl> weak_ptr_factory_; variable
/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()
217 weak_ptr_factory_.GetWeakPtr(), in ReadAsyncImpl()
228 base::Bind(&Stream::OnReadAvailable, weak_ptr_factory_.GetWeakPtr(), in ReadAsyncImpl()
282 weak_ptr_factory_.GetWeakPtr(), in WriteAsyncImpl()
292 base::Bind(&Stream::OnWriteAvailable, weak_ptr_factory_.GetWeakPtr(), in WriteAsyncImpl()
340 weak_ptr_factory_.GetWeakPtr(), buffer, in ReadAllAsyncCallback()
367 weak_ptr_factory_.GetWeakPtr(), buffer, in WriteAllAsyncCallback()
389 weak_ptr_factory_.InvalidateWeakPtrs(); in CancelPendingAsyncOperations()
Dtls_stream.cc131 base::WeakPtrFactory<TlsStreamImpl> weak_ptr_factory_{this}; member in brillo::TlsStream::TlsStreamImpl
287 weak_ptr_factory_.InvalidateWeakPtrs(); in CancelPendingAsyncOperations()
397 weak_ptr_factory_.GetWeakPtr(), in Init()
431 weak_ptr_factory_.GetWeakPtr(), in DoHandshake()
441 weak_ptr_factory_.GetWeakPtr(), in DoHandshake()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsequence_local_sync_event_watcher.cc64 weak_ptr_factory_(this) { in SequenceLocalState()
79 return state_ptr->weak_ptr_factory_.GetWeakPtr(); in GetOrCreate()
160 auto weak_self = weak_ptr_factory_.GetWeakPtr(); in SyncWatch()
197 base::WeakPtrFactory<SequenceLocalState> weak_ptr_factory_; member in mojo::SequenceLocalSyncEventWatcher::SequenceLocalState
212 auto weak_self = weak_ptr_factory_.GetWeakPtr(); in OnEventSignaled()
Dbinding_state.cc12 BindingStateBase::BindingStateBase() : weak_ptr_factory_(this) {} in BindingStateBase()
65 mojo::GetBadMessageCallback(), weak_ptr_factory_.GetWeakPtr()); in GetBadMessageCallback()
Dinterface_endpoint_client.cc153 weak_ptr_factory_(this) { in InterfaceEndpointClient()
284 weak_ptr_factory_.GetWeakPtr(); in AcceptWithResponder()
368 weak_ptr_factory_.GetWeakPtr(), in OnAssociationEvent()
388 std::make_unique<ResponderThunk>(weak_ptr_factory_.GetWeakPtr(), in HandleValidatedMessage()
/external/perfetto/src/tracing/internal/
Dtracing_backend_fake.cc37 auto weak_ptr = weak_ptr_factory_.GetWeakPtr(); in UnsupportedProducerEndpoint()
79 base::WeakPtrFactory<UnsupportedProducerEndpoint> weak_ptr_factory_{ member in perfetto::internal::__anon8419e1c30111::UnsupportedProducerEndpoint
89 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in UnsupportedConsumerEndpoint()
124 base::WeakPtrFactory<UnsupportedConsumerEndpoint> weak_ptr_factory_{ member in perfetto::internal::__anon8419e1c30111::UnsupportedConsumerEndpoint
/external/perfetto/src/ipc/
Dservice_proxy.cc32 : event_listener_(event_listener), weak_ptr_factory_(this) {} in ServiceProxy()
67 request, drop_reply, weak_ptr_factory_.GetWeakPtr(), in BeginInvoke()
114 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
Dclient_impl.cc56 weak_ptr_factory_(this) { in ClientImpl()
161 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in OnConnect()
284 service_proxy->InitializeBinding(weak_ptr_factory_.GetWeakPtr(), in OnBindServiceReply()
/external/perfetto/src/traced/probes/
Dkmem_activity_trigger.cc62 : task_runner_(task_runner), weak_ptr_factory_(this) { in WorkerData()
108 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ArmFtraceFDWatches()
156 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in OnFtracePipeWakeup()
Dkmem_activity_trigger.h57 base::WeakPtrFactory<WorkerData> weak_ptr_factory_; variable
/external/perfetto/src/base/
Dperiodic_task.cc64 : task_runner_(task_runner), weak_ptr_factory_(this) {} in PeriodicTask()
82 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Start()
105 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in PostNextTask()
/external/libchrome/mojo/public/cpp/bindings/
Dinterface_ptr_set.h92 : ptr_(std::move(ptr)), weak_ptr_factory_(this) { in Element()
111 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
120 base::WeakPtrFactory<Element> weak_ptr_factory_; variable
Dbinding_set.h74 BindingSetBase() : weak_ptr_factory_(this) {}
190 mojo::GetBadMessageCallback(), weak_ptr_factory_.GetWeakPtr(),
315 base::WeakPtrFactory<BindingSetBase> weak_ptr_factory_;
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.cc90 weak_ptr_factory_(this) {} in SharedMemoryArbiterImpl()
265 weak_this = weak_ptr_factory_.GetWeakPtr(); in UpdateCommitDataRequest()
361 weak_this = weak_ptr_factory_.GetWeakPtr(); in UpdateCommitDataRequest()
508 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in FlushPendingCommitDataRequests()
606 weak_ptr_factory_.Reset(this); in BindToProducerEndpoint()
661 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in AbortStartupTracingForReservation()
778 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in NotifyFlushComplete()
831 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in CreateTraceWriterInternal()
867 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ReleaseWriterID()
Dmetatrace_writer.cc32 MetatraceWriter::MetatraceWriter() : weak_ptr_factory_(this) {} in MetatraceWriter()
48 auto weak_ptr = weak_ptr_factory_.GetWeakPtr(); in Enable()
Dtracing_service_impl.cc326 weak_ptr_factory_(this) { in TracingServiceImpl()
381 auto weak_ptr = endpoint->weak_ptr_factory_.GetWeakPtr(); in ConnectProducer()
461 auto weak_ptr = endpoint->weak_ptr_factory_.GetWeakPtr(); in ConnectConsumer()
875 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in EnableTracing()
1045 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in StartTracing()
1262 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in DisableTracing()
1449 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ActivateTriggers()
1622 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Flush()
1642 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in NotifyFlushDoneForProducer()
1817 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in FlushAndDisableTracing()
[all …]
Dshared_memory_arbiter_impl.h166 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
294 base::WeakPtrFactory<SharedMemoryArbiterImpl> weak_ptr_factory_; variable
/external/libchrome/dbus/
Dobject_manager.cc39 weak_ptr_factory_(this) { in ObjectManager()
48 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/libchrome/base/memory/
Dmemory_pressure_monitor_chromeos.cc119 weak_ptr_factory_(this) { in MemoryPressureMonitor()
133 weak_ptr_factory_.GetWeakPtr())); in ScheduleEarlyCheck()
152 weak_ptr_factory_.GetWeakPtr())); in StartObserving()
/external/libchrome/components/policy/core/common/
Dpolicy_scheduler.cc34 &PolicyScheduler::RunScheduledTask, weak_ptr_factory_.GetWeakPtr())); in ScheduleDelayedTask()
61 weak_ptr_factory_.GetWeakPtr())); in RunScheduledTask()
/external/libbrillo/brillo/dbus/
Dexported_property_set.cc21 : bus_(bus), weak_ptr_factory_(this) { in ExportedPropertySet()
34 weak_ptr_factory_.GetWeakPtr(), in GetPropertyWriter()
50 weak_ptr_factory_.GetWeakPtr(), in RegisterProperty()
/external/webrtc/modules/video_coding/utility/
Dquality_scaler.cc96 weak_ptr_factory_(this) {} in CheckQpTask()
102 ToQueuedTask([this_weak_ptr = weak_ptr_factory_.GetWeakPtr(), this] { in StartDelayedTask()
215 rtc::WeakPtrFactory<CheckQpTask> weak_ptr_factory_; member in webrtc::QualityScaler::CheckQpTask
248 return new CheckQpTaskHandlerCallback(weak_ptr_factory_.GetWeakPtr()); in ConstructCallback()
/external/perfetto/src/tracing/ipc/consumer/
Dconsumer_ipc_client_impl.cc53 weak_ptr_factory_(this) {
89 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in EnableTracing()
248 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Detach()
268 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Attach()
366 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in QueryServiceState()
/external/perfetto/src/tracing/ipc/service/
Dconsumer_ipc_service.cc38 : core_service_(core_service), weak_ptr_factory_(this) {} in ConsumerIPCService()
127 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Flush()
193 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in QueryServiceState()
291 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in QueryCapabilities()
317 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in SaveTraceForBugreport()

123