Lines Matching defs:HasRef
44 class HasRef : public NoRef {
46 HasRef() {}
53 DISALLOW_COPY_AND_ASSIGN(HasRef);
56 class HasRefPrivateDtor : public HasRef {
308 int FunctionWithScopedRefptrFirstParam(const scoped_refptr<HasRef>& o, int n) {
335 StrictMock<HasRef> has_ref_;
336 const HasRef* const_has_ref_ptr_;
439 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_);
440 Closure method_refptr_cb = Bind(&HasRef::VoidMethod0,
442 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0,
444 Closure const_method_const_obj_cb = Bind(&HasRef::VoidConstMethod0,
477 Callback<int()> method_cb = Bind(&HasRef::IntMethod0, &has_ref_);
479 Bind(&HasRef::IntConstMethod0, &has_ref_);
481 Bind(&HasRef::IntConstMethod0, const_has_ref_ptr_);
507 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_);
511 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_);
753 const scoped_refptr<HasRef> refptr(&has_ref_);