• Home
  • Raw
  • Download

Lines Matching refs:has_ref_

232     const_has_ref_ptr_ = &has_ref_;  in BindTest()
248 StrictMock<HasRef> has_ref_; member in base::__anoncfda50f00111::BindTest
341 EXPECT_CALL(has_ref_, AddRef()).Times(5); in TEST_F()
342 EXPECT_CALL(has_ref_, Release()).Times(5); in TEST_F()
343 EXPECT_CALL(has_ref_, VoidMethod0()).Times(2); in TEST_F()
344 EXPECT_CALL(has_ref_, VoidConstMethod0()).Times(2); in TEST_F()
352 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_); in TEST_F()
354 make_scoped_refptr(&has_ref_)); in TEST_F()
356 &has_ref_); in TEST_F()
382 EXPECT_CALL(has_ref_, AddRef()).Times(3); in TEST_F()
383 EXPECT_CALL(has_ref_, Release()).Times(3); in TEST_F()
384 EXPECT_CALL(has_ref_, IntMethod0()).WillOnce(Return(31337)); in TEST_F()
385 EXPECT_CALL(has_ref_, IntConstMethod0()) in TEST_F()
390 Callback<int()> method_cb = Bind(&HasRef::IntMethod0, &has_ref_); in TEST_F()
392 Bind(&HasRef::IntConstMethod0, &has_ref_); in TEST_F()
409 EXPECT_CALL(has_ref_, AddRef()).Times(2); in TEST_F()
410 EXPECT_CALL(has_ref_, Release()).Times(2); in TEST_F()
411 EXPECT_CALL(has_ref_, IntMethod0()).WillOnce(Return(10)); in TEST_F()
412 EXPECT_CALL(has_ref_, IntConstMethod0()).WillOnce(Return(11)); in TEST_F()
420 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_); in TEST_F()
424 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_); in TEST_F()
685 EXPECT_CALL(has_ref_, AddRef()).Times(2); in TEST_F()
686 EXPECT_CALL(has_ref_, Release()).Times(2); in TEST_F()
688 const scoped_refptr<StrictMock<HasRef> > refptr(&has_ref_); in TEST_F()