Home | History | Annotate | Download | only in base

Lines Matching refs:HasRef

38 class HasRef : public NoRef {
40 HasRef() {}
47 DISALLOW_COPY_AND_ASSIGN(HasRef);
50 class HasRefPrivateDtor : public HasRef {
214 int FunctionWithScopedRefptrFirstParam(const scoped_refptr<HasRef>& o, int n) {
241 StrictMock<HasRef> has_ref_;
242 const HasRef* const_has_ref_ptr_;
345 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_);
346 Closure method_refptr_cb = Bind(&HasRef::VoidMethod0,
348 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0,
350 Closure const_method_const_obj_cb = Bind(&HasRef::VoidConstMethod0,
383 Callback<int(void)> method_cb = Bind(&HasRef::IntMethod0, &has_ref_);
385 Bind(&HasRef::IntConstMethod0, &has_ref_);
387 Bind(&HasRef::IntConstMethod0, const_has_ref_ptr_);
413 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_);
417 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_);
570 EXPECT_TRUE(internal::SupportsAddRefAndRelease<HasRef>::value);
573 // StrictMock<T> is a derived class of T. So, we use StrictMock<HasRef> and
576 EXPECT_TRUE(internal::SupportsAddRefAndRelease<StrictMock<HasRef> >::value);
678 const scoped_refptr<StrictMock<HasRef> > refptr(&has_ref_);