Lines Matching refs:HasRef
44 class HasRef : public NoRef { class
46 HasRef() {} in HasRef() function in base::__anonfb311bb50111::HasRef
53 DISALLOW_COPY_AND_ASSIGN(HasRef);
56 class HasRefPrivateDtor : public HasRef {
222 int FunctionWithScopedRefptrFirstParam(const scoped_refptr<HasRef>& o, int n) { in FunctionWithScopedRefptrFirstParam()
249 StrictMock<HasRef> has_ref_;
250 const HasRef* const_has_ref_ptr_;
353 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_); in TEST_F()
354 Closure method_refptr_cb = Bind(&HasRef::VoidMethod0, in TEST_F()
356 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
358 Closure const_method_const_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
391 Callback<int()> method_cb = Bind(&HasRef::IntMethod0, &has_ref_); in TEST_F()
393 Bind(&HasRef::IntConstMethod0, &has_ref_); in TEST_F()
395 Bind(&HasRef::IntConstMethod0, const_has_ref_ptr_); in TEST_F()
421 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_); in TEST_F()
425 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_); in TEST_F()
581 EXPECT_TRUE(internal::SupportsAddRefAndRelease<HasRef>::value); in TEST_F()
587 EXPECT_TRUE(internal::SupportsAddRefAndRelease<StrictMock<HasRef> >::value); in TEST_F()
689 const scoped_refptr<StrictMock<HasRef> > refptr(&has_ref_); in TEST_F()