Home
last modified time | relevance | path

Searched refs:AsWeakPtr (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/memory/
Dweak_ptr_unittest.nc24 WeakPtr<Producer> ptr = f.AsWeakPtr();
32 WeakPtr<Producer> ptr = f.AsWeakPtr();
41 WeakPtr<Producer> ptr = f.AsWeakPtr();
49 WeakPtr<Producer> ptr = f.AsWeakPtr();
66 WeakPtr<DerivedProducer> ptr = AsWeakPtr(&f);
73 WeakPtr<DerivedProducer> ptr = AsWeakPtr<DerivedProducer>(&f);
80 WeakPtr<DerivedProducer> ptr = AsWeakPtr<Producer>(&f);
87 WeakPtr<OtherDerivedProducer> ptr = AsWeakPtr(&f);
90 …FE_INSTANTIATED_HELPER_SIDECAST) // [r"fatal error: no matching function for call to 'AsWeakPtr'"]
94 WeakPtr<OtherDerivedProducer> ptr = AsWeakPtr<OtherDerivedProducer>(&f);
[all …]
Dweak_ptr_unittest.cc171 (*arrow)->target = target->AsWeakPtr(); in DoCreateArrowFromTarget()
303 WeakPtr<Target> ptr = target.AsWeakPtr(); in TEST()
309 WeakPtr<DerivedTarget> ptr = AsWeakPtr(&target); in TEST()
315 WeakPtr<DerivedTargetWithNestedBase> ptr = AsWeakPtr(&target); in TEST()
323 const WeakPtr<Target> pb = AsWeakPtr(&b); in TEST()
325 const WeakPtr<DerivedTargetMultipleInheritance> pd = AsWeakPtr(&d); in TEST()
409 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
419 arrow->target = target.AsWeakPtr(); in TEST()
432 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
446 arrow.target = target->AsWeakPtr(); in TEST()
[all …]
Dweak_ptr.h195 WeakPtr<Base> ptr = t->AsWeakPtr(); in AsWeakPtrImpl()
340 WeakPtr<T> AsWeakPtr() { in AsWeakPtr() function
371 WeakPtr<Derived> AsWeakPtr(Derived* t) { in AsWeakPtr() function
/external/libbrillo/brillo/dbus/
Ddbus_object_test_helpers.h69 response_holder.AsWeakPtr())); in CallMethod()
103 response_holder.AsWeakPtr())) in Call()
130 response_holder.AsWeakPtr()))
Ddbus_object.cc82 object_manager->AsWeakPtr(), in ExportAsync()
111 ClaimInterface(object_manager->AsWeakPtr(), in ExportAndBlock()
193 object_manager_ = object_manager->AsWeakPtr(); in DBusObject()
/external/libchrome/base/timer/
Dmock_timer_unittest.cc68 base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr()); in TEST()
/external/libchrome/base/
Dobserver_list.h114 : list_(const_cast<ObserverList*>(list)->AsWeakPtr()), in Iter()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc225 base::Bind(&TestDelegateBase::OnFileChanged, delegate->AsWeakPtr())); in SetupWatch()