Lines Matching refs:WeakPtr

22 WeakPtr<int> PassThru(WeakPtr<int> ptr) {  in PassThru()
78 WeakPtr<Target> target;
199 WeakPtr<TargetBase> b = object->target; in DoCopyAndAssignArrowBase()
201 WeakPtr<TargetBase> c; in DoCopyAndAssignArrowBase()
217 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
224 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
225 WeakPtr<int> ptr2 = ptr; in TEST()
232 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
233 WeakPtr<int> ptr2 = factory.GetWeakPtr(); in TEST()
234 WeakPtr<int> ptr3 = std::move(ptr2); in TEST()
240 WeakPtr<int> ptr; in TEST()
251 WeakPtr<int> a, b; in TEST()
265 WeakPtr<int> a; in TEST()
271 WeakPtr<int> b = factory.GetWeakPtr(); in TEST()
282 WeakPtr<Base> ptr = factory.GetWeakPtr(); in TEST()
291 WeakPtr<Base> ptr = factory.GetWeakPtr(); in TEST()
297 WeakPtr<int> ptr = PassThru(nullptr); in TEST()
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()
333 WeakPtr<int> ptr_to_an_instance = factory.GetWeakPtr(); in TEST()
346 WeakPtr<int> null_ptr; in TEST()
364 WeakPtr<int> ptr_to_an_instance = factory.GetWeakPtr(); in TEST()
368 WeakPtr<int> null_ptr; in TEST()
376 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
386 WeakPtr<int> ptr2 = factory.GetWeakPtr(); in TEST()
398 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
409 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()
432 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST()