Home
last modified time | relevance | path

Searched refs:weak_ptr_ (Results 1 – 9 of 9) sorted by relevance

/external/cronet/base/
Dobserver_list_internal.h79 DCHECK(weak_ptr_); in MarkForRemoval()
80 weak_ptr_ = nullptr; in MarkForRemoval()
90 CHECK(!weak_ptr_.WasInvalidated()); in IsMarkedForRemoval()
91 return weak_ptr_ == nullptr; in IsMarkedForRemoval()
97 return weak_ptr_.get() == rhs; in IsEqual()
106 DCHECK(adapter.weak_ptr_); in Get()
107 return static_cast<ObserverType*>(adapter.weak_ptr_.get()); in Get()
115 WeakPtr<CheckedObserver> weak_ptr_;
Dobserver_list_internal.cc11 : weak_ptr_(observer->factory_.GetWeakPtr()) {} in CheckedObserverAdapter()
/external/perfetto/include/perfetto/ext/base/
Dweak_ptr.h82 : weak_ptr_(std::shared_ptr<T*>(new T* {owner})) { in WeakPtrFactory()
88 *(weak_ptr_.handle_.get()) = nullptr; in ~WeakPtrFactory()
94 WeakPtr<T> GetWeakPtr() const { return weak_ptr_; } in GetWeakPtr()
105 PERFETTO_DCHECK(weak_ptr_.handle_.use_count() == 1); in Reset()
107 weak_ptr_ = WeakPtr<T>(std::shared_ptr<T*>(new T* {owner})); in Reset()
114 WeakPtr<T> weak_ptr_; variable
/external/cronet/base/tracing/
Dperfetto_task_runner_unittest.cc75 weak_ptr_(weak_ptr), in PosterThread()
86 auto weak_ptr = weak_ptr_; in Run()
96 base::WeakPtr<TaskDestination> weak_ptr_; member in base::tracing::__anon125725780111::PosterThread
/external/libchrome/ipc/
Dipc_channel_mojo.cc123 weak_ptr_ = weak_factory_.GetWeakPtr(); in ChannelMojo()
198 base::Bind(&ChannelMojo::OnPipeError, weak_ptr_)); in OnPipeError()
249 base::Bind(&ChannelMojo::ForwardMessageFromThreadSafePtr, weak_ptr_), in CreateThreadSafeChannel()
251 weak_ptr_), in CreateThreadSafeChannel()
Dipc_channel_mojo.h121 base::WeakPtr<ChannelMojo> weak_ptr_; in COMPONENT_EXPORT() local
/external/cronet/ipc/
Dipc_channel_mojo.cc161 weak_ptr_ = weak_factory_.GetWeakPtr(); in ChannelMojo()
195 base::BindOnce(&ChannelMojo::FinishConnectOnIOThread, weak_ptr_)); in Connect()
237 FROM_HERE, base::BindOnce(&ChannelMojo::OnPipeError, weak_ptr_)); in OnPipeError()
291 base::BindRepeating(&ChannelMojo::ForwardMessage, weak_ptr_), in CreateThreadSafeChannel()
Dipc_channel_mojo.h118 base::WeakPtr<ChannelMojo> weak_ptr_; in COMPONENT_EXPORT() local
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc212 WeakPtr<FilePathWatcherImpl> weak_ptr_; member in base::__anon662bcc420111::FilePathWatcherImpl
346 weak_ptr_ = weak_factory_.GetWeakPtr(); in FilePathWatcherImpl()
366 weak_ptr_, fired_watch, child, created, deleted, is_dir)); in OnFilePathChanged()