Home | History | Annotate | Download | only in base

Lines Matching defs:NoRef

23 class NoRef {
25 NoRef() {}
35 DISALLOW_COPY_AND_ASSIGN(NoRef);
38 class HasRef : public NoRef {
210 int FunctionWithWeakFirstParam(WeakPtr<NoRef> o, int n) {
240 StrictMock<NoRef> no_ref_;
243 const NoRef* const_no_ref_ptr_;
244 StrictMock<NoRef> static_func_mock_;
247 static StrictMock<NoRef>* static_func_mock_ptr;
253 StrictMock<NoRef>* BindTest::static_func_mock_ptr;
340 Callback<NoRef*(void)> normal_non_refcounted_cb =
341 Bind(&PolymorphicIdentity<NoRef*>, &no_ref_);
420 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
421 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
424 Bind(IgnoreResult(&NoRef::IntMethod0), weak_factory.GetWeakPtr());
428 Bind(IgnoreResult(&NoRef::IntConstMethod0), weak_factory.GetWeakPtr());
571 EXPECT_FALSE(internal::SupportsAddRefAndRelease<NoRef>::value);
574 // StrictMock<NoRef> to test that SupportsAddRefAndRelease works over
577 EXPECT_FALSE(internal::SupportsAddRefAndRelease<StrictMock<NoRef> >::value);
593 Bind(&NoRef::VoidMethod0, Unretained(&no_ref_));
597 Bind(&NoRef::VoidConstMethod0, Unretained(&no_ref_));
601 Bind(&NoRef::VoidConstMethod0, Unretained(const_no_ref_ptr_));
615 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
616 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
619 Bind(&NoRef::VoidMethod0, weak_factory.GetWeakPtr());
623 Bind(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());
627 Bind(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());