Home
last modified time | relevance | path

Searched refs:NewCallback (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc44 using internal::NewCallback;
204 Closure* closure = NewCallback(&SetA123Function); in TEST_F()
211 Closure* closure = NewCallback(current_instance_, in TEST_F()
219 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F()
226 Closure* closure = NewCallback(current_instance_, in TEST_F()
234 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F()
241 Closure* closure = NewCallback(current_instance_, in TEST_F()
250 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F()
260 Closure* closure = NewCallback(current_instance_, in TEST_F()
Dcallback.h385 inline Closure* NewCallback(void (*function)()) { in NewCallback() function
396 inline Closure* NewCallback(Class* object, void (Class::*method)()) { in NewCallback() function
408 inline Closure* NewCallback(void (*function)(Arg1), in NewCallback() function
422 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), in NewCallback() function
436 inline Closure* NewCallback(void (*function)(Arg1, Arg2), in NewCallback() function
452 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), in NewCallback() function
469 inline ResultCallback<R>* NewCallback(R (*function)()) { in NewCallback() function
481 inline ResultCallback<R>* NewCallback(R (*function)(P1), P1 p1) { in NewCallback() function
496 inline ResultCallback1<R, A1>* NewCallback(R (*function)(A1)) { in NewCallback() function
508 inline ResultCallback1<R, A1>* NewCallback(R (*function)(P1, A1), P1 p1) { in NewCallback() function
Donce_unittest.cc46 using internal::NewCallback;
131 return new TestThread(internal::NewCallback(this, &OnceInitTest::InitOnce)); in RunInitOnceInNewThread()
135 internal::NewCallback(this, &OnceInitTest::InitRecursiveOnce)); in RunInitRecursiveOnceInNewThread()
/external/clang/test/Misc/
Ddiagnostic-crash.cpp28 NewCallback(T1* obj, R(T2::* member)(P1, P2, A1), const P1& p1, const P2& p2) {} in NewCallback() function
38 …Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot in… in Foo()