Home | History | Annotate | Download | only in base

Lines Matching refs:NoRef

33 class NoRef {
35 NoRef() = default;
48 DISALLOW_COPY_AND_ASSIGN(NoRef);
51 class HasRef : public NoRef {
308 int FunctionWithWeakFirstParam(WeakPtr<NoRef> o, int n) {
343 StrictMock<NoRef> no_ref_;
346 const NoRef* const_no_ref_ptr_;
347 StrictMock<NoRef> static_func_mock_;
350 static StrictMock<NoRef>* static_func_mock_ptr;
356 StrictMock<NoRef>* BindTest::static_func_mock_ptr;
357 StrictMock<NoRef>* g_func_mock_ptr;
468 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
469 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
472 BindRepeating(IgnoreResult(&NoRef::IntMethod0),
477 BindRepeating(IgnoreResult(&NoRef::IntConstMethod0),
504 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
505 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
508 BindOnce(IgnoreResult(&NoRef::IntMethod0),
511 BindOnce(IgnoreResult(&NoRef::IntConstMethod0),
596 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
597 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
600 BindRepeating(&NoRef::VoidMethod0, weak_factory.GetWeakPtr());
604 BindRepeating(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());
608 BindRepeating(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());
627 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
628 WeakPtrFactory<const NoRef> const_weak_factory(const_no_ref_ptr_);
631 BindOnce(&NoRef::VoidMethod0, weak_factory.GetWeakPtr());
633 BindOnce(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());
635 BindOnce(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr());
797 StrictMock<NoRef> no_ref;
798 StrictMock<NoRef> static_func_mock;
809 CallbackType<TypeParam, NoRef*()> normal_non_refcounted_cb =
810 TypeParam::Bind(&PolymorphicIdentity<NoRef*>, &no_ref);
845 StrictMock<NoRef> static_func_mock;
958 StrictMock<NoRef> no_ref;
959 const NoRef* const_no_ref_ptr = &no_ref;
964 TypeParam::Bind(&NoRef::VoidMethod0, Unretained(&no_ref)).Run();
965 TypeParam::Bind(&NoRef::VoidConstMethod0, Unretained(&no_ref)).Run();
966 TypeParam::Bind(&NoRef::VoidConstMethod0, Unretained(const_no_ref_ptr)).Run();
982 std::unique_ptr<StrictMock<NoRef>> no_ref(new StrictMock<NoRef>);
984 TypeParam::Bind(&NoRef::VoidMethod0, std::move(no_ref)).Run();
1247 EXPECT_FALSE(internal::IsCallableObject<void (NoRef::*)()>::value);
1306 WeakPtrFactory<NoRef> weak_factory(&no_ref_);
1308 BindRepeating(&NoRef::VoidMethodWithIntArg, weak_factory.GetWeakPtr());
1313 BindOnce(&NoRef::VoidMethodWithIntArg, weak_factory.GetWeakPtr());