• Home
  • Raw
  • Download

Lines Matching refs:NoRef

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