Home | History | Annotate | Download | only in base

Lines Matching refs:Bind

2 //     pump.py bind.h.pump
15 // To generate bind.h from bind.h.pump, execute:
16 // /home/build/google3/third_party/gtest/scripts/pump.py bind.h.pump
18 // Bind() is an overloaded function that converts method calls into function
21 // captured by value. The return value of Bind is a stateful, nullary function
23 // Bind(); the returned functor knows nothing about the lifetime of a non
37 // cout << rtc::Bind(&Foo::Test1, &foo)() << endl;
38 // cout << rtc::Bind(&Foo::Test2, &foo)() << endl;
39 // cout << rtc::Bind(&Foo::Test3, &foo, 3)() << endl;
40 // cout << rtc::Bind(&Foo::Test4, &foo, 7, 8.5f)() << endl;
51 // invoker.AsyncInvoke(rtc::Bind(&Bar::Test, this));
57 // auto functor = rtc::Bind(&Bar::Test, bar);
74 // This is needed because the template parameters in Bind can't be resolved
76 // parameters to Bind itself: the function pointer parameters are exact
77 // matches to the function prototype, but the parameters to bind have
78 // references stripped. This trick allows the compiler to dictate the Bind
162 Bind(FP_T(method), ObjectT* object) {
172 Bind(FP_T(method), const ObjectT* object) {
182 Bind(FP_T(method), const scoped_refptr<ObjectT>& object) {
192 Bind(FP_T(function)) {
235 Bind(FP_T(method), ObjectT* object,
247 Bind(FP_T(method), const ObjectT* object,
259 Bind(FP_T(method), const scoped_refptr<ObjectT>& object,
271 Bind(FP_T(function),
323 Bind(FP_T(method), ObjectT* object,
337 Bind(FP_T(method), const ObjectT* object,
351 Bind(FP_T(method), const scoped_refptr<ObjectT>& object,
365 Bind(FP_T(function),
426 Bind(FP_T(method), ObjectT* object,
442 Bind(FP_T(method), const ObjectT* object,
458 Bind(FP_T(method), const scoped_refptr<ObjectT>& object,
474 Bind(FP_T(function),
544 Bind(FP_T(method), ObjectT* object,
562 Bind(FP_T(method), const ObjectT* object,
580 Bind(FP_T(method), const scoped_refptr<ObjectT>& object,
598 Bind(FP_T(function),
677 Bind(FP_T(method), ObjectT* object,
697 Bind(FP_T(method), const ObjectT* object,
717 Bind(FP_T(method), const scoped_refptr<ObjectT>& object,
737 Bind(FP_T(function),
825 Bind(FP_T(method), ObjectT* object,
847 Bind(FP_T(method), const ObjectT* object,
869 Bind(FP_T(method), const scoped_refptr<ObjectT>& object,
891 Bind(FP_T(function),
1001 MethodFunctor7<ObjectT, FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7> Bind(
1027 MethodFunctor7<const ObjectT, FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7> Bind(
1053 MethodFunctor7<ObjectT, FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7> Bind(
1078 Functor7<FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7> Bind(
1201 MethodFunctor8<ObjectT, FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7, P8> Bind(
1230 Bind(FP_T(method),
1257 MethodFunctor8<ObjectT, FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7, P8> Bind(
1285 Functor8<FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7, P8> Bind(
1419 Bind(FP_T(method),
1461 Bind(FP_T(method),
1492 Bind(FP_T(method),
1521 Functor9<FP_T(NONAME), R, P1, P2, P3, P4, P5, P6, P7, P8, P9> Bind(