Searched refs:NewCallback (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 203 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()
|
D | once_unittest.cc | 130 return new TestThread(NewCallback(this, &OnceInitTest::InitOnce)); in RunInitOnceInNewThread() 133 return new TestThread(NewCallback(this, &OnceInitTest::InitRecursiveOnce)); in RunInitRecursiveOnceInNewThread()
|
D | common.h | 1005 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/ |
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 | 389 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 …]
|
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
|