/external/chromium/base/memory/ |
H A D | scoped_callback_factory.h | 19 // 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 D | file_reader_unittest.cc | 34 FileReader::Callback* NewCallback() { function in class:__anon2183::Receiver 35 return ::NewCallback(this, &Receiver::DidReadFile); 67 new FileReader(resource, receiver.NewCallback())); 96 new FileReader(resource, receiver.NewCallback()));
|
/external/chromium_org/extensions/browser/ |
H A D | file_reader_unittest.cc | 37 FileReader::Callback NewCallback() { function in class:extensions::Receiver 69 new FileReader(resource, receiver.NewCallback())); 97 new FileReader(resource, receiver.NewCallback()));
|
/external/clang/test/Misc/ |
H A D | diagnostic-crash.cpp | 28 NewCallback(T1* obj, R(T2::* member)(P1, P2, A1), const P1& p1, const P2& p2) {} function 38 Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot initialize}}
|
/external/chromium/webkit/glue/ |
H A D | resource_fetcher_unittest.cc | 43 ResourceFetcher::Callback* NewCallback() { function in class:__anon3399::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_org/content/renderer/ |
H A D | resource_fetcher_browsertest.cc | 44 ResourceFetcher::Callback NewCallback() { function in class:content::FetcherDelegate 142 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback())); 157 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback())); 173 url, frame, WebURLRequest::TargetIsMainFrame, delegate->NewCallback())); 191 0, delegate->NewCallback())); 209 0, delegate->NewCallback()));
|
/external/chromium/base/ |
H A D | callback_old.h | 40 // 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 D | thread_wrappers.h | 185 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/chromium_org/ppapi/utility/ |
H A D | completion_callback_factory.h | 65 /// pp::CompletionCallback cc = factory_.NewCallback(&MyClass::DidOpen); 99 /// pp::CompletionCallback cc = factory_.NewCallback(&MyClass::DidOpen, 253 /// NewCallback allocates a new, single-use <code>CompletionCallback</code>. 262 CompletionCallback NewCallback(Method method) { function in class:pp::CompletionCallbackFactory 279 CompletionCallback cc = NewCallback(method); 327 /// NewCallback() allocates a new, single-use <code>CompletionCallback</code>. 340 CompletionCallback NewCallback(Method method, const A& a) { function in class:pp::CompletionCallbackFactory 361 CompletionCallback cc = NewCallback(method, a); 416 /// NewCallback() allocates a new, single-use 432 CompletionCallback NewCallback(Metho function in class:pp::CompletionCallbackFactory 540 CompletionCallback NewCallback(Method method, const A& a, const B& b, function in class:pp::CompletionCallbackFactory [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | common.h | 814 // method with a particular set of parameters, use the NewCallback() function. 823 // Closure* callback = NewCallback(&FooDone, response); 840 // Closure* callback = NewCallback(this, &Handler::FooDone, response); 846 // Currently NewCallback() supports binding zero, one, or two arguments. 848 // Callbacks created with NewCallback() automatically delete themselves when 855 // Note that NewCallback() is a bit touchy regarding argument types. Generally, 859 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string 860 // NewCallback(&Foo, string("foo")); // WORKS 864 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes. 1018 inline Closure* NewCallback(voi function in namespace:google::protobuf 1029 inline Closure* NewCallback(Class* object, void (Class::*method)()) { function in namespace:google::protobuf 1041 inline Closure* NewCallback(void (*function)(Arg1), function in namespace:google::protobuf 1055 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), function in namespace:google::protobuf 1069 inline Closure* NewCallback(void (*function)(Arg1, Arg2), function in namespace:google::protobuf 1085 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), function in namespace:google::protobuf [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
H A D | common.h | 754 // 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 D | tsan_thread_wrappers_pthread.h | 456 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));
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | heap-checker_unittest.cc | 215 inline Callback0* NewCallback(void (*function)()) { function 220 inline Callback1<P1>* NewCallback(void (*function)(P1), P1 p1) { function 225 inline Callback2<P1,P2>* NewCallback(void (*function)(P1,P2), P1 p1, P2 p2) { function 369 RunHidden(NewCallback(DoAllocHidden, size, &r)); 382 RunHidden(NewCallback(DoDeAllocHidden, ptr)); 477 RunHidden(NewCallback(MakeDeathLoop, &arr1, &arr2)); 739 RunHidden(NewCallback(DoTestSTLAlloc)); 766 RunHidden(NewCallback(DoTestSTLAllocInverse, &x)); 781 RunHidden(NewCallback(FreeTestSTLAllocInverse, &x)); 1381 RunHidden(NewCallback(MakeALea [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | heap-checker_unittest.cc | 215 inline Callback0* NewCallback(void (*function)()) { function 220 inline Callback1<P1>* NewCallback(void (*function)(P1), P1 p1) { function 225 inline Callback2<P1,P2>* NewCallback(void (*function)(P1,P2), P1 p1, P2 p2) { function 369 RunHidden(NewCallback(DoAllocHidden, size, &r)); 382 RunHidden(NewCallback(DoDeAllocHidden, ptr)); 477 RunHidden(NewCallback(MakeDeathLoop, &arr1, &arr2)); 739 RunHidden(NewCallback(DoTestSTLAlloc)); 766 RunHidden(NewCallback(DoTestSTLAllocInverse, &x)); 781 RunHidden(NewCallback(FreeTestSTLAllocInverse, &x)); 1381 RunHidden(NewCallback(MakeALea [all...] |