Home | History | Annotate | Download | only in base

Lines Matching refs:has_ref_

233     const_has_ref_ptr_ = &has_ref_;
249 StrictMock<HasRef> has_ref_;
342 EXPECT_CALL(has_ref_, AddRef()).Times(5);
343 EXPECT_CALL(has_ref_, Release()).Times(5);
344 EXPECT_CALL(has_ref_, VoidMethod0()).Times(2);
345 EXPECT_CALL(has_ref_, VoidConstMethod0()).Times(2);
353 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_);
355 make_scoped_refptr(&has_ref_));
357 &has_ref_);
383 EXPECT_CALL(has_ref_, AddRef()).Times(3);
384 EXPECT_CALL(has_ref_, Release()).Times(3);
385 EXPECT_CALL(has_ref_, IntMethod0()).WillOnce(Return(31337));
386 EXPECT_CALL(has_ref_, IntConstMethod0())
391 Callback<int()> method_cb = Bind(&HasRef::IntMethod0, &has_ref_);
393 Bind(&HasRef::IntConstMethod0, &has_ref_);
410 EXPECT_CALL(has_ref_, AddRef()).Times(2);
411 EXPECT_CALL(has_ref_, Release()).Times(2);
412 EXPECT_CALL(has_ref_, IntMethod0()).WillOnce(Return(10));
413 EXPECT_CALL(has_ref_, IntConstMethod0()).WillOnce(Return(11));
421 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_);
425 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_);
686 EXPECT_CALL(has_ref_, AddRef()).Times(2);
687 EXPECT_CALL(has_ref_, Release()).Times(2);
689 const scoped_refptr<StrictMock<HasRef> > refptr(&has_ref_);