Lines Matching refs:Base
308 template <typename Base,
316 // Construct RefPtr<Base> with a copy and implicit cast
327 fbl::RefPtr<Base> base_ptr(derived_ptr);
337 // Construct RefPtr<Base> with a move and implicit cast
345 fbl::RefPtr<Base> base_ptr(fbl::move(derived_ptr));
360 // Assign RefPtr<Base> at declaration time with a copy
371 fbl::RefPtr<Base> base_ptr = derived_ptr;
381 // Assign RefPtr<Base> at declaration time with a fbl::move
389 fbl::RefPtr<Base> base_ptr = fbl::move(derived_ptr);
404 // Assign RefPtr<Base> after declaration with a copy
415 fbl::RefPtr<Base> base_ptr;
426 // Assign RefPtr<Base> after declaration with a fbl::move
434 fbl::RefPtr<Base> base_ptr;
465 // RefPtr<Base> (which is where the addref happens) and then passing a
467 bool test_res = handoff_lvalue_fn<fbl::RefPtr<Base>>(derived_ptr);
479 bool test_res = handoff_copy_fn<fbl::RefPtr<Base>>(derived_ptr);
491 bool test_res = handoff_rvalue_fn<fbl::RefPtr<Base>>(fbl::move(derived_ptr));