Lines Matching refs:HasRef
43 class HasRef : public NoRef { class
45 HasRef() {} in HasRef() function in base::__anon8607446f0111::HasRef
52 DISALLOW_COPY_AND_ASSIGN(HasRef);
55 class HasRefPrivateDtor : public HasRef {
221 int FunctionWithScopedRefptrFirstParam(const scoped_refptr<HasRef>& o, int n) { in FunctionWithScopedRefptrFirstParam()
248 StrictMock<HasRef> has_ref_;
249 const HasRef* const_has_ref_ptr_;
352 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_); in TEST_F()
353 Closure method_refptr_cb = Bind(&HasRef::VoidMethod0, in TEST_F()
355 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
357 Closure const_method_const_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
390 Callback<int()> method_cb = Bind(&HasRef::IntMethod0, &has_ref_); in TEST_F()
392 Bind(&HasRef::IntConstMethod0, &has_ref_); in TEST_F()
394 Bind(&HasRef::IntConstMethod0, const_has_ref_ptr_); in TEST_F()
420 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_); in TEST_F()
424 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_); in TEST_F()
580 EXPECT_TRUE(internal::SupportsAddRefAndRelease<HasRef>::value); in TEST_F()
586 EXPECT_TRUE(internal::SupportsAddRefAndRelease<StrictMock<HasRef> >::value); in TEST_F()
688 const scoped_refptr<StrictMock<HasRef> > refptr(&has_ref_); in TEST_F()