Home | History | Annotate | Download | only in base

Lines Matching refs:NoRef

29 class NoRef {
31 NoRef() {}
41 DISALLOW_COPY_AND_ASSIGN(NoRef);
44 class HasRef : public NoRef {
218 int FunctionWithWeakFirstParam(WeakPtr<NoRef> o, int n) {
248 StrictMock<NoRef> no_ref_;
251 const NoRef* const_no_ref_ptr_;
252 StrictMock<NoRef> static_func_mock_;
255 static StrictMock<NoRef>* static_func_mock_ptr;
261 StrictMock<NoRef>* BindTest::static_func_mock_ptr;
348 Callback<NoRef*()> normal_non_refcounted_cb =
349 Bind(&PolymorphicIdentity<NoRef*>, &no_ref_);
428 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
429 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
432 Bind(IgnoreResult(&NoRef::IntMethod0), weak_factory.GetWeakPtr());
436 Bind(IgnoreResult(&NoRef::IntConstMethod0), weak_factory.GetWeakPtr());
582 EXPECT_FALSE(internal::SupportsAddRefAndRelease<NoRef>::value);
585 // StrictMock<NoRef> to test that SupportsAddRefAndRelease works over
588 EXPECT_FALSE(internal::SupportsAddRefAndRelease<StrictMock<NoRef> >::value);
604 Bind(&NoRef::VoidMethod0, Unretained(&no_ref_));
608 Bind(&NoRef::VoidConstMethod0, Unretained(&no_ref_));
612 Bind(&NoRef::VoidConstMethod0, Unretained(const_no_ref_ptr_));
626 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
627 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
630 Bind(&NoRef::VoidMethod0, weak_factory.GetWeakPtr());
634 Bind(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());
638 Bind(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());