Searched refs:weak_ptr_ (Results 1 – 9 of 9) sorted by relevance
/external/cronet/base/ |
D | observer_list_internal.h | 79 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_;
|
D | observer_list_internal.cc | 11 : weak_ptr_(observer->factory_.GetWeakPtr()) {} in CheckedObserverAdapter()
|
/external/perfetto/include/perfetto/ext/base/ |
D | weak_ptr.h | 82 : 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/ |
D | perfetto_task_runner_unittest.cc | 75 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/ |
D | ipc_channel_mojo.cc | 123 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()
|
D | ipc_channel_mojo.h | 121 base::WeakPtr<ChannelMojo> weak_ptr_; in COMPONENT_EXPORT() local
|
/external/cronet/ipc/ |
D | ipc_channel_mojo.cc | 161 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()
|
D | ipc_channel_mojo.h | 118 base::WeakPtr<ChannelMojo> weak_ptr_; in COMPONENT_EXPORT() local
|
/external/libchrome/base/files/ |
D | file_path_watcher_linux.cc | 212 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()
|