Home
last modified time | relevance | path

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

12

/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()
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()
387 weak_ptr_factory_.InvalidateWeakPtrs(); in CancelPendingAsyncOperations()
Dtls_stream.cc125 base::WeakPtrFactory<TlsStreamImpl> weak_ptr_factory_{this}; member in brillo::TlsStream::TlsStreamImpl
281 weak_ptr_factory_.InvalidateWeakPtrs(); in CancelPendingAsyncOperations()
391 weak_ptr_factory_.GetWeakPtr(), in Init()
425 weak_ptr_factory_.GetWeakPtr(), in DoHandshake()
435 weak_ptr_factory_.GetWeakPtr(), in DoHandshake()
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.cc60 weak_ptr_factory_(this) {} in SharedMemoryArbiterImpl()
180 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()
Dstartup_trace_writer_registry.cc88 weak_ptr_factory_.reset( in BindToArbiter()
118 auto weak_this = weak_ptr_factory_->GetWeakPtr(); in TryBindWriters()
138 PERFETTO_DCHECK(weak_ptr_factory_); in OnUnboundWritersRemovedLocked()
139 auto weak_this = weak_ptr_factory_->GetWeakPtr(); in OnUnboundWritersRemovedLocked()
Dtracing_service_impl.cc134 weak_ptr_factory_(this) { in TracingServiceImpl()
495 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()
[all …]
Dtracing_service_impl.h158 base::WeakPtrFactory<ProducerEndpointImpl> weak_ptr_factory_; // Keep last.
214 base::WeakPtrFactory<ConsumerEndpointImpl> weak_ptr_factory_; // Keep last.
558 weak_ptr_factory_; // Keep at the end.
/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()
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()
Dbinding_state.cc12 BindingStateBase::BindingStateBase() : weak_ptr_factory_(this) {} in BindingStateBase()
65 mojo::GetBadMessageCallback(), weak_ptr_factory_.GetWeakPtr()); in GetBadMessageCallback()
/external/perfetto/src/ipc/
Dservice_proxy.cc31 : event_listener_(event_listener), weak_ptr_factory_(this) {} in ServiceProxy()
66 request, drop_reply, weak_ptr_factory_.GetWeakPtr(), in BeginInvoke()
113 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
Dhost_impl.cc56 : task_runner_(task_runner), weak_ptr_factory_(this) { in HostImpl()
63 : task_runner_(task_runner), weak_ptr_factory_(this) { in HostImpl()
186 base::WeakPtr<HostImpl> host_weak_ptr = weak_ptr_factory_.GetWeakPtr(); in OnInvokeMethod()
Dclient_impl.cc45 : task_runner_(task_runner), weak_ptr_factory_(this) { in ClientImpl()
238 service_proxy->InitializeBinding(weak_ptr_factory_.GetWeakPtr(), in OnBindServiceReply()
/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/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/libbrillo/brillo/dbus/
Dexported_property_set.cc22 : bus_(bus), weak_ptr_factory_(this) { in ExportedPropertySet()
35 weak_ptr_factory_.GetWeakPtr(), in GetPropertyWriter()
51 weak_ptr_factory_.GetWeakPtr(), in RegisterProperty()
/external/libchrome/ipc/
Dipc_channel_nacl.cc137 weak_ptr_factory_(this) { in ChannelNacl()
166 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()
Dipc_channel_nacl.h107 base::WeakPtrFactory<ChannelNacl> weak_ptr_factory_; variable
/external/perfetto/src/tracing/ipc/consumer/
Dconsumer_ipc_client_impl.cc50 weak_ptr_factory_(this) { 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()
Dconsumer_ipc_client_impl.h104 base::WeakPtrFactory<ConsumerIPCClientImpl> weak_ptr_factory_; variable
/external/v4l2_codec2/vda/
Dvp9_parser.cc236 : weak_ptr_factory_(this) {} in Vp9FrameContextManager()
250 weak_ptr_factory_.InvalidateWeakPtrs(); in Reset()
263 weak_ptr_factory_.GetWeakPtr()); in GetUpdateCb()
281 weak_ptr_factory_.InvalidateWeakPtrs(); in Update()
/external/perfetto/src/base/
Dunix_socket.cc431 weak_ptr_factory_(this) { in UnixSocket()
470 WeakPtr<UnixSocket> weak_ptr = weak_ptr_factory_.GetWeakPtr(); in UnixSocket()
517 WeakPtr<UnixSocket> weak_ptr = weak_ptr_factory_.GetWeakPtr(); in DoConnect()
635 WeakPtr<UnixSocket> weak_ptr = weak_ptr_factory_.GetWeakPtr(); in Shutdown()
692 WeakPtr<UnixSocket> weak_ptr = weak_ptr_factory_.GetWeakPtr(); in NotifyConnectionState()
/external/libchrome/base/synchronization/
Dwaitable_event_watcher.h138 WeakPtrFactory<WaitableEventWatcher> weak_ptr_factory_;
/external/perfetto/include/perfetto/ipc/
Dservice_proxy.h95 base::WeakPtrFactory<ServiceProxy> weak_ptr_factory_; // Keep last. variable

12