Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc204 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.h415 inline Closure* NewCallback(void (*function)()) { in NewCallback() function
426 inline Closure* NewCallback(Class* object, void (Class::*method)()) { in NewCallback() function
438 inline Closure* NewCallback(void (*function)(Arg1), in NewCallback() function
452 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), in NewCallback() function
466 inline Closure* NewCallback(void (*function)(Arg1, Arg2), in NewCallback() function
482 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), in NewCallback() function
499 inline ResultCallback<R>* NewCallback(R (*function)()) { in NewCallback() function
511 inline ResultCallback<R>* NewCallback(R (*function)(P1), P1 p1) { in NewCallback() function
526 inline ResultCallback1<R, A1>* NewCallback(R (*function)(A1)) { in NewCallback() function
538 inline ResultCallback1<R, A1>* NewCallback(R (*function)(P1, A1), P1 p1) { 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/llvm-project/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-argument-comment.cpp30 Closure *NewCallback(void (*f)(T1, T2), T1 arg1, T2 arg2) { return nullptr; } in NewCallback() function
36 (void)NewCallback(&ffff, /*xxxx=*/11, /*yyyy=*/22); in h()