Lines Matching refs:Bind
257 Callback<int(void)> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); in TEST_F()
260 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2); in TEST_F()
263 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4); in TEST_F()
266 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8); in TEST_F()
269 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16); in TEST_F()
272 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32); in TEST_F()
275 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum); in TEST_F()
281 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum); in TEST_F()
284 Callback<int(int,int,int,int,int)> c5 = Bind(c6, 32); in TEST_F()
287 Callback<int(int,int,int,int)> c4 = Bind(c5, 16); in TEST_F()
290 Callback<int(int,int,int)> c3 = Bind(c4, 8); in TEST_F()
293 Callback<int(int,int)> c2 = Bind(c3, 4); in TEST_F()
296 Callback<int(int)> c1 = Bind(c2, 2); in TEST_F()
299 Callback<int(void)> c0 = Bind(c1, 1); in TEST_F()
308 Closure cb = base::Bind(&TakesACallback, base::Bind(&PtrArgSet, &n)); in TEST_F()
339 Closure normal_cb = Bind(&VoidFunc0); in TEST_F()
341 Bind(&PolymorphicIdentity<NoRef*>, &no_ref_); in TEST_F()
345 Closure method_cb = Bind(&HasRef::VoidMethod0, &has_ref_); in TEST_F()
346 Closure method_refptr_cb = Bind(&HasRef::VoidMethod0, in TEST_F()
348 Closure const_method_nonconst_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
350 Closure const_method_const_obj_cb = Bind(&HasRef::VoidConstMethod0, in TEST_F()
359 Closure virtual_set_cb = Bind(&Parent::VirtualSet, &child); in TEST_F()
364 Closure non_virtual_set_cb = Bind(&Parent::NonVirtualSet, &child); in TEST_F()
382 Callback<int(void)> normal_cb = Bind(&IntFunc0); in TEST_F()
383 Callback<int(void)> method_cb = Bind(&HasRef::IntMethod0, &has_ref_); in TEST_F()
385 Bind(&HasRef::IntConstMethod0, &has_ref_); in TEST_F()
387 Bind(&HasRef::IntConstMethod0, const_has_ref_ptr_); in TEST_F()
409 Closure normal_func_cb = Bind(IgnoreResult(&IntFunc0)); in TEST_F()
413 Bind(IgnoreResult(&HasRef::IntMethod0), &has_ref_); in TEST_F()
417 Bind(IgnoreResult(&HasRef::IntConstMethod0), &has_ref_); in TEST_F()
424 Bind(IgnoreResult(&NoRef::IntMethod0), weak_factory.GetWeakPtr()); in TEST_F()
428 Bind(IgnoreResult(&NoRef::IntConstMethod0), weak_factory.GetWeakPtr()); in TEST_F()
450 Callback<int(void)> bind_primitive_cb = Bind(&Identity, n); in TEST_F()
454 Bind(&PolymorphicIdentity<int*>, &n); in TEST_F()
457 Callback<int(void)> bind_int_literal_cb = Bind(&Identity, 3); in TEST_F()
461 Bind(&CStringIdentity, "hi"); in TEST_F()
465 Bind(&PolymorphicIdentity<int>, 4); in TEST_F()
470 Callback<int(void)> bind_object_cb = Bind(&UnwrapNoRefParent, p); in TEST_F()
475 Bind(&PolymorphicIdentity<IncompleteType*>, incomplete_ptr); in TEST_F()
480 Callback<int(void)> bind_promotes_cb = Bind(&UnwrapNoRefParent, c); in TEST_F()
485 Bind(&UnwrapNoRefParentPtr, &c); in TEST_F()
490 Bind(&UnwrapNoRefParentConstRef, c); in TEST_F()
503 Callback<void(int)> unbound_value_cb = Bind(&VoidPolymorphic1<int>); in TEST_F()
504 Callback<void(int*)> unbound_pointer_cb = Bind(&VoidPolymorphic1<int*>); in TEST_F()
505 Callback<void(int&)> unbound_ref_cb = Bind(&VoidPolymorphic1<int&>); in TEST_F()
507 Bind(&VoidPolymorphic1<const int&>); in TEST_F()
509 Bind(&VoidPolymorphic1<int[]>); in TEST_F()
511 Bind(&VoidPolymorphic1<int[2]>); in TEST_F()
513 Bind(&VoidPolymorphic1<int[][2]>); in TEST_F()
520 Callback<void(int&)> unbound_ref_cb = Bind(&RefArgSet); in TEST_F()
533 Callback<int(void)> ref_copies_cb = Bind(&Identity, ref_n); in TEST_F()
538 Callback<int(void)> const_ref_copies_cb = Bind(&Identity, const_ref_n); in TEST_F()
551 Callback<int(void)> array_cb = Bind(&ArrayGet, array, 1); in TEST_F()
554 Callback<int(void)> const_array_cb = Bind(&ArrayGet, *const_array_ptr, 1); in TEST_F()
593 Bind(&NoRef::VoidMethod0, Unretained(&no_ref_)); in TEST_F()
597 Bind(&NoRef::VoidConstMethod0, Unretained(&no_ref_)); in TEST_F()
601 Bind(&NoRef::VoidConstMethod0, Unretained(const_no_ref_ptr_)); in TEST_F()
619 Bind(&NoRef::VoidMethod0, weak_factory.GetWeakPtr()); in TEST_F()
623 Bind(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
627 Bind(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
631 Bind(&FunctionWithWeakFirstParam, weak_factory.GetWeakPtr()); in TEST_F()
652 Callback<int(void)> copy_cb = Bind(&Identity, n); in TEST_F()
653 Callback<int(void)> const_ref_cb = Bind(&Identity, ConstRef(n)); in TEST_F()
664 Bind(&GetCopies, ConstRef(counter)); in TEST_F()
681 Bind(&FunctionWithScopedRefptrFirstParam, base::ConstRef(refptr), 1); in TEST_F()
693 Bind(&PolymorphicIdentity<DeleteCounter*>, Owned(counter)); in TEST_F()
703 Bind(&DeleteCounter::VoidMethod0, Owned(counter)); in TEST_F()
722 Bind(&PassThru<scoped_ptr<DeleteCounter> >, Passed(&ptr)); in TEST_F()
734 Bind(&PassThru<scoped_ptr<DeleteCounter> >, in TEST_F()
754 Bind(&PassThru<scoped_ptr<DeleteCounter> >); in TEST_F()
771 Bind(&VoidPolymorphic1<CopyCounter>, counter); in TEST_F()
778 Bind(&VoidPolymorphic1<CopyCounter>); in TEST_F()
787 Bind(&VoidPolymorphic1<CopyCounter>); in TEST_F()
812 Callback<int(void)> fastcall_cb = Bind(&FastCallFunc, 1); in TEST_F()
815 Callback<int(void)> stdcall_cb = Bind(&StdCallFunc, 2); in TEST_F()
826 EXPECT_DEATH(base::Bind(null_cb, 42), ""); in TEST()