Lines Matching refs:Bind
28 // with the Bind() function in bind.h, they provide a type-safe method for
51 // base::Callback<int(int)> func_cb = base::Bind(&Return5);
55 // base::Closure void_func_cb = base::Bind(&PrintHi);
65 // base::Callback<int(void)> ref_cb = base::Bind(&Ref::Foo, ref.get());
68 // base::Closure void_ref_cb = base::Bind(&Ref::PrintBye, ref.get());
85 // base::Bind(&NoRef::Foo, base::Unretained(&no_ref));
89 // base::Bind(&NoRef::PrintWhy, base::Unretained(no_ref));
95 // base::Callback<int(void)> bound_copy_cb = base::Bind(&Identity, value);
97 // base::Bind(&Identity, base::ConstRef(value));
107 // The design Callback and Bind is heavily influenced by C++'s
116 // 2) The Bind() functions.
134 // To create InvokerStorageHolder<> objects, we use the Bind() functions.
146 // The Bind functions do the above using type-inference, and template
149 // By default Bind() will store copies of all bound parameters, and attempt
158 // functions respectively to modify the behavior of Bind(). The Unwrap()
209 // - Invoking the return of Bind. Bind(&foo).Run() does not work;
214 // Bind(&Foo, "test");
215 // Bind(&Bar, "test"); // This fails because ptr is not const.
255 // Note that this constructor CANNOT be explicit, and that Bind() CANNOT