Searched refs:NewCallback (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 44 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()
|
D | callback.h | 385 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
|
D | once_unittest.cc | 46 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/ |
D | diagnostic-crash.cpp | 28 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/ |
D | tsan_unittest.cpp | 393 pool.Add(NewCallback(Waker)); in Waiter() 439 pool.Add(NewCallback(Waker)); in Waiter() 521 pool.Add(NewCallback(Waker)); in Waiter() 573 pool.Add(NewCallback(Waker)); in Waiter() 1075 pool.Add(NewCallback(Waker)); in Waiter() 1108 pool.Add(NewCallback(Waker)); in Waiter() 1137 pool.Add(NewCallback(Waker)); in Waiter() 1168 pool.Add(NewCallback(Waker)); in Waiter() 1198 pool.Add(NewCallback(Waker)); in Waiter() 1302 pool.Add(NewCallback(Waker)); in Waiter() [all …]
|
D | tsan_thread_wrappers_pthread.h | 456 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
|