Lines Matching refs:HasRef
39 class HasRef : public NoRef {
41 HasRef() {}
48 DISALLOW_COPY_AND_ASSIGN(HasRef);
51 class HasRefPrivateDtor : public HasRef {
210 StrictMock<HasRef> has_ref_;
211 const HasRef* const_has_ref_ptr_;
264 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_);
265 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0,
267 Closure const_method_const_obj_cb = Bind(&HasRef::VoidConstMethod0,
300 Callback<int(void)> method_cb = Bind(&HasRef::IntMethod0, &has_ref_);
302 Bind(&HasRef::IntConstMethod0, &has_ref_);
304 Bind(&HasRef::IntConstMethod0, const_has_ref_ptr_);
439 EXPECT_TRUE(internal::SupportsAddRefAndRelease<HasRef>::value);
442 // StrictMock<T> is a derived class of T. So, we use StrictMock<HasRef> and
445 EXPECT_TRUE(internal::SupportsAddRefAndRelease<StrictMock<HasRef> >::value);
548 // Bind(&HasRef::VoidMethod0, const_has_ref_ptr_);
568 // Bind(&HasRef::VoidConstMethod0, Unretained(&has_ref_));
620 // HasRef p[10];
622 // Bind(&HasRef::VoidConstMethod0, p);
626 // HasRef for_raw_ptr;
628 // Bind(&VoidPolymorphic1<HasRef*>, &for_raw_ptr);