Lines Matching refs:BindRepeating
386 RepeatingClosure cb = BindRepeating(&TakesACallback, in TEST_F()
387 BindRepeating(&PtrArgSet, &n)); in TEST_F()
402 RepeatingCallback<int(int)> c0 = BindRepeating(&Sum, 1, 2, 4, 8, 16); in TEST_F()
411 RepeatingCallback<int()> c1 = BindRepeating(c0, 11); in TEST_F()
417 EXPECT_EQ(32, BindRepeating(std::move(c0), 1).Run()); in TEST_F()
438 RepeatingCallback<int(int)> c2 = BindRepeating(&Sum, 2, 3, 5, 7, 11); in TEST_F()
457 RepeatingClosure normal_func_cb = BindRepeating(IgnoreResult(&IntFunc0)); in TEST_F()
461 BindRepeating(IgnoreResult(&HasRef::IntMethod0), &has_ref_); in TEST_F()
465 BindRepeating(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_); in TEST_F()
472 BindRepeating(IgnoreResult(&NoRef::IntMethod0), in TEST_F()
477 BindRepeating(IgnoreResult(&NoRef::IntConstMethod0), in TEST_F()
527 RepeatingCallback<int()> ref_copies_cb = BindRepeating(&Identity, ref_n); in TEST_F()
533 BindRepeating(&Identity, const_ref_n); in TEST_F()
561 RepeatingCallback<int()> array_cb = BindRepeating(&ArrayGet, array, 1); in TEST_F()
565 BindRepeating(&ArrayGet, *const_array_ptr, 1); 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()
612 BindRepeating(&FunctionWithWeakFirstParam, weak_factory.GetWeakPtr()); in TEST_F()
657 RepeatingCallback<int()> copy_cb = BindRepeating(&Identity, n); in TEST_F()
658 RepeatingCallback<int()> const_ref_cb = BindRepeating(&Identity, ConstRef(n)); in TEST_F()
671 BindRepeating(&GetCopies, ConstRef(counter)); in TEST_F()
710 BindRepeating(&PolymorphicIdentity<DeleteCounter*>, Owned(counter)); in TEST_F()
720 BindRepeating(&DeleteCounter::VoidMethod0, Owned(counter)); in TEST_F()
760 return BindRepeating(std::forward<F>(f), std::forward<Args>(args)...); in Bind()
1292 EXPECT_EQ(42, BindRepeating(EmptyFunctorConst()).Run()); in TEST_F()
1308 BindRepeating(&NoRef::VoidMethodWithIntArg, weak_factory.GetWeakPtr()); in TEST_F()
1309 RepeatingClosure cb2 = BindRepeating(cb, 8); in TEST_F()
1403 OnceClosure cb2 = BindRepeating(&VoidPolymorphic<>::Run); in TEST_F()
1406 RepeatingClosure cb3 = BindRepeating(&VoidPolymorphic<>::Run); in TEST_F()