HomeSort by relevance Sort by last modified time
    Searched refs:NewCallback (Results 1 - 11 of 11) sorted by null

  /external/clang/test/Misc/
diagnostic-crash.cpp 28 NewCallback(T1* obj, R(T2::* member)(P1, P2, A1), const P1& p1, const P2& p2) {}
38 Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot initialize}}
  /external/protobuf/src/google/protobuf/stubs/
common_unittest.cc 203 Closure* closure = NewCallback(&SetA123Function);
210 Closure* closure = NewCallback(current_instance_,
218 Closure* closure = NewCallback(&SetAFunction, 456);
225 Closure* closure = NewCallback(current_instance_,
233 Closure* closure = NewCallback(&SetCFunction, string("test"));
240 Closure* closure = NewCallback(current_instance_,
249 Closure* closure = NewCallback(&SetABFunction, 789, cstr);
259 Closure* closure = NewCallback(current_instance_,
once_unittest.cc 130 return new TestThread(NewCallback(this, &OnceInitTest::InitOnce));
133 return new TestThread(NewCallback(this, &OnceInitTest::InitRecursiveOnce));
common.h 801 // method with a particular set of parameters, use the NewCallback() function.
810 // Closure* callback = NewCallback(&FooDone, response);
827 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
833 // Currently NewCallback() supports binding zero, one, or two arguments.
835 // Callbacks created with NewCallback() automatically delete themselves when
842 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
846 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
847 // NewCallback(&Foo, string("foo")); // WORKS
851 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
callback.h 18 // method with a particular set of parameters, use the NewCallback() function.
27 // Closure* callback = NewCallback(&FooDone, response);
44 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
50 // Currently NewCallback() supports binding zero, one, or two arguments.
52 // Callbacks created with NewCallback() automatically delete themselves when
59 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
63 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
64 // NewCallback(&Foo, string("foo")); // WORKS
68 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
385 inline Closure* NewCallback(void (*function)())
    [all...]
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/stubs/
common.h 798 // method with a particular set of parameters, use the NewCallback() function.
807 // Closure* callback = NewCallback(&FooDone, response);
824 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
830 // Currently NewCallback() supports binding zero, one, or two arguments.
832 // Callbacks created with NewCallback() automatically delete themselves when
839 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
843 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
844 // NewCallback(&Foo, string("foo")); // WORKS
848 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
    [all...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/stubs/
common.h 798 // method with a particular set of parameters, use the NewCallback() function.
807 // Closure* callback = NewCallback(&FooDone, response);
824 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
830 // Currently NewCallback() supports binding zero, one, or two arguments.
832 // Callbacks created with NewCallback() automatically delete themselves when
839 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
843 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
844 // NewCallback(&Foo, string("foo")); // WORKS
848 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
    [all...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/stubs/
common.h 798 // method with a particular set of parameters, use the NewCallback() function.
807 // Closure* callback = NewCallback(&FooDone, response);
824 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
830 // Currently NewCallback() supports binding zero, one, or two arguments.
832 // Callbacks created with NewCallback() automatically delete themselves when
839 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
843 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
844 // NewCallback(&Foo, string("foo")); // WORKS
848 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
    [all...]
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/stubs/
common.h 798 // method with a particular set of parameters, use the NewCallback() function.
807 // Closure* callback = NewCallback(&FooDone, response);
824 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
830 // Currently NewCallback() supports binding zero, one, or two arguments.
832 // Callbacks created with NewCallback() automatically delete themselves when
839 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
843 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
844 // NewCallback(&Foo, string("foo")); // WORKS
848 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
    [all...]
  /external/valgrind/drd/tests/
tsan_thread_wrappers_pthread.h 456 Closure *NewCallback(void (*f)()) {
466 Closure *NewCallback(void (*f)(P1), P1 p1) {
477 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) {
492 pool.Add(NewCallback(func_with_no_args));
493 pool.Add(NewCallback(func_with_one_arg, arg));
494 pool.Add(NewCallback(func_with_two_args, arg1, arg2));
tsan_unittest.cpp 393 pool.Add(NewCallback(Waker));
439 pool.Add(NewCallback(Waker));
521 pool.Add(NewCallback(Waker));
573 pool.Add(NewCallback(Waker));
1075 pool.Add(NewCallback(Waker));
1108 pool.Add(NewCallback(Waker));
1137 pool.Add(NewCallback(Waker));
1168 pool.Add(NewCallback(Waker));
1198 pool.Add(NewCallback(Waker));
1302 pool.Add(NewCallback(Waker))
    [all...]

Completed in 914 milliseconds