Searched defs:NewCallback (Results 1 - 7 of 7) sorted by relevance

/external/chromium/base/memory/
H A Dscoped_callback_factory.h19 // GatherDataAsynchronously(factory_.NewCallback(&MyClass::GotData));
50 typename Callback0::Type* NewCallback( function in class:base::ScopedCallbackFactory
57 typename Callback1<Arg1>::Type* NewCallback( function in class:base::ScopedCallbackFactory
64 typename Callback2<Arg1, Arg2>::Type* NewCallback( function in class:base::ScopedCallbackFactory
71 typename Callback3<Arg1, Arg2, Arg3>::Type* NewCallback( function in class:base::ScopedCallbackFactory
79 typename Callback4<Arg1, Arg2, Arg3, Arg4>::Type* NewCallback( function in class:base::ScopedCallbackFactory
88 typename Callback5<Arg1, Arg2, Arg3, Arg4, Arg5>::Type* NewCallback( function in class:base::ScopedCallbackFactory
/external/chromium/chrome/browser/extensions/
H A Dfile_reader_unittest.cc34 FileReader::Callback* NewCallback() { function in class:__anon1296::Receiver
35 return ::NewCallback(this, &Receiver::DidReadFile);
67 new FileReader(resource, receiver.NewCallback()));
96 new FileReader(resource, receiver.NewCallback()));
/external/chromium/webkit/glue/
H A Dresource_fetcher_unittest.cc43 ResourceFetcher::Callback* NewCallback() { function in class:__anon2512::FetcherDelegate
44 return ::NewCallback(this, &FetcherDelegate::OnURLFetchComplete);
106 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback()));
120 delegate->NewCallback()));
139 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback()));
162 0, delegate->NewCallback()));
203 0, delegate->NewCallback()));
/external/chromium/base/
H A Dcallback_old.h40 // NewCallback(obj, &Object::DoStuff);
45 // NewCallback(obj, &Object::DoStuff);
129 typename Callback0::Type* NewCallback(T* object, void (T::*method)()) { function
140 typename Callback1<Arg1>::Type* NewCallback(T* object, function
152 typename Callback2<Arg1, Arg2>::Type* NewCallback( function
166 typename Callback3<Arg1, Arg2, Arg3>::Type* NewCallback( function
180 typename Callback4<Arg1, Arg2, Arg3, Arg4>::Type* NewCallback( function
196 typename Callback5<Arg1, Arg2, Arg3, Arg4, Arg5>::Type* NewCallback( function
/external/valgrind/unittest/
H A Dthread_wrappers.h185 static Closure *NewCallback(void (*f)()) { function
195 Closure *NewCallback(void (*f)(P1), P1 p1) { function
206 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) { function
222 pool.Add(NewCallback(func_with_no_args));
223 pool.Add(NewCallback(func_with_one_arg, arg));
224 pool.Add(NewCallback(func_with_two_args, arg1, arg2));
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h754 // method with a particular set of parameters, use the NewCallback() function.
763 // Closure* callback = NewCallback(&FooDone, response);
780 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
786 // Currently NewCallback() supports binding zero, one, or two arguments.
788 // Callbacks created with NewCallback() automatically delete themselves when
795 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
799 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
800 // NewCallback(&Foo, string("foo")); // WORKS
804 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
952 inline Closure* NewCallback(voi function in namespace:google::protobuf
963 inline Closure* NewCallback(Class* object, void (Class::*method)()) { function in namespace:google::protobuf
975 inline Closure* NewCallback(void (*function)(Arg1), function in namespace:google::protobuf
989 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), function in namespace:google::protobuf
1003 inline Closure* NewCallback(void (*function)(Arg1, Arg2), function in namespace:google::protobuf
1019 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), function in namespace:google::protobuf
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h456 Closure *NewCallback(void (*f)()) { function
466 Closure *NewCallback(void (*f)(P1), P1 p1) { function
477 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) { function
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));

Completed in 261 milliseconds