Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc203 Closure* closure = NewCallback(&SetA123Function); in TEST_F()
210 Closure* closure = NewCallback(current_instance_, in TEST_F()
218 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F()
225 Closure* closure = NewCallback(current_instance_, in TEST_F()
233 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F()
240 Closure* closure = NewCallback(current_instance_, in TEST_F()
249 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F()
259 Closure* closure = NewCallback(current_instance_, in TEST_F()
Donce_unittest.cc130 return new TestThread(NewCallback(this, &OnceInitTest::InitOnce)); in RunInitOnceInNewThread()
133 return new TestThread(NewCallback(this, &OnceInitTest::InitRecursiveOnce)); in RunInitRecursiveOnceInNewThread()
Dcommon.h1005 inline Closure* NewCallback(void (*function)()) { in NewCallback() function
1016 inline Closure* NewCallback(Class* object, void (Class::*method)()) { in NewCallback() function
1028 inline Closure* NewCallback(void (*function)(Arg1), in NewCallback() function
1042 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), in NewCallback() function
1056 inline Closure* NewCallback(void (*function)(Arg1, Arg2), in NewCallback() function
1072 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), in NewCallback() function
/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()
/external/valgrind/drd/tests/
Dtsan_unittest.cpp389 pool.Add(NewCallback(Waker)); in Waiter()
435 pool.Add(NewCallback(Waker)); in Waiter()
517 pool.Add(NewCallback(Waker)); in Waiter()
569 pool.Add(NewCallback(Waker)); in Waiter()
1071 pool.Add(NewCallback(Waker)); in Waiter()
1104 pool.Add(NewCallback(Waker)); in Waiter()
1133 pool.Add(NewCallback(Waker)); in Waiter()
1164 pool.Add(NewCallback(Waker)); in Waiter()
1194 pool.Add(NewCallback(Waker)); in Waiter()
1298 pool.Add(NewCallback(Waker)); in Waiter()
[all …]
Dtsan_thread_wrappers_pthread.h456 Closure *NewCallback(void (*f)()) { in NewCallback() function
466 Closure *NewCallback(void (*f)(P1), P1 p1) { in NewCallback() function
477 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) { in NewCallback() function